From f36d4bd9fbe5a643bce51b9df98e9b4b1e4da0e7 Mon Sep 17 00:00:00 2001 From: Alan Lawrence Date: Fri, 5 Sep 2014 10:32:09 +0000 Subject: [PATCH] [PATCH][AArch64] One-liner: fix type of an add in SIMD registers * config/aarch64/aarch64.md (adddi3_aarch64): set type to neon_add. From-SVN: r214946 --- gcc/ChangeLog | 4 ++++ gcc/config/aarch64/aarch64.md | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 9bf532b9a9e..c1bd47f1f7e 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,7 @@ +2014-09-05 Alan Lawrence + + * config/aarch64/aarch64.md (adddi3_aarch64): set type to neon_add. + 2014-09-05 Alan Lawrence * config/aarch64/aarch64-builtins.c (aarch64_simd_expand_args): Replace diff --git a/gcc/config/aarch64/aarch64.md b/gcc/config/aarch64/aarch64.md index d9aff66fd99..6e63881f1f0 100644 --- a/gcc/config/aarch64/aarch64.md +++ b/gcc/config/aarch64/aarch64.md @@ -1238,7 +1238,7 @@ add\\t%x0, %x1, %x2 sub\\t%x0, %x1, #%n2 add\\t%d0, %d1, %d2" - [(set_attr "type" "alu_imm,alu_sreg,alu_imm,alu_sreg") + [(set_attr "type" "alu_imm,alu_sreg,alu_imm,neon_add") (set_attr "simd" "*,*,*,yes")] ) -- 2.30.2