Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(410)

Side by Side Diff: tests_lit/assembler/arm32/vmrs.ll

Issue 1636513002: Clean up emitInst() in the integrated ARM assembler. (Closed) Base URL: https://chromium.googlesource.com/native_client/pnacl-subzero.git@master
Patch Set: Fix master merge. Created 4 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « src/IceAssemblerARM32.cpp ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 ; Test the "vmrs APSR_nzcv, FPSCR" form of the VMRS instruction. 1 ; Test the "vmrs APSR_nzcv, FPSCR" form of the VMRS instruction.
2 2
3 ; REQUIRES: allow_dump 3 ; REQUIRES: allow_dump
4 4
5 ; Compile using standalone assembler. 5 ; Compile using standalone assembler.
6 ; RUN: %p2i --filetype=asm -i %s --target=arm32 --args -Om1 \ 6 ; RUN: %p2i --filetype=asm -i %s --target=arm32 --args -Om1 \
7 ; RUN: | FileCheck %s --check-prefix=ASM 7 ; RUN: | FileCheck %s --check-prefix=ASM
8 8
9 ; Show bytes in assembled standalone code. 9 ; Show bytes in assembled standalone code.
10 ; RUN: %p2i --filetype=asm -i %s --target=arm32 --assemble --disassemble \ 10 ; RUN: %p2i --filetype=asm -i %s --target=arm32 --assemble --disassemble \
(...skipping 12 matching lines...) Expand all
23 define internal i32 @testVmrsASPR_nzcv() { 23 define internal i32 @testVmrsASPR_nzcv() {
24 ; ASM-LABEL: testVmrsASPR_nzcv: 24 ; ASM-LABEL: testVmrsASPR_nzcv:
25 ; DIS-LABEL: 00000000 <testVmrsASPR_nzcv>: 25 ; DIS-LABEL: 00000000 <testVmrsASPR_nzcv>:
26 26
27 entry: 27 entry:
28 ; ASM: .LtestVmrsASPR_nzcv$entry: 28 ; ASM: .LtestVmrsASPR_nzcv$entry:
29 29
30 %test = fcmp olt float 0.0, 0.0 30 %test = fcmp olt float 0.0, 0.0
31 31
32 ; ASM: vmrs APSR_nzcv, FPSCR 32 ; ASM: vmrs APSR_nzcv, FPSCR
33 ; DIS: 18: eef1fa10 33 ; DIS: 14: eef1fa10
34 ; IASM-NOT: vmrs 34 ; IASM-NOT: vmrs
35 35
36 %result = zext i1 %test to i32 36 %result = zext i1 %test to i32
37 ret i32 %result 37 ret i32 %result
38 } 38 }
OLDNEW
« no previous file with comments | « src/IceAssemblerARM32.cpp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698