| OLD | NEW |
| (Empty) | |
| 1 ; Show that we know how to translate veor. Does this by noting that |
| 2 ; loading a double 0.0 introduces a veor. |
| 3 |
| 4 ; REQUIRES: allow_dump |
| 5 |
| 6 ; Compile using standalone assembler. |
| 7 ; RUN: %p2i --filetype=asm -i %s --target=arm32 --args -Om1 \ |
| 8 ; RUN: | FileCheck %s --check-prefix=ASM |
| 9 |
| 10 ; Show bytes in assembled standalone code. |
| 11 ; RUN: %p2i --filetype=asm -i %s --target=arm32 --assemble --disassemble \ |
| 12 ; RUN: --args -Om1 \ |
| 13 ; RUN: | FileCheck %s --check-prefix=DIS |
| 14 |
| 15 ; Compile using integrated assembler. |
| 16 ; RUN: %p2i --filetype=iasm -i %s --target=arm32 --args -Om1 \ |
| 17 ; RUN: | FileCheck %s --check-prefix=IASM |
| 18 |
| 19 ; Show bytes in assembled integrated code. |
| 20 ; RUN: %p2i --filetype=iasm -i %s --target=arm32 --assemble --disassemble \ |
| 21 ; RUN: --args -Om1 \ |
| 22 ; RUN: | FileCheck %s --check-prefix=DIS |
| 23 |
| 24 define internal double @testVeor() { |
| 25 ; ASM-LABEL: testVeor: |
| 26 ; DIS: 00000000 <testVeor>: |
| 27 |
| 28 entry: |
| 29 ; ASM: .LtestVeor$entry: |
| 30 |
| 31 ret double 0.0 |
| 32 |
| 33 ; ASM: veor.f64 d0, d0, d0 |
| 34 ; DIS: 0: f3000110 |
| 35 ; IASM-NOT: veor |
| 36 |
| 37 } |
| OLD | NEW |