OLD | NEW |
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 Loading... |
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 } |
OLD | NEW |