• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1# RUN: llvm-mc -triple armv7 -mattr=virtualization -show-encoding %s | FileCheck %s --check-prefix=CHECK-ARM
2
3    hvc    #1
4    hvc    #7
5    hvc    #257
6    hvc    #65535
7# CHECK-ARM: [0x71,0x00,0x40,0xe1]
8# CHECK-ARM: [0x77,0x00,0x40,0xe1]
9# CHECK-ARM: [0x71,0x10,0x40,0xe1]
10# CHECK-ARM: [0x7f,0xff,0x4f,0xe1]
11
12    eret
13    ereteq
14    eretne
15    ereths
16    eretlo
17    eretmi
18    eretpl
19    eretvs
20    eretvc
21    erethi
22    eretls
23    eretge
24    eretlt
25    eretgt
26    eretle
27# CHECK-ARM: [0x6e,0x00,0x60,0xe1]
28# CHECK-ARM: [0x6e,0x00,0x60,0x01]
29# CHECK-ARM: [0x6e,0x00,0x60,0x11]
30# CHECK-ARM: [0x6e,0x00,0x60,0x21]
31# CHECK-ARM: [0x6e,0x00,0x60,0x31]
32# CHECK-ARM: [0x6e,0x00,0x60,0x41]
33# CHECK-ARM: [0x6e,0x00,0x60,0x51]
34# CHECK-ARM: [0x6e,0x00,0x60,0x61]
35# CHECK-ARM: [0x6e,0x00,0x60,0x71]
36# CHECK-ARM: [0x6e,0x00,0x60,0x81]
37# CHECK-ARM: [0x6e,0x00,0x60,0x91]
38# CHECK-ARM: [0x6e,0x00,0x60,0xa1]
39# CHECK-ARM: [0x6e,0x00,0x60,0xb1]
40# CHECK-ARM: [0x6e,0x00,0x60,0xc1]
41# CHECK-ARM: [0x6e,0x00,0x60,0xd1]
42
43