h8300.c (output_logical_op): Use extu.w in more cases.
* config/h8300/h8300.c (output_logical_op): Use extu.w in more cases. (compute_logical_op_length): Update to reflect the change in output_logical_op. (compute_logical_op_cc): Likewise. From-SVN: r60649
This commit is contained in:
parent
b351c1d905
commit
2d75548f61
@ -1,3 +1,11 @@
|
||||
2002-12-30 Kazu Hirata <kazu@cs.umass.edu>
|
||||
|
||||
* config/h8300/h8300.c (output_logical_op): Use extu.w in more
|
||||
cases.
|
||||
(compute_logical_op_length): Update to reflect the change in
|
||||
output_logical_op.
|
||||
(compute_logical_op_cc): Likewise.
|
||||
|
||||
2002-12-30 Joseph S. Myers <jsm@polyomino.org.uk>
|
||||
|
||||
* doc/service.texi: Uncomment and update FAQ link.
|
||||
|
@ -2152,8 +2152,10 @@ output_logical_op (mode, operands)
|
||||
&& ((det & 0xffff0000) != 0)
|
||||
&& (code == IOR || det != 0xffffff00)
|
||||
&& (code == IOR || det != 0xffff00ff)
|
||||
&& (code != AND || det != 0xff00ff00)
|
||||
&& (code != AND || det != 0xff0000ff))
|
||||
&& !(code == AND
|
||||
&& (det == 0xff00ffff
|
||||
|| (det & 0xffff00ff) == 0xff000000
|
||||
|| (det & 0xffffff00) == 0xff000000)))
|
||||
{
|
||||
sprintf (insn_buf, "%s.l\t%%S2,%%S0", opname);
|
||||
output_asm_insn (insn_buf, operands);
|
||||
@ -2285,8 +2287,10 @@ compute_logical_op_length (mode, operands)
|
||||
&& ((det & 0xffff0000) != 0)
|
||||
&& (code == IOR || det != 0xffffff00)
|
||||
&& (code == IOR || det != 0xffff00ff)
|
||||
&& (code != AND || det != 0xff00ff00)
|
||||
&& (code != AND || det != 0xff0000ff))
|
||||
&& !(code == AND
|
||||
&& (det == 0xff00ffff
|
||||
|| (det & 0xffff00ff) == 0xff000000
|
||||
|| (det & 0xffffff00) == 0xff000000)))
|
||||
{
|
||||
if (REG_P (operands[2]))
|
||||
length += 4;
|
||||
@ -2392,8 +2396,10 @@ compute_logical_op_cc (mode, operands)
|
||||
&& ((det & 0xffff0000) != 0)
|
||||
&& (code == IOR || det != 0xffffff00)
|
||||
&& (code == IOR || det != 0xffff00ff)
|
||||
&& (code != AND || det != 0xff00ff00)
|
||||
&& (code != AND || det != 0xff0000ff))
|
||||
&& !(code == AND
|
||||
&& (det == 0xff00ffff
|
||||
|| (det & 0xffff00ff) == 0xff000000
|
||||
|| (det & 0xffffff00) == 0xff000000)))
|
||||
{
|
||||
cc = CC_SET_ZNV;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user