OLD | NEW |
1 ; Show that we know how to translate converting unsigned integer to float. | 1 ; Show that we know how to translate converting unsigned integer to float. |
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 28 matching lines...) Expand all Loading... |
39 | 39 |
40 define internal <4 x float> @UIntVecToFloatVec(<4 x i32> %a) { | 40 define internal <4 x float> @UIntVecToFloatVec(<4 x i32> %a) { |
41 ; ASM-LABEL: UIntVecToFloatVec: | 41 ; ASM-LABEL: UIntVecToFloatVec: |
42 ; DIS-LABEL: 00000030 <UIntVecToFloatVec>: | 42 ; DIS-LABEL: 00000030 <UIntVecToFloatVec>: |
43 ; IASM-LABEL: UIntVecToFloatVec: | 43 ; IASM-LABEL: UIntVecToFloatVec: |
44 | 44 |
45 %v = uitofp <4 x i32> %a to <4 x float> | 45 %v = uitofp <4 x i32> %a to <4 x float> |
46 | 46 |
47 ; ASM: vcvt.f32.u32 q0, q0 | 47 ; ASM: vcvt.f32.u32 q0, q0 |
48 ; DIS: 40: f3bb06c0 | 48 ; DIS: 40: f3bb06c0 |
49 ; IASM-NOT: vcvt.f32.u32 | 49 ; IASM-NOT: vcvt |
50 | 50 |
51 ret <4 x float> %v | 51 ret <4 x float> %v |
52 } | 52 } |
OLD | NEW |