mirror of
https://github.com/RPCSX/llvm.git
synced 2024-12-05 02:16:46 +00:00
8205637a28
Additionally correct the Cortex-R7 definition to allow the FP16 feature. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@254900 91177308-0d34-0410-b5e6-96231b3b80d8
19 lines
889 B
ArmAsm
19 lines
889 B
ArmAsm
@ RUN: llvm-mc -mcpu=cortex-r7 -triple arm -show-encoding < %s 2>&1| \
|
|
@ RUN: FileCheck %s --check-prefix=CHECK-FP16
|
|
@ RUN: not llvm-mc -mcpu=cortex-r5 -triple arm -show-encoding < %s 2>&1 | \
|
|
@ RUN: FileCheck %s --check-prefix=CHECK-NOFP16
|
|
|
|
@ CHECK-FP16: vcvtt.f32.f16 s7, s1 @ encoding: [0xe0,0x3a,0xf2,0xee]
|
|
@ CHECK-NOFP16: instruction requires: half-float conversions
|
|
vcvtt.f32.f16 s7, s1
|
|
@ CHECK-FP16: vcvtt.f16.f32 s1, s7 @ encoding: [0xe3,0x0a,0xf3,0xee]
|
|
@ CHECK-NOFP16: instruction requires: half-float conversions
|
|
vcvtt.f16.f32 s1, s7
|
|
|
|
@ CHECK-FP16: vcvtb.f32.f16 s7, s1 @ encoding: [0x60,0x3a,0xf2,0xee]
|
|
@ CHECK-NOFP16: instruction requires: half-float conversions
|
|
vcvtb.f32.f16 s7, s1
|
|
@ CHECK-FP16: vcvtb.f16.f32 s1, s7 @ encoding: [0x63,0x0a,0xf3,0xee]
|
|
@ CHECK-NOFP16: instruction requires: half-float conversions
|
|
vcvtb.f16.f32 s1, s7
|