Commit ede6c734 by Mike Stump Committed by Mike Stump

emit-rtl.c (init_emit_once): Iterate through the MODE_PARTIAL_INT modes with…

emit-rtl.c (init_emit_once): Iterate through the MODE_PARTIAL_INT modes with MIN_MODE_PARTIAL_INT and...

	* emit-rtl.c (init_emit_once): Iterate through the
	MODE_PARTIAL_INT modes with MIN_MODE_PARTIAL_INT and
	MAX_MODE_PARTIAL_INT, as GET_MODE_WIDER_MODE doesn't step through
	all the MIN_MODE_PARTIAL_INT modes anymore.

From-SVN: r188402
parent 8b007d75
2012-06-11 Mike Stump <mikestump@comcast.net>
* emit-rtl.c (init_emit_once): Iterate through the
MODE_PARTIAL_INT modes with MIN_MODE_PARTIAL_INT and
MAX_MODE_PARTIAL_INT, as GET_MODE_WIDER_MODE doesn't step through
all the MIN_MODE_PARTIAL_INT modes anymore.
2012-06-12 Maxim Kuvyrkov <maxim@codesourcery.com> 2012-06-12 Maxim Kuvyrkov <maxim@codesourcery.com>
* gcc/config/mips/mips-tables.opt (xlp): Fix merge typo. * gcc/config/mips/mips-tables.opt (xlp): Fix merge typo.
......
...@@ -5699,9 +5699,9 @@ init_emit_once (void) ...@@ -5699,9 +5699,9 @@ init_emit_once (void)
mode = GET_MODE_WIDER_MODE (mode)) mode = GET_MODE_WIDER_MODE (mode))
const_tiny_rtx[i][(int) mode] = GEN_INT (i); const_tiny_rtx[i][(int) mode] = GEN_INT (i);
for (mode = GET_CLASS_NARROWEST_MODE (MODE_PARTIAL_INT); for (mode = MIN_MODE_PARTIAL_INT;
mode != VOIDmode; mode <= MAX_MODE_PARTIAL_INT;
mode = GET_MODE_WIDER_MODE (mode)) mode = (enum machine_mode)((int)(mode) + 1))
const_tiny_rtx[i][(int) mode] = GEN_INT (i); const_tiny_rtx[i][(int) mode] = GEN_INT (i);
} }
...@@ -5712,9 +5712,9 @@ init_emit_once (void) ...@@ -5712,9 +5712,9 @@ init_emit_once (void)
mode = GET_MODE_WIDER_MODE (mode)) mode = GET_MODE_WIDER_MODE (mode))
const_tiny_rtx[3][(int) mode] = constm1_rtx; const_tiny_rtx[3][(int) mode] = constm1_rtx;
for (mode = GET_CLASS_NARROWEST_MODE (MODE_PARTIAL_INT); for (mode = MIN_MODE_PARTIAL_INT;
mode != VOIDmode; mode <= MAX_MODE_PARTIAL_INT;
mode = GET_MODE_WIDER_MODE (mode)) mode = (enum machine_mode)((int)(mode) + 1))
const_tiny_rtx[3][(int) mode] = constm1_rtx; const_tiny_rtx[3][(int) mode] = constm1_rtx;
for (mode = GET_CLASS_NARROWEST_MODE (MODE_COMPLEX_INT); for (mode = GET_CLASS_NARROWEST_MODE (MODE_COMPLEX_INT);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment