Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(78)

Unified Diff: gcc/gcc/config/i386/predicates.md

Issue 2873014: [gcc] Use new constraint for LEA address operands. (Closed) Base URL: ssh://git@chromiumos-git/nacl-toolchain.git
Patch Set: Fixes for code review. Created 10 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « gcc/gcc/config/i386/i386.md ('k') | gcc/gcc/gensupport.c » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: gcc/gcc/config/i386/predicates.md
diff --git a/gcc/gcc/config/i386/predicates.md b/gcc/gcc/config/i386/predicates.md
index 70381511bfa272038a6b20e0aa24319a95c5139b..0af4c13a91cb858291d0bfc9e03e40bcc820ab10 100644
--- a/gcc/gcc/config/i386/predicates.md
+++ b/gcc/gcc/config/i386/predicates.md
@@ -809,17 +809,7 @@
;; Return true if op if a valid address, and does not contain
;; a segment override.
(define_special_predicate "lea_address_operand"
- (match_operand 0 "lea_match_address_operand")
-{
- struct ix86_address parts;
- int ok;
-
- NACL_LEA_MATCH_ADDRESS_OPERAND++;
- ok = ix86_decompose_address (op, &parts);
- gcc_assert (ok);
- NACL_LEA_MATCH_ADDRESS_OPERAND--;
- return parts.seg == SEG_DEFAULT;
-})
+ (match_test "lea_match_address_operand (op, mode)"))
;; Return nonzero if the rtx is known to be at least 32 bits aligned.
(define_predicate "aligned_operand"
« no previous file with comments | « gcc/gcc/config/i386/i386.md ('k') | gcc/gcc/gensupport.c » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698