summaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorYvan Roux <yvan.roux@linaro.org>2015-11-19 08:56:38 +0100
committerLinaro Code Review <review@review.linaro.org>2015-11-20 12:40:01 +0000
commit8a97f41c30a9e9fa985d21bef61d80c27f4c335e (patch)
tree38623317f612d4616afc0af6f07d7ed4f55fcbb3 /gcc
parent66898ccc290112964a065e525ba880f8510e1f6c (diff)
downloadgcc-8a97f41c30a9e9fa985d21bef61d80c27f4c335e.tar.gz
gcc/
Backport from trunk r229572. 2015-10-30 Evandro Menezes <e.menezes@samsung.com> * config/aarch64/aarch64.md (*movhf_aarch64): Change the type of "mov %0.h[0], %1.h[0] to "neon_move". (*movtf_aarch64): Change the type of "fmov %s0, wzr" to "f_mcr". (*cmov<mode>_insn): Change the types of "mov %<w>0, {-1,1}" to "mov_imm". (*cmovsi_insn_uxtw): Likewise. Change-Id: I0d8e93f1f298db978a1e7847e3cf94337da604b7
Diffstat (limited to 'gcc')
-rw-r--r--gcc/config/aarch64/aarch64.md8
1 files changed, 4 insertions, 4 deletions
diff --git a/gcc/config/aarch64/aarch64.md b/gcc/config/aarch64/aarch64.md
index b8253fc1252..3c2f54bf98e 100644
--- a/gcc/config/aarch64/aarch64.md
+++ b/gcc/config/aarch64/aarch64.md
@@ -1008,7 +1008,7 @@
ldrh\\t%w0, %1
strh\\t%w1, %0
mov\\t%w0, %w1"
- [(set_attr "type" "neon_from_gp,neon_to_gp,fmov,\
+ [(set_attr "type" "neon_from_gp,neon_to_gp,neon_move,\
f_loads,f_stores,load1,store1,mov_reg")
(set_attr "simd" "yes,yes,yes,*,*,*,*,*")
(set_attr "fp" "*,*,*,yes,yes,*,*,*")]
@@ -1071,7 +1071,7 @@
ldp\\t%0, %H0, %1
stp\\t%1, %H1, %0
stp\\txzr, xzr, %0"
- [(set_attr "type" "logic_reg,multiple,f_mcr,f_mrc,neon_move_q,fconstd,\
+ [(set_attr "type" "logic_reg,multiple,f_mcr,f_mrc,neon_move_q,f_mcr,\
f_loadd,f_stored,load2,store2,store2")
(set_attr "length" "4,8,8,8,4,4,4,4,4,4,4")
(set_attr "fp" "*,*,yes,yes,*,yes,yes,yes,*,*,*")
@@ -2862,7 +2862,7 @@
csinc\\t%<w>0, %<w>4, <w>zr, %M1
mov\\t%<w>0, -1
mov\\t%<w>0, 1"
- [(set_attr "type" "csel")]
+ [(set_attr "type" "csel, csel, csel, csel, csel, mov_imm, mov_imm")]
)
;; zero_extend version of above
@@ -2885,7 +2885,7 @@
csinc\\t%w0, %w4, wzr, %M1
mov\\t%w0, -1
mov\\t%w0, 1"
- [(set_attr "type" "csel")]
+ [(set_attr "type" "csel, csel, csel, csel, csel, mov_imm, mov_imm")]
)
(define_insn "*cmovdi_insn_uxtw"