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

Unified Diff: gcc/gcc/config/i386/constraints.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 | « no previous file | gcc/gcc/config/i386/i386.c » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: gcc/gcc/config/i386/constraints.md
diff --git a/gcc/gcc/config/i386/constraints.md b/gcc/gcc/config/i386/constraints.md
index 89722bb92daacb860dad18f87a81d9ef1df80abb..c95485231f0a07821772a30e2508f474a2f3827d 100644
--- a/gcc/gcc/config/i386/constraints.md
+++ b/gcc/gcc/config/i386/constraints.md
@@ -169,3 +169,7 @@
to fit that range (for immediate operands in zero-extending x86-64
instructions)."
(match_operand 0 "x86_64_zext_immediate_operand"))
+
+(define_address_constraint "T"
+ "Address operand of LEA instruction."
+ (match_operand 0 "lea_address_operand"))
« no previous file with comments | « no previous file | gcc/gcc/config/i386/i386.c » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698