summaryrefslogtreecommitdiff
path: root/gcc/config
diff options
context:
space:
mode:
authorjgreenhalgh <jgreenhalgh@138bc75d-0d04-0410-961f-82ee72b054a4>2015-12-04 20:02:56 +0000
committerjgreenhalgh <jgreenhalgh@138bc75d-0d04-0410-961f-82ee72b054a4>2015-12-04 20:02:56 +0000
commitda54329a074eb7830ec8a5e5966265bfd9912bef (patch)
tree0ac0c59087b9ab59d5606ca5a8c2f5da25468ea6 /gcc/config
parent70f9c736d08381a902319319095361fb6279ef73 (diff)
downloadgcc-da54329a074eb7830ec8a5e5966265bfd9912bef.tar.gz
[AArch64] Add register constraints to add<mode>3_pluslong
gcc/ 2015-12-04 James Greenhalgh <james.greenhalgh@arm.com> * config/aarch64/aarch64.md (add<mode>3_pluslong): Add register constraints. gcc/testsuite/ 2015-12-04 James Greenhalgh <james.greenhalgh@arm.com> * gcc.c-torture/compile/20151204.c: New. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@231304 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/config')
-rw-r--r--gcc/config/aarch64/aarch64.md6
1 files changed, 3 insertions, 3 deletions
diff --git a/gcc/config/aarch64/aarch64.md b/gcc/config/aarch64/aarch64.md
index dee757b8207..28936d0485c 100644
--- a/gcc/config/aarch64/aarch64.md
+++ b/gcc/config/aarch64/aarch64.md
@@ -1615,9 +1615,9 @@
(define_insn_and_split "*add<mode>3_pluslong"
[(set
- (match_operand:GPI 0 "register_operand" "")
- (plus:GPI (match_operand:GPI 1 "register_operand" "")
- (match_operand:GPI 2 "aarch64_pluslong_operand" "")))]
+ (match_operand:GPI 0 "register_operand" "=r")
+ (plus:GPI (match_operand:GPI 1 "register_operand" "r")
+ (match_operand:GPI 2 "aarch64_pluslong_immediate" "i")))]
"!aarch64_plus_operand (operands[2], VOIDmode)
&& !aarch64_move_imm (INTVAL (operands[2]), <MODE>mode)"
"#"