cachepc-qemu

Fork of AMDESE/qemu with changes for cachepc side-channel attack
git clone https://git.sinitax.com/sinitax/cachepc-qemu
Log | Files | Refs | Submodules | LICENSE | sfeed.txt

check_not.s (454B)


      1# mach: crisv0 crisv3 crisv8 crisv10 crisv32
      2# output: fffffffe\nfffffffd\nffff0f00\n0\n87ecbbad\n
      3
      4 .include "testutils.inc"
      5 start
      6 moveq 1,r3
      7 not r3
      8 test_move_cc 1 0 0 0
      9 checkr3 fffffffe
     10
     11 moveq 2,r3
     12 not r3
     13 test_move_cc 1 0 0 0
     14 checkr3 fffffffd
     15
     16 move.d 0xf0ff,r3
     17 not r3
     18 test_move_cc 1 0 0 0
     19 checkr3 ffff0f00
     20
     21 moveq -1,r3
     22 not r3
     23 test_move_cc 0 1 0 0
     24 checkr3 0
     25
     26 move.d 0x78134452,r3
     27 not r3
     28 test_move_cc 1 0 0 0
     29 checkr3 87ecbbad
     30
     31 quit