aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorJeff Law <law@gcc.gnu.org>1998-12-15 13:53:34 -0700
committerJeff Law <law@gcc.gnu.org>1998-12-15 13:53:34 -0700
commitebc5a9c1d3bbe348b3e4d0858821dc8184191923 (patch)
tree6014d314f829fe9430fa646c28a537f29cac481c /gcc
parent35704c46616d00f048172abd4311521baa35044d (diff)
downloadgcc-ebc5a9c1d3bbe348b3e4d0858821dc8184191923.zip
gcc-ebc5a9c1d3bbe348b3e4d0858821dc8184191923.tar.gz
gcc-ebc5a9c1d3bbe348b3e4d0858821dc8184191923.tar.bz2
Fix dumb thinkos in last change.
From-SVN: r24334
Diffstat (limited to 'gcc')
-rw-r--r--gcc/config/mn10200/mn10200.md16
-rw-r--r--gcc/config/mn10300/mn10300.md16
2 files changed, 16 insertions, 16 deletions
diff --git a/gcc/config/mn10200/mn10200.md b/gcc/config/mn10200/mn10200.md
index 0bfdca4..2a693b4 100644
--- a/gcc/config/mn10200/mn10200.md
+++ b/gcc/config/mn10200/mn10200.md
@@ -1658,9 +1658,9 @@
rtx target, result, insns;
start_sequence ();
- target = operand_subword (operands[0], 0, 1, SFmode);
+ target = operand_subword (operands[0], 1, 1, SFmode);
result = expand_binop (HImode, and_optab,
- operand_subword_force (operands[1], 0, SFmode),
+ operand_subword_force (operands[1], 1, SFmode),
GEN_INT(0x7fff), target, 0, OPTAB_WIDEN);
if (result == 0)
@@ -1669,8 +1669,8 @@
if (result != target)
emit_move_insn (result, target);
- emit_move_insn (operand_subword (operands[0], 1, 1, SFmode),
- operand_subword_force (operands[1], 1, SFmode));
+ emit_move_insn (operand_subword (operands[0], 0, 1, SFmode),
+ operand_subword_force (operands[1], 0, SFmode));
insns = get_insns ();
end_sequence ();
@@ -1688,9 +1688,9 @@
rtx target, result, insns;
start_sequence ();
- target = operand_subword (operands[0], 0, 1, SFmode);
+ target = operand_subword (operands[0], 1, 1, SFmode);
result = expand_binop (HImode, xor_optab,
- operand_subword_force (operands[1], 0, SFmode),
+ operand_subword_force (operands[1], 1, SFmode),
GEN_INT(0x8000), target, 0, OPTAB_WIDEN);
if (result == 0)
@@ -1699,8 +1699,8 @@
if (result != target)
emit_move_insn (result, target);
- emit_move_insn (operand_subword (operands[0], 1, 1, SFmode),
- operand_subword_force (operands[1], 1, SFmode));
+ emit_move_insn (operand_subword (operands[0], 0, 1, SFmode),
+ operand_subword_force (operands[1], 0, SFmode));
insns = get_insns ();
end_sequence ();
diff --git a/gcc/config/mn10300/mn10300.md b/gcc/config/mn10300/mn10300.md
index 6650cad..d576d21 100644
--- a/gcc/config/mn10300/mn10300.md
+++ b/gcc/config/mn10300/mn10300.md
@@ -1358,9 +1358,9 @@
rtx target, result, insns;
start_sequence ();
- target = operand_subword (operands[0], 0, 1, DFmode);
+ target = operand_subword (operands[0], 1, 1, DFmode);
result = expand_binop (SImode, and_optab,
- operand_subword_force (operands[1], 0, DFmode),
+ operand_subword_force (operands[1], 1, DFmode),
GEN_INT(0x7fffffff), target, 0, OPTAB_WIDEN);
if (result == 0)
@@ -1369,8 +1369,8 @@
if (result != target)
emit_move_insn (result, target);
- emit_move_insn (operand_subword (operands[0], 1, 1, DFmode),
- operand_subword_force (operands[1], 1, DFmode));
+ emit_move_insn (operand_subword (operands[0], 0, 1, DFmode),
+ operand_subword_force (operands[1], 0, DFmode));
insns = get_insns ();
end_sequence ();
@@ -1413,9 +1413,9 @@
rtx target, result, insns;
start_sequence ();
- target = operand_subword (operands[0], 0, 1, DFmode);
+ target = operand_subword (operands[0], 1, 1, DFmode);
result = expand_binop (SImode, xor_optab,
- operand_subword_force (operands[1], 0, DFmode),
+ operand_subword_force (operands[1], 1, DFmode),
GEN_INT(0x80000000), target, 0, OPTAB_WIDEN);
if (result == 0)
@@ -1424,8 +1424,8 @@
if (result != target)
emit_move_insn (result, target);
- emit_move_insn (operand_subword (operands[0], 1, 1, DFmode),
- operand_subword_force (operands[1], 1, DFmode));
+ emit_move_insn (operand_subword (operands[0], 0, 1, DFmode),
+ operand_subword_force (operands[1], 0, DFmode));
insns = get_insns ();
end_sequence ();