* (gen_shl_and, in case 1): Fix comparison with mask.
From-SVN: r19400
This commit is contained in:
parent
2fe8c4d9b7
commit
7174c937fb
@ -1,3 +1,7 @@
|
||||
Fri Apr 24 16:45:03 1998 J"orn Rennecke <amylaar@cygnus.co.uk>
|
||||
|
||||
* (gen_shl_and, in case 1): Fix comparison with mask.
|
||||
|
||||
Fri Apr 24 06:46:40 1998 Nick Clifton <nickc@cygnus.com>
|
||||
|
||||
* config/arm/thumb.h (GO_IF_LEGITIMATE_ADDRESS): Disallow frame
|
||||
|
@ -1292,7 +1292,7 @@ gen_shl_and (dest, left_rtx, mask_rtx, source)
|
||||
|
||||
if (first < 0)
|
||||
{
|
||||
emit_insn ((mask << right) == 0xff
|
||||
emit_insn ((mask << right) <= 0xff
|
||||
? gen_zero_extendqisi2(dest,
|
||||
gen_lowpart (QImode, source))
|
||||
: gen_zero_extendhisi2(dest,
|
||||
@ -1315,7 +1315,7 @@ gen_shl_and (dest, left_rtx, mask_rtx, source)
|
||||
mask <<= first;
|
||||
}
|
||||
if (first >= 0)
|
||||
emit_insn (mask == 0xff
|
||||
emit_insn (mask <= 0xff
|
||||
? gen_zero_extendqisi2(dest, gen_lowpart (QImode, dest))
|
||||
: gen_zero_extendhisi2(dest, gen_lowpart (HImode, dest)));
|
||||
if (total_shift > 0)
|
||||
|
Loading…
x
Reference in New Issue
Block a user