]> oss.titaniummirror.com Git - msp430-gcc.git/blobdiff - gcc/config/cris/mulsi3.asm
Imported gcc-4.4.3
[msp430-gcc.git] / gcc / config / cris / mulsi3.asm
index 3c482e7f2a96326ba74d02efc78c8481be5297b3..69d9dedd9665c4aef56797c42a0d53df691ea7aa 100644 (file)
        .type   ___Mul,@function
 ___Mul:
 #if defined (__CRIS_arch_version) && __CRIS_arch_version >= 10
-       ret
+;; Can't have the mulu.d last on a cache-line (in the delay-slot of the
+;; "ret"), due to hardware bug.  See documentation for -mmul-bug-workaround.
+;; Not worthwhile to conditionalize here.
+       .p2alignw 2,0x050f
        mulu.d $r11,$r10
+       ret
+       nop
 #else
        move.d $r10,$r12
        move.d $r11,$r9