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

Unified Diff: gcc/gcc/config/i386/i386.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.c ('k') | gcc/gcc/config/i386/predicates.md » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: gcc/gcc/config/i386/i386.md
diff --git a/gcc/gcc/config/i386/i386.md b/gcc/gcc/config/i386/i386.md
index 602f4b765134dde218de53aa06e56fb3dc098983..6ad93a9d3f47048b62ed17e6493d61ddfc3354c0 100644
--- a/gcc/gcc/config/i386/i386.md
+++ b/gcc/gcc/config/i386/i386.md
@@ -5967,34 +5967,34 @@
(define_insn "*lea_1"
[(set (match_operand:SI 0 "register_operand" "=r")
- (match_operand:SI 1 "lea_address_operand" "p"))]
+ (match_operand:SI 1 "lea_address_operand" "T"))]
"!TARGET_64BIT"
- "lea{l}\t{%a1, %0|%0, %a1}"
+ "lea{l}\t{%Z1, %0|%0, %Z1}"
[(set_attr "type" "lea")
(set_attr "mode" "SI")])
(define_insn "*lea_1_rex64"
[(set (match_operand:SI 0 "register_operand" "=r")
- (subreg:SI (match_operand:DI 1 "lea_address_operand" "p") 0))]
+ (subreg:SI (match_operand:DI 1 "lea_address_operand" "T") 0))]
"TARGET_64BIT"
- "lea{l}\t{%a1, %0|%0, %a1}"
+ "lea{l}\t{%Z1, %0|%0, %Z1}"
[(set_attr "type" "lea")
(set_attr "mode" "SI")])
(define_insn "*lea_1_zext"
[(set (match_operand:DI 0 "register_operand" "=r")
(zero_extend:DI
- (subreg:SI (match_operand:DI 1 "lea_address_operand" "p") 0)))]
+ (subreg:SI (match_operand:DI 1 "lea_address_operand" "T") 0)))]
"TARGET_64BIT"
- "lea{l}\t{%a1, %k0|%k0, %a1}"
+ "lea{l}\t{%Z1, %k0|%k0, %Z1}"
[(set_attr "type" "lea")
(set_attr "mode" "SI")])
(define_insn "*lea_2_rex64"
[(set (match_operand:DI 0 "register_operand" "=r")
- (match_operand:DI 1 "lea_address_operand" "p"))]
+ (match_operand:DI 1 "lea_address_operand" "T"))]
"TARGET_64BIT"
- "lea{q}\t{%a1, %0|%0, %a1}"
+ "lea{q}\t{%Z1, %0|%0, %Z1}"
[(set_attr "type" "lea")
(set_attr "mode" "DI")])
« no previous file with comments | « gcc/gcc/config/i386/i386.c ('k') | gcc/gcc/config/i386/predicates.md » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698