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

Side by Side Diff: tests_lit/assembler/arm32/vldr-vector.ll

Issue 1635713002: Subzero. ARM32. Vector lowering. Add. (Closed) Base URL: https://chromium.googlesource.com/native_client/pnacl-subzero.git@master
Patch Set: Created 4 years, 10 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
OLDNEW
(Empty)
1 ; Show that we know how to translate vector load instructions.
2
3 ; REQUIRES: allow_dump
4
5 ; Compile using standalone assembler.
6 ; RUN: %p2i --filetype=asm -i %s --target=arm32 --args -O2 \
7 ; RUN: | FileCheck %s --check-prefix=ASM
8
9 ; Show bytes in assembled standalone code.
10 ; RUN: %p2i --filetype=asm -i %s --target=arm32 --assemble --disassemble \
11 ; RUN: --args -O2 \
12 ; RUN: | FileCheck %s --check-prefix=DIS
13
14 ; Compile using integrated assembler.
15 ; RUN: %p2i --filetype=iasm -i %s --target=arm32 --args -O2 \
16 ; RUN: | FileCheck %s --check-prefix=IASM
17
18 ; Show bytes in assembled integrated code.
19 ; RUN: %p2i --filetype=iasm -i %s --target=arm32 --assemble --disassemble \
20 ; RUN: --args -O2 \
21 ; RUN: | FileCheck %s --check-prefix=DIS
22
23 define internal <4 x float> @testDerefFloat4(<4 x float> *%p) {
24 ; ASM-LABEL: testDerefFloat4:
25 ; DIS-LABEL: 00000000 <testDerefFloat4>:
26 ; IASM-LABEL: testDerefFloat4:
27
28 entry:
29 %ret = load <4 x float>, <4 x float>* %p, align 4
30 ; ASM: vld1.64 q0, [r0]
31 ; DIS: 0: f4200acf
32
33 ret <4 x float> %ret
34 }
35
36 define internal <4 x i32> @testDeref4i32(<4 x i32> *%p) {
37 ; ASM-LABEL: testDeref4i32:
38 ; DIS-LABEL: 00000010 <testDeref4i32>:
39 ; IASM-LABEL: testDeref4i32:
40
41 entry:
42 %ret = load <4 x i32>, <4 x i32>* %p, align 4
43 ; ASM: vld1.64 q0, [r0]
44 ; DIS: 10: f4200acf
45
46 ret <4 x i32> %ret
47 }
OLDNEW
« tests_lit/assembler/arm32/add-vec.ll ('K') | « tests_lit/assembler/arm32/add-vec.ll ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698