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

Unified Diff: gcc/gcc/config/alpha/constraints.md

Issue 3050029: [gcc] GCC 4.5.0=>4.5.1 (Closed) Base URL: ssh://git@gitrw.chromium.org:9222/nacl-toolchain.git
Patch Set: Created 10 years, 5 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.in ('k') | gcc/gcc/config/alpha/elf.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: gcc/gcc/config/alpha/constraints.md
diff --git a/gcc/gcc/config/alpha/constraints.md b/gcc/gcc/config/alpha/constraints.md
index 5e01c7646ffb81811dd86d583335262b299d5ff0..3e9a88776e08515c56a4e53aa29853ad24f05e54 100644
--- a/gcc/gcc/config/alpha/constraints.md
+++ b/gcc/gcc/config/alpha/constraints.md
@@ -42,7 +42,7 @@
(define_constraint "I"
"An unsigned 8 bit constant"
(and (match_code "const_int")
- (match_test "ival >= 0 && ival <= 255")))
+ (match_test "IN_RANGE (ival, 0, 255)")))
(define_constraint "J"
"The constant zero"
@@ -52,7 +52,7 @@
(define_constraint "K"
"Signed 16-bit integer constant"
(and (match_code "const_int")
- (match_test "ival >= -32768 && ival < 32768 ")))
+ (match_test "IN_RANGE (ival, -32768, 32767)")))
(define_constraint "L"
"A shifted signed 16-bit constant appropriate for LDAH"
@@ -68,12 +68,12 @@
(define_constraint "N"
"A complemented unsigned 8-bit constant"
(and (match_code "const_int")
- (match_test "~ival >= 0 && ~ival <= 255")))
+ (match_test "IN_RANGE (~ival, 0, 255)")))
(define_constraint "O"
"A negated unsigned 8-bit constant"
(and (match_code "const_int")
- (match_test "-ival >= 0 && -ival <= 255")))
+ (match_test "IN_RANGE (-ival, 0, 255)")))
(define_constraint "P"
"The constant 1, 2 or 3"
@@ -104,7 +104,7 @@
(define_constraint "S"
"An unsigned 6-bit constant"
(and (match_code "const_int")
- (match_test "ival >= 0 && ival <= 63")))
+ (match_test "IN_RANGE (ival, 0, 63)")))
(define_constraint "T"
"@internal A high-part symbol"
« no previous file with comments | « gcc/gcc/config.in ('k') | gcc/gcc/config/alpha/elf.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698