mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-11-25 20:23:11 +01:00
1c1cc1c5ed
As announced here: http://lists.llvm.org/pipermail/llvm-dev/2019-April/131786.html Grouped option syntax (POSIX Utility Conventions) does not play well with -long-option A subsequent change will reject -long-option.
20 lines
562 B
ArmAsm
20 lines
562 B
ArmAsm
; RUN: llvm-mc -triple avr -show-encoding < %s | FileCheck %s
|
|
; RUN: llvm-mc -filetype=obj -triple avr < %s | llvm-objdump -d - | FileCheck --check-prefix=CHECK-INST %s
|
|
|
|
|
|
foo:
|
|
ser r16
|
|
ser r31
|
|
ser r27
|
|
ser r31
|
|
|
|
; CHECK: ldi r16, 255 ; encoding: [0x0f,0xef]
|
|
; CHECK: ldi r31, 255 ; encoding: [0xff,0xef]
|
|
; CHECK: ldi r27, 255 ; encoding: [0xbf,0xef]
|
|
; CHECK: ldi r31, 255 ; encoding: [0xff,0xef]
|
|
|
|
; CHECK-INST: ldi r16, 255
|
|
; CHECK-INST: ldi r31, 255
|
|
; CHECK-INST: ldi r27, 255
|
|
; CHECK-INST: ldi r31, 255
|