Home | History | Annotate | Line # | Download | only in asm
      1 ; Checking read-after-write: write-then-nop-read 2 cycles.
      2 #mach: crisv32
      3 #output: Basic clock cycles, total @: 5\n
      4 #output: Memory source stall cycles: 0\n
      5 #output: Memory read-after-write stall cycles: 2\n
      6 #output: Movem source stall cycles: 0\n
      7 #output: Movem destination stall cycles: 0\n
      8 #output: Movem address stall cycles: 0\n
      9 #output: Multiplication source stall cycles: 0\n
     10 #output: Jump source stall cycles: 0\n
     11 #output: Branch misprediction stall cycles: 0\n
     12 #output: Jump target stall cycles: 0\n
     13 #sim: --cris-cycles=basic
     14  .include "testutils.inc"
     15  startnostack
     16  .lcomm x,4
     17  .lcomm y,4
     18  move.d x,$r0
     19  move.d y,$r1
     20  move.d $r1,[$r0]
     21  nop
     22  move.d [$r1],$r2
     23  break 15
     24