summaryrefslogtreecommitdiff
path: root/gcc/config/nios2
diff options
context:
space:
mode:
authorsandra <sandra@138bc75d-0d04-0410-961f-82ee72b054a4>2014-05-14 21:18:33 +0000
committersandra <sandra@138bc75d-0d04-0410-961f-82ee72b054a4>2014-05-14 21:18:33 +0000
commit6077c03597551d3809a6a95298ee1bb9115f8afb (patch)
treeeda330189dbb57f979637859d224dab075465461 /gcc/config/nios2
parent8e8713cd702c5299bd62ffbe3b7c4784015d7c4c (diff)
downloadgcc-6077c03597551d3809a6a95298ee1bb9115f8afb.tar.gz
2014-05-14 Sandra Loosemore <sandra@codesourcery.com>
gcc/ * config/nios2/nios2.md (nios2_cbranch): Fix paste-o in length attribute computation. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@210440 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/config/nios2')
-rw-r--r--gcc/config/nios2/nios2.md4
1 files changed, 2 insertions, 2 deletions
diff --git a/gcc/config/nios2/nios2.md b/gcc/config/nios2/nios2.md
index e3a803c59b5..4057feb7ddc 100644
--- a/gcc/config/nios2/nios2.md
+++ b/gcc/config/nios2/nios2.md
@@ -877,8 +877,8 @@
[(set_attr "type" "control")
(set (attr "length")
(if_then_else
- (and (ge (minus (match_dup 1) (pc)) (const_int -32768))
- (le (minus (match_dup 1) (pc)) (const_int 32764)))
+ (and (ge (minus (match_dup 3) (pc)) (const_int -32768))
+ (le (minus (match_dup 3) (pc)) (const_int 32764)))
(const_int 4) (const_int 8)))])
;; Floating point comparisons