diff options
Diffstat (limited to 'gcc/config/i386/i386.md')
| -rw-r--r-- | gcc/config/i386/i386.md | 18 |
1 files changed, 16 insertions, 2 deletions
diff --git a/gcc/config/i386/i386.md b/gcc/config/i386/i386.md index 73a9e98..91745f1 100644 --- a/gcc/config/i386/i386.md +++ b/gcc/config/i386/i386.md @@ -1980,8 +1980,8 @@ }") (define_insn "*movxf_1" - [(set (match_operand:XF 0 "nonimmediate_operand" "=f,m,f") - (match_operand:XF 1 "general_operand" "fm,f,G"))] + [(set (match_operand:XF 0 "nonimmediate_operand" "=f,m,f,*r,o") + (match_operand:XF 1 "general_operand" "fm,f,G,*ro,*r"))] "" "* { @@ -2013,11 +2013,25 @@ return \"fld1\"; } break; + + case 3: case 4: + return \"#\"; } abort(); }" [(set_attr "type" "fmov")]) +(define_split + [(set (match_operand:XF 0 "nonimmediate_operand" "") + (match_operand:XF 1 "nonimmediate_operand" ""))] + "(REG_P (operands[0]) && ! FP_REGNO_P (REGNO (operands[0]))) + || (REG_P (operands[1]) && ! FP_REGNO_P (REGNO (operands[1])))" + [(set (match_dup 0) (match_dup 3)) + (set (match_dup 1) (match_dup 4)) + (set (match_dup 2) (match_dup 5))] + "split_xf (operands[1], &operands[3]); + split_xf (operands[0], &operands[0]);") + (define_insn "swapxf" [(set (match_operand:XF 0 "register_operand" "+f") (match_operand:XF 1 "register_operand" "+f")) |
