1// RUN: llvm-mc -triple aarch64-none-linux-gnu -show-encoding -mattr=+v8.1a < %s | FileCheck %s 2 3 4//------------------------------------------------------------------------------ 5// Load acquire / store release 6//------------------------------------------------------------------------------ 7 ldlarb w0,[x1] 8 ldlarh w0,[x1] 9 ldlar w0,[x1] 10 ldlar x0,[x1] 11// CHECK: ldlarb w0, [x1] // encoding: [0x20,0x7c,0xdf,0x08] 12// CHECK: ldlarh w0, [x1] // encoding: [0x20,0x7c,0xdf,0x48] 13// CHECK: ldlar w0, [x1] // encoding: [0x20,0x7c,0xdf,0x88] 14// CHECK: ldlar x0, [x1] // encoding: [0x20,0x7c,0xdf,0xc8] 15 stllrb w0,[x1] 16 stllrh w0,[x1] 17 stllr w0,[x1] 18 stllr x0,[x1] 19// CHECK: stllrb w0, [x1] // encoding: [0x20,0x7c,0x9f,0x08] 20// CHECK: stllrh w0, [x1] // encoding: [0x20,0x7c,0x9f,0x48] 21// CHECK: stllr w0, [x1] // encoding: [0x20,0x7c,0x9f,0x88] 22// CHECK: stllr x0, [x1] // encoding: [0x20,0x7c,0x9f,0xc8] 23 24 msr LORSA_EL1, x0 25 msr LOREA_EL1, x0 26 msr LORN_EL1, x0 27 msr LORC_EL1, x0 28 mrs x0, LORID_EL1 29// CHECK: msr LORSA_EL1, x0 // encoding: [0x00,0xa4,0x18,0xd5] 30// CHECK: msr LOREA_EL1, x0 // encoding: [0x20,0xa4,0x18,0xd5] 31// CHECK: msr LORN_EL1, x0 // encoding: [0x40,0xa4,0x18,0xd5] 32// CHECK: msr LORC_EL1, x0 // encoding: [0x60,0xa4,0x18,0xd5] 33// CHECK: mrs x0, LORID_EL1 // encoding: [0xe0,0xa4,0x38,0xd5] 34