aboutsummaryrefslogtreecommitdiff
path: root/gcc/config/epiphany/epiphany.md
diff options
context:
space:
mode:
authorJoern Rennecke <joern.rennecke@embecosm.com>2014-04-11 18:40:04 +0000
committerJoern Rennecke <amylaar@gcc.gnu.org>2014-04-11 19:40:04 +0100
commitd9bb58007e769e747896eb134370d08d8e250123 (patch)
treebd2ddc451cd395bd4cbcd63344363a4cedf06d81 /gcc/config/epiphany/epiphany.md
parentb5d0ecea7981806ffb1277f3087b242104722d36 (diff)
downloadgcc-d9bb58007e769e747896eb134370d08d8e250123.zip
gcc-d9bb58007e769e747896eb134370d08d8e250123.tar.gz
gcc-d9bb58007e769e747896eb134370d08d8e250123.tar.bz2
gcc:
* common/config/epiphany/epiphany-common.c (epiphany_option_optimization_table): Enable section anchors by default at -O1 or higher. * config/epiphany/epiphany.c (TARGET_MAX_ANCHOR_OFFSET): Define. (TARGET_MIN_ANCHOR_OFFSET): Likewise. (epiphany_rtx_costs) <SET>: For binary operators, the set as such carries no extra cost. (epiphany_legitimate_address_p): For BLKmode, apply SImode check. * config/epiphany/epiphany.h (ASM_OUTPUT_DEF): Define. * config/epiphany/predicates.md (memclob_operand): New predicate. * config/epiphany/epiphany.md (stack_adjust_add, stack_adjust_str): Use memclob_operand predicate and X constraint for operand 3. gcc/testsuite: * gcc.target/epiphany/t1068-2.c: New file. From-SVN: r209320
Diffstat (limited to 'gcc/config/epiphany/epiphany.md')
-rw-r--r--gcc/config/epiphany/epiphany.md4
1 files changed, 2 insertions, 2 deletions
diff --git a/gcc/config/epiphany/epiphany.md b/gcc/config/epiphany/epiphany.md
index 2844eee..d8d5555 100644
--- a/gcc/config/epiphany/epiphany.md
+++ b/gcc/config/epiphany/epiphany.md
@@ -2380,7 +2380,7 @@
(plus:SI (reg:SI GPR_SP) (match_operand:SI 0 "arith_operand" "rL")))
(clobber (reg:CC CC_REGNUM))
(clobber (reg:SI STATUS_REGNUM))
- (clobber (match_operand:BLK 1 "memory_operand" "=m"))]
+ (clobber (match_operand:BLK 1 "memclob_operand" "=X"))]
"reload_completed"
"add sp,sp,%0")
@@ -2396,7 +2396,7 @@
(match_operand 1 "any_gpr_operand" "r"))
(set (reg:SI GPR_SP)
(plus:SI (reg:SI GPR_SP) (match_operand:SI 2 "nonmemory_operand" "rn")))
- (clobber (match_operand:BLK 3 "memory_operand" "=m"))]
+ (clobber (match_operand:BLK 3 "memclob_operand" "=X"))]
"reload_completed"
{
return (GET_MODE_SIZE (GET_MODE (operands[0])) <= 4