aboutsummaryrefslogtreecommitdiffstats
path: root/gcc-4.9/gcc/config/i386/predicates.md
diff options
context:
space:
mode:
authorJoonas Kylmälä <joonas.kylmala@iki.fi>2018-08-27 18:09:09 (GMT)
committerJoonas Kylmälä <joonas.kylmala@iki.fi>2018-08-27 18:09:09 (GMT)
commit989f332ea4e1ac952625139fbd7c18e8a8b31c8a (patch)
tree28f03931fa1c2148a015d59d9855bf976231101a /gcc-4.9/gcc/config/i386/predicates.md
parentb0c259403b7b74b55fc93f50fd1f2fbae3510ece (diff)
parenta74813a825e49267faa0b2ba45e9cd4bd6ccf4f4 (diff)
downloadtoolchain_gcc-master.zip
toolchain_gcc-master.tar.gz
toolchain_gcc-master.tar.bz2
Merge remote-tracking branch 'aosp/master' into replicant-6.0HEADreplicant-6.0-0004-rc2replicant-6.0-0004-rc1replicant-6.0master
Diffstat (limited to 'gcc-4.9/gcc/config/i386/predicates.md')
-rw-r--r--gcc-4.9/gcc/config/i386/predicates.md6
1 files changed, 4 insertions, 2 deletions
diff --git a/gcc-4.9/gcc/config/i386/predicates.md b/gcc-4.9/gcc/config/i386/predicates.md
index 8266f3e..10afa38 100644
--- a/gcc-4.9/gcc/config/i386/predicates.md
+++ b/gcc-4.9/gcc/config/i386/predicates.md
@@ -584,7 +584,8 @@
;; Test for a valid operand for indirect branch.
(define_predicate "indirect_branch_operand"
(ior (match_operand 0 "register_operand")
- (and (not (match_test "TARGET_X32"))
+ (and (not (match_test "ix86_indirect_branch_register"))
+ (not (match_test "TARGET_X32"))
(match_operand 0 "memory_operand"))))
;; Test for a valid operand for a call instruction.
@@ -593,7 +594,8 @@
(ior (match_test "constant_call_address_operand
(op, mode == VOIDmode ? mode : Pmode)")
(match_operand 0 "call_register_no_elim_operand")
- (and (not (match_test "TARGET_X32"))
+ (and (not (match_test "ix86_indirect_branch_register"))
+ (not (match_test "TARGET_X32"))
(match_operand 0 "memory_operand"))))
;; Similarly, but for tail calls, in which we cannot allow memory references.