mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-12-21 00:32:23 +00:00
b3fa7e412b
Summary: This directive is used to reset the assembler options to their initial values. Assembly programmers use it in conjunction with the ".set mipsX" directives. This patch depends on the .set push/pop directive (http://reviews.llvm.org/D4821). Contains work done by Matheus Almeida. Reviewers: dsanders Reviewed By: dsanders Differential Revision: http://reviews.llvm.org/D4957 git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@217438 91177308-0d34-0410-b5e6-96231b3b80d8
28 lines
485 B
ArmAsm
28 lines
485 B
ArmAsm
# RUN: llvm-mc %s -triple=mipsel-unknown-linux -mcpu=mips32r2 | \
|
|
# RUN: FileCheck %s
|
|
|
|
.text
|
|
rotr $7, $7, 22
|
|
|
|
.set mips32r6
|
|
mod $2, $4, $6
|
|
.set mips0
|
|
rotr $2, $2, 15
|
|
|
|
.set mips3
|
|
dadd $4, $4, $4
|
|
.set mips0
|
|
rotr $3, $3, 19
|
|
|
|
# CHECK: rotr $7, $7, 22
|
|
|
|
# CHECK: .set mips32r6
|
|
# CHECK: mod $2, $4, $6
|
|
# CHECK: .set mips0
|
|
# CHECK: rotr $2, $2, 15
|
|
|
|
# CHECK: .set mips3
|
|
# CHECK: dadd $4, $4, $4
|
|
# CHECK: .set mips0
|
|
# CHECK: rotr $3, $3, 19
|