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

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

Issue 1639923002: Subzero. ARM32. Vector lowering. Subtract. (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
1 ; Show that we know how to translate vector load instructions. 1 ; Show that we know how to translate vector load instructions.
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 -O2 \ 6 ; RUN: %p2i --filetype=asm -i %s --target=arm32 --args -O2 \
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 27 matching lines...) Expand all
38 ; DIS-LABEL: 00000010 <testDeref4i32>: 38 ; DIS-LABEL: 00000010 <testDeref4i32>:
39 ; IASM-LABEL: testDeref4i32: 39 ; IASM-LABEL: testDeref4i32:
40 40
41 entry: 41 entry:
42 %ret = load <4 x i32>, <4 x i32>* %p, align 4 42 %ret = load <4 x i32>, <4 x i32>* %p, align 4
43 ; ASM: vld1.64 q0, [r0] 43 ; ASM: vld1.64 q0, [r0]
44 ; DIS: 10: f4200acf 44 ; DIS: 10: f4200acf
45 45
46 ret <4 x i32> %ret 46 ret <4 x i32> %ret
47 } 47 }
48
49 define internal <8 x i16> @testDeref8i16(<8 x i16> *%p) {
50 ; ASM-LABEL: testDeref8i16:
51 ; DIS-LABEL: 00000020 <testDeref8i16>:
52 ; IASM-LABEL: testDeref8i16:
53
54 entry:
55 %ret = load <8 x i16>, <8 x i16>* %p, align 2
56 ; ASM: vld1.64 q0, [r0]
57 ; DIS: 20: f4200acf
58
59 ret <8 x i16> %ret
60 }
61
62 define internal <16 x i8> @testDeref16i8(<16 x i8> *%p) {
63 ; ASM-LABEL: testDeref16i8:
64 ; DIS-LABEL: 00000030 <testDeref16i8>:
65 ; IASM-LABEL: testDeref16i8:
66
67 entry:
68 %ret = load <16 x i8>, <16 x i8>* %p, align 1
69 ; ASM: vld1.64 q0, [r0]
70 ; DIS: 30: f4200acf
71
72 ret <16 x i8> %ret
73 }
OLDNEW
« src/IceTargetLowering.h ('K') | « tests_lit/assembler/arm32/sub-vec.ll ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698