2015-04-30 02:48:29 +08:00
|
|
|
! RUN: llvm-mc %s -arch=sparc -show-encoding | FileCheck %s
|
|
|
|
|
|
|
|
! CHECK: mov 1033, %o1 ! encoding: [0x92,0x10,0x24,0x09]
|
|
|
|
mov (0x400|9), %o1
|
|
|
|
! CHECK: mov 60, %o2 ! encoding: [0x94,0x10,0x20,0x3c]
|
2015-10-26 11:34:29 +08:00
|
|
|
mov ((12+3)<<2), %o2
|
2015-08-18 03:55:01 +08:00
|
|
|
|
|
|
|
! "." is exactly like a temporary symbol equated to the current line.
|
|
|
|
! RUN: llvm-mc %s -arch=sparc | FileCheck %s --check-prefix=DOTEXPR
|
|
|
|
|
|
|
|
! DOTEXPR: .Ltmp0
|
|
|
|
! DOTEXPR-NEXT: ba .Ltmp0+8
|
|
|
|
b . + 8
|