mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-12-11 21:45:16 +00:00
f1e18eabfb
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 llvm-svn: 217438
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
|