[SH][committed] Don't emit tstsi_t insn with const_int as first operand
Oleg Endo
oleg.endo@t-online.de
Thu Jan 8 11:48:00 GMT 2015
Hi,
While doing some other work on the tst insns, I ran into the issue that
in sh-mem.cc the tstsi_t insn is emitted with the const_int operand
being the first operand. Normally reload fixes this afterwards, but
let's not stress that.
Tested with make -k check RUNTESTFLAGS="--target_board=sh-sim
\{-m2/-ml,-m2/-mb,-m2a/-mb,-m4/-ml,-m4/-mb,-m4a/-ml,-m4a/-mb}"
and no new failures. Committed as r219342.
Cheers,
Oleg
gcc/ChangeLog:
* config/sh/sh-mem.cc: Use constant as second operand when emitting
tstsi_t insns.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: sh_cmpstr_tstsi_canonicalize.patch
Type: text/x-patch
Size: 1432 bytes
Desc: not available
URL: <http://gcc.gnu.org/pipermail/gcc-patches/attachments/20150108/38c72f9d/attachment.bin>
More information about the Gcc-patches
mailing list