mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-12-15 20:29:48 +00:00
4378ff024d
Summary: This directive is used to tell the assembler to reject DSP-specific instructions. Reviewers: dsanders Reviewed By: dsanders Differential Revision: http://reviews.llvm.org/D5142 git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@217946 91177308-0d34-0410-b5e6-96231b3b80d8
13 lines
356 B
ArmAsm
13 lines
356 B
ArmAsm
# RUN: not llvm-mc %s -mcpu=mips32 -mattr=+dsp -triple mips-unknown-linux 2>%t1
|
|
# RUN: FileCheck %s < %t1
|
|
|
|
lbux $7, $10($11)
|
|
|
|
.set nodsp
|
|
lbux $6, $10($11)
|
|
# CHECK: error: instruction requires a CPU feature not currently enabled
|
|
|
|
.set dsp
|
|
lbux $5, $10($11)
|
|
# CHECK-NOT: error: instruction requires a CPU feature not currently enabled
|