brintos

brintos / llvm-project-archived public Read only

0
0
Text · 3.3 KiB · f3bc575 Raw
74 lines · plain
1@ RUN: llvm-mc < %s -triple armv7-unknown-unknown -show-encoding -mattr=+neon,+vfp4   | FileCheck %s --check-prefix=ARM2@ RUN: llvm-mc < %s -triple thumbv7-unknown-unknown -show-encoding -mattr=+neon,+vfp4 | FileCheck %s --check-prefix=THUMB3@ RUN: not llvm-mc < %s -triple thumbv7-unknown-unknown -show-encoding -mcpu=cortex-m4 > %t 2> %t24@ RUN:     FileCheck %s < %t --check-prefix=THUMB_V7EM5@ RUN:     FileCheck %s < %t2 --check-prefix=THUMB_V7EM-ERRORS6 7@ ARM: vfma.f64 d16, d18, d17 @ encoding: [0xa1,0x0b,0xe2,0xee]8@ THUMB: vfma.f64 d16, d18, d17 @ encoding: [0xe2,0xee,0xa1,0x0b]9@ THUMB_V7EM-ERRORS: error: invalid instruction10@ THUMB_V7EM-ERRORS-NEXT: vfma.f64 d16, d18, d1711vfma.f64 d16, d18, d1712 13@ ARM: vfma.f32 s2, s4, s0 @ encoding: [0x00,0x1a,0xa2,0xee]14@ THUMB: vfma.f32 s2, s4, s0 @ encoding: [0xa2,0xee,0x00,0x1a]15@ THUMB_V7EM: vfma.f32 s2, s4, s0 @ encoding: [0xa2,0xee,0x00,0x1a]16vfma.f32 s2, s4, s017 18@ ARM: vfma.f32 d16, d18, d17 @ encoding: [0xb1,0x0c,0x42,0xf2]19@ THUMB: vfma.f32 d16, d18, d17 @ encoding: [0x42,0xef,0xb1,0x0c]20@ THUMB_V7EM-ERRORS: error: invalid instruction21@ THUMB_V7EM-ERRORS-NEXT: vfma.f32 d16, d18, d1722vfma.f32 d16, d18, d1723 24@ ARM: vfma.f32 q2, q4, q0 @ encoding: [0x50,0x4c,0x08,0xf2]25@ THUMB: vfma.f32	q2, q4, q0 @ encoding: [0x08,0xef,0x50,0x4c]26@ THUMB_V7EM-ERRORS: error: instruction requires: mve.fp27@ THUMB_V7EM-ERRORS-NEXT: vfma.f32 q2, q4, q028vfma.f32 q2, q4, q029 30@ ARM: vfnma.f64 d16, d18, d17 @ encoding: [0xe1,0x0b,0xd2,0xee]31@ THUMB: vfnma.f64 d16, d18, d17 @ encoding: [0xd2,0xee,0xe1,0x0b]32@ THUMB_V7EM-ERRORS: error: invalid instruction33@ THUMB_V7EM-ERRORS-NEXT: vfnma.f64 d16, d18, d1734vfnma.f64 d16, d18, d1735 36@ ARM: vfnma.f32 s2, s4, s0 @ encoding: [0x40,0x1a,0x92,0xee]37@ THUMB: vfnma.f32 s2, s4, s0 @ encoding: [0x92,0xee,0x40,0x1a]38@ THUMB_V7EM: vfnma.f32 s2, s4, s0 @ encoding: [0x92,0xee,0x40,0x1a]39vfnma.f32 s2, s4, s040 41@ ARM: vfms.f64 d16, d18, d17 @ encoding: [0xe1,0x0b,0xe2,0xee]42@ THUMB: vfms.f64 d16, d18, d17 @ encoding: [0xe2,0xee,0xe1,0x0b]43@ THUMB_V7EM-ERRORS: error: invalid instruction44@ THUMB_V7EM-ERRORS-NEXT: vfms.f64 d16, d18, d1745vfms.f64 d16, d18, d1746 47@ ARM: vfms.f32 s2, s4, s0 @ encoding: [0x40,0x1a,0xa2,0xee]48@ THUMB: vfms.f32 s2, s4, s0 @ encoding: [0xa2,0xee,0x40,0x1a]49@ THUMB_V7EM: vfms.f32 s2, s4, s0 @ encoding: [0xa2,0xee,0x40,0x1a]50vfms.f32 s2, s4, s051 52@ ARM: vfms.f32 d16, d18, d17 @ encoding: [0xb1,0x0c,0x62,0xf2]53@ THUMB: vfms.f32 d16, d18, d17 @ encoding: [0x62,0xef,0xb1,0x0c]54@ THUMB_V7EM-ERRORS: error: invalid instruction55@ THUMB_V7EM-ERRORS-NEXT: vfms.f32 d16, d18, d1756vfms.f32 d16, d18, d1757 58@ ARM: vfms.f32 q2, q4, q0 @ encoding: [0x50,0x4c,0x28,0xf2]59@ THUMB: vfms.f32	q2, q4, q0 @ encoding: [0x28,0xef,0x50,0x4c]60@ THUMB_V7EM-ERRORS: error: instruction requires: mve.fp61@ THUMB_V7EM-ERRORS-NEXT: vfms.f32 q2, q4, q062vfms.f32 q2, q4, q063 64@ ARM: vfnms.f64 d16, d18, d17 @ encoding: [0xa1,0x0b,0xd2,0xee]65@ THUMB: vfnms.f64 d16, d18, d17 @ encoding: [0xd2,0xee,0xa1,0x0b]66@ THUMB_V7EM-ERRORS: error: invalid instruction67@ THUMB_V7EM-ERRORS-NEXT: vfnms.f64 d16, d18, d1768vfnms.f64 d16, d18, d1769 70@ ARM: vfnms.f32 s2, s4, s0 @ encoding: [0x00,0x1a,0x92,0xee]71@ THUMB: vfnms.f32 s2, s4, s0 @ encoding: [0x92,0xee,0x00,0x1a]72@ THUMB_V7EM: vfnms.f32 s2, s4, s0 @ encoding: [0x92,0xee,0x00,0x1a]73vfnms.f32 s2, s4, s074