(bswap:SI (match_operand:SI 1 "nonimmediate_operand")))]
""
{
- if (TARGET_MOVBE)
- ;
- else if (TARGET_BSWAP)
- operands[1] = force_reg (SImode, operands[1]);
- else
+ if (!TARGET_MOVBE)
{
- rtx x = gen_reg_rtx (SImode);
+ operands[1] = force_reg (SImode, operands[1]);
- emit_insn (gen_bswaphisi2_lowpart (x, operands[1]));
- emit_insn (gen_rotlsi3 (x, x, GEN_INT (16)));
- emit_insn (gen_bswaphisi2_lowpart (operands[0], x));
- DONE;
+ if (!TARGET_BSWAP)
+ {
+ rtx x = gen_reg_rtx (SImode);
+
+ emit_insn (gen_bswaphisi2_lowpart (x, operands[1]));
+ emit_insn (gen_rotlsi3 (x, x, GEN_INT (16)));
+ emit_insn (gen_bswaphisi2_lowpart (operands[0], x));
+ DONE;
+ }
}
})