2016-07-12 01:58:16 +08:00
|
|
|
! RUN: llvm-mc -triple lanai-unknown-unknown -show-encoding -o - < %s | FileCheck %s
|
2016-04-01 01:58:55 +08:00
|
|
|
|
2016-07-12 01:58:16 +08:00
|
|
|
! CHECK: bt .Ltmp0 ! encoding: [0b1110000A,A,A,A]
|
|
|
|
! CHECK-NEXT: ! fixup A - offset: 0, value: .Ltmp0, kind: FIXUP_LANAI_25
|
2016-04-01 01:58:55 +08:00
|
|
|
bt 1f
|
|
|
|
nop
|
|
|
|
1:
|
|
|
|
|
2016-07-12 01:58:16 +08:00
|
|
|
! CHECK: bt foo ! encoding: [0b1110000A,A,A,A]
|
|
|
|
! CHECK-NEXT: ! fixup A - offset: 0, value: foo, kind: FIXUP_LANAI_25
|
2016-04-01 01:58:55 +08:00
|
|
|
bt foo
|
|
|
|
nop
|
|
|
|
|