]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
nios2.md (nios2_cbranch): Fix paste-o in length attribute computation.
authorSandra Loosemore <sandra@codesourcery.com>
Wed, 14 May 2014 21:18:33 +0000 (17:18 -0400)
committerSandra Loosemore <sandra@gcc.gnu.org>
Wed, 14 May 2014 21:18:33 +0000 (17:18 -0400)
2014-05-14  Sandra Loosemore  <sandra@codesourcery.com>

gcc/
* config/nios2/nios2.md (nios2_cbranch): Fix paste-o in
length attribute computation.

From-SVN: r210440

gcc/ChangeLog
gcc/config/nios2/nios2.md

index 10774c72a3b00cae3bdb370570b601c13d3ea689..c7fbc1a1ef11c0f60ac171fb05b729b4fe4937d0 100644 (file)
@@ -1,3 +1,8 @@
+2014-05-14  Sandra Loosemore  <sandra@codesourcery.com>
+
+       * config/nios2/nios2.md (nios2_cbranch): Fix paste-o in
+       length attribute computation.
+
 2014-05-14  Richard Sandiford  <rdsandiford@googlemail.com>
 
        PR debug/61188
index e3a803c59b56d7c43a0bdf331cbdf5a83681cd7d..4057feb7ddcfa12598e6a1d5b366b5c7302df25d 100644 (file)
   [(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