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

Side by Side Diff: tests_lit/assembler/arm32/vcvt.u32.f32.ll

Issue 1886263004: Subzero. ARM32. Implements vector select. (Closed) Base URL: https://chromium.googlesource.com/native_client/pnacl-subzero.git@master
Patch Set: Addresses comments. Created 4 years, 8 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 | « tests_lit/assembler/arm32/vcvt.s32.f32.ll ('k') | tests_lit/assembler/arm32/vec-sh-imm.ll » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 ; Show that we know how to translate converting float to unsigned integer. 1 ; Show that we know how to translate converting float to unsigned integer.
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: --reg-use=s20 | FileCheck %s --check-prefix=ASM 7 ; RUN: --reg-use=s20 | 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 38
39 define internal <4 x i32> @FloatVecToUIntVec(<4 x float> %a) { 39 define internal <4 x i32> @FloatVecToUIntVec(<4 x float> %a) {
40 ; ASM-LABEL: FloatVecToUIntVec: 40 ; ASM-LABEL: FloatVecToUIntVec:
41 ; DIS-LABEL: 00000030 <FloatVecToUIntVec>: 41 ; DIS-LABEL: 00000030 <FloatVecToUIntVec>:
42 ; IASM-LABEL: FloatVecToUIntVec: 42 ; IASM-LABEL: FloatVecToUIntVec:
43 43
44 %v = fptoui <4 x float> %a to <4 x i32> 44 %v = fptoui <4 x float> %a to <4 x i32>
45 45
46 ; ASM: vcvt.u32.f32 q0, q0 46 ; ASM: vcvt.u32.f32 q0, q0
47 ; DIS: 40: f3bb07c0 47 ; DIS: 40: f3bb07c0
48 ; IASM-NOT: vcvt.u32.f32 48 ; IASM-NOT: vcvt
49 49
50 ret <4 x i32> %v 50 ret <4 x i32> %v
51 } 51 }
OLDNEW
« no previous file with comments | « tests_lit/assembler/arm32/vcvt.s32.f32.ll ('k') | tests_lit/assembler/arm32/vec-sh-imm.ll » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698