mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-11-23 19:23:23 +01:00
c43926770c
Armv8.3-A adds instructions that convert a double-precision floating point number to a signed 32-bit integer with round towards zero, designed for improving Javascript performance. Differential Revision: https://reviews.llvm.org/D36785 llvm-svn: 311448
11 lines
611 B
Plaintext
11 lines
611 B
Plaintext
# RUN: llvm-mc -triple thumb-none-eabi -mattr=+v8.3a,+fp-armv8 --disassemble < %s 2>&1 | FileCheck %s
|
|
# RUN: not llvm-mc -triple thumb-none-eabi -mattr=+v8.2a,+fp-armv8 --disassemble < %s 2>&1 | FileCheck %s --check-prefix=UNDEF
|
|
# RUN: not llvm-mc -triple thumb-none-eabi -mattr=+v8.3a,-fp-armv8 --disassemble < %s 2>&1 | FileCheck %s --check-prefix=UNDEF
|
|
|
|
[0xf9,0xee,0xc2,0x0b]
|
|
# CHECK: vjcvt.s32.f64 s1, d2
|
|
# UNDEF: :[[@LINE-2]]:{{[0-9]+}}: warning: invalid instruction encoding
|
|
[0xf9,0xee,0xe2,0x8b]
|
|
# CHECK: vjcvt.s32.f64 s17, d18
|
|
# UNDEF: :[[@LINE-2]]:{{[0-9]+}}: warning: invalid instruction encoding
|