mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-12-26 05:32:25 +00:00
f2a1c83c86
The encoding of NOP in ARMAsmBackend.cpp is missing a trailing zero, which causes the emission of a coprocessor instruction rather than "mov r0, r0" as indicated in the comment. The test also checks for the wrong encoding. http://lists.cs.uiuc.edu/pipermail/llvm-commits/Week-of-Mon-20121203/157919.html git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@169420 91177308-0d34-0410-b5e6-96231b3b80d8
11 lines
293 B
ArmAsm
11 lines
293 B
ArmAsm
@ RUN: llvm-mc -triple armv4-apple-darwin %s -filetype=obj -o %t.obj
|
|
@ RUN: macho-dump --dump-section-data < %t.obj > %t.dump
|
|
@ RUN: FileCheck %s < %t.dump
|
|
|
|
x:
|
|
add r0, r1, r2
|
|
.align 4
|
|
add r0, r1, r2
|
|
|
|
@ CHECK: ('_section_data', '020081e0 0000a0e1 0000a0e1 0000a0e1 020081e0')
|