qemu/tests/tcg/lm32/test_cmpgeui.S
<<
>>
Prefs
   1.include "macros.inc"
   2
   3start
   4
   5test_name CMPGEUI_1
   6mvi r1, 0
   7cmpgeui r3, r1, 0
   8check_r3 1
   9
  10test_name CMPGEUI_2
  11mvi r1, 0
  12cmpgeui r3, r1, 1
  13check_r3 0
  14
  15test_name CMPGEUI_3
  16mvi r1, 1
  17cmpgeui r3, r1, 0
  18check_r3 1
  19
  20test_name CMPGEUI_4
  21mvi r1, 1
  22cmpgeui r3, r1, 1
  23check_r3 1
  24
  25test_name CMPGEUI_5
  26mvi r1, 0
  27cmpgeui r3, r1, 0xffff
  28check_r3 0
  29
  30test_name CMPGEUI_6
  31mvi r1, -1
  32cmpgeui r3, r1, 0
  33check_r3 1
  34
  35test_name CMPGEUI_7
  36mvi r1, -1
  37cmpgeui r3, r1, 0xffff
  38check_r3 1
  39
  40test_name CMPGEUI_8
  41mvi r3, 0
  42cmpgeui r3, r3, 1
  43check_r3 0
  44
  45test_name CMPGEUI_9
  46mvi r3, 1
  47cmpgeui r3, r3, 0
  48check_r3 1
  49
  50test_name CMPGEUI_10
  51mvi r3, 0
  52cmpgeui r3, r3, 0
  53check_r3 1
  54
  55end
  56