• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1# Tests for transaction memory extension instructions
2# RUN:     llvm-mc -triple=aarch64 -mattr=+tme   -disassemble < %s      | FileCheck %s
3# RUN: not llvm-mc -triple=aarch64 -mattr=-tme   -disassemble < %s 2>&1 | FileCheck %s --check-prefix=NOTME
4
5[0x63,0x30,0x23,0xd5]
6[0x64,0x31,0x23,0xd5]
7[0x7f,0x30,0x03,0xd5]
8[0x80,0x46,0x62,0xd4]
9
10# CHECK: tstart x3
11# CHECK: ttest  x4
12# CHECK: tcommit
13# CHECK: tcancel #0x1234
14
15# NOTEME: mrs
16# NOTEME-NEXT: mrs
17# NOTEME-NEXT: msr
18# NOTME:      warning: invalid instruction encoding
19# NOTME-NEXT: [0x80,0x46,0x62,0xd4]
20