1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-10-21 03:53:04 +02:00
llvm-mirror/test/MC/AVR/inst-clr.s
Dylan McKay eebdc67e4c [AVR] Use the short form of 'clr <reg>'
r318895 made it so that the simpler instruction aliases are printed
rather than their expanded form.

llvm-svn: 318954
2017-11-24 15:36:43 +00:00

16 lines
337 B
ArmAsm

; RUN: llvm-mc -triple avr -show-encoding < %s | FileCheck %s
foo:
clr r2
clr r12
clr r5
clr r0
; CHECK: clr r2 ; encoding: [0x22,0x24]
; CHECK: clr r12 ; encoding: [0xcc,0x24]
; CHECK: clr r5 ; encoding: [0x55,0x24]
; CHECK: clr r0 ; encoding: [0x00,0x24]