brintos

brintos / llvm-project-archived public Read only

0
0
Text · 803 B · a12181c Raw
26 lines · plain
1@ RUN: not llvm-mc -mcpu=cortex-a8 -triple armv7-none-linux-gnueabi < %s 2>&1 | FileCheck %s2 3@ Test for floating point constants that are out of the 8-bit encoded value range4vmov.f32 s2, #32.05@ CHECK: invalid operand for instruction6 7vmov.f64 d2, #32.08@ CHECK: invalid operand for instruction9 10@ Test that vmov.f instructions do not accept an 8-bit encoded float as an operand11vmov.f32 s1, #0x7012@ CHECK: error: invalid floating point immediate13 14vmov.f64 d2, #0x7015@ CHECK: error: invalid floating point immediate16 17@ Test that fconst instructions do not accept a float constant as an operand18fconsts s1, #1.019@ CHECK: error: invalid floating point immediate20 21fconstd d2, #1.022@ CHECK: error: invalid floating point immediate23 24vmov.i64 d0, 0x800000000000000025@ CHECK: invalid operand for instruction26