Commit da65928c by Ian Bolton Committed by Ian Bolton

AArch64 fix for LDR/STR from/to S and D regs

From-SVN: r198527
parent add3c965
2013-05-02 Ian Bolton <ian.bolton@arm.com>
* config/aarch64/aarch64.md (movsi_aarch64): Only allow to/from
S reg when fp attribute set.
(movdi_aarch64): Only allow to/from D reg when fp attribute set.
2013-05-02 Ian Bolton <ian.bolton@arm.com>
* config/aarch64/aarch64.md (*and_one_cmpl<mode>3_compare0):
New pattern.
(*and_one_cmplsi3_compare0_uxtw): Likewise.
......
......@@ -825,7 +825,7 @@
fmov\\t%s0, %s1"
[(set_attr "v8type" "move,alu,load1,load1,store1,store1,fmov,fmov,fmov")
(set_attr "mode" "SI")
(set_attr "fp" "*,*,*,*,*,*,yes,yes,yes")]
(set_attr "fp" "*,*,*,yes,*,yes,yes,yes,yes")]
)
(define_insn "*movdi_aarch64"
......@@ -850,7 +850,7 @@
movi\\t%d0, %1"
[(set_attr "v8type" "move,move,move,alu,load1,load1,store1,store1,adr,adr,fmov,fmov,fmov,fmov")
(set_attr "mode" "DI")
(set_attr "fp" "*,*,*,*,*,*,*,*,*,*,yes,yes,yes,yes")]
(set_attr "fp" "*,*,*,*,*,yes,*,yes,*,*,yes,yes,yes,yes")]
)
(define_insn "insv_imm<mode>"
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment