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)
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 ();
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)
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 ();
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)
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 ();
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)
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 ();