From ebc5a9c1d3bbe348b3e4d0858821dc8184191923 Mon Sep 17 00:00:00 2001 From: Jeff Law Date: Tue, 15 Dec 1998 13:53:34 -0700 Subject: [PATCH] Fix dumb thinkos in last change. From-SVN: r24334 --- gcc/config/mn10200/mn10200.md | 16 ++++++++-------- gcc/config/mn10300/mn10300.md | 16 ++++++++-------- 2 files changed, 16 insertions(+), 16 deletions(-) diff --git a/gcc/config/mn10200/mn10200.md b/gcc/config/mn10200/mn10200.md index 0bfdca43e82..2a693b4dbda 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 6650cadde36..d576d212530 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 ();