diff options
author | Owen Anderson <resistor@mac.com> | 2010-10-25 17:33:02 +0000 |
---|---|---|
committer | Owen Anderson <resistor@mac.com> | 2010-10-25 17:33:02 +0000 |
commit | c178b80f65da90f84a6701d519e8dfb8bfcf2ffb (patch) | |
tree | 1317ebf306d5ad2da32baf6ebe72f971f90267ea /llvm | |
parent | 912db6d9d031b820bd72745ac359769daa7f2e23 (diff) | |
download | bcm5719-llvm-c178b80f65da90f84a6701d519e8dfb8bfcf2ffb.tar.gz bcm5719-llvm-c178b80f65da90f84a6701d519e8dfb8bfcf2ffb.zip |
Add a warning about our inability to test the encoding of vceq with immediate zero.
llvm-svn: 117273
Diffstat (limited to 'llvm')
-rw-r--r-- | llvm/lib/Target/ARM/ARMInstrNEON.td | 1 | ||||
-rw-r--r-- | llvm/test/MC/ARM/neon-cmp-encoding.ll | 4 |
2 files changed, 5 insertions, 0 deletions
diff --git a/llvm/lib/Target/ARM/ARMInstrNEON.td b/llvm/lib/Target/ARM/ARMInstrNEON.td index 691ef037bfb..d100759948a 100644 --- a/llvm/lib/Target/ARM/ARMInstrNEON.td +++ b/llvm/lib/Target/ARM/ARMInstrNEON.td @@ -2809,6 +2809,7 @@ def VCGEfq : N3VQ<1,0,0b00,0b1110,0, IIC_VBINQ, "vcge", "f32", v4i32, v4f32, defm VCGEz : N2V_QHS_cmp<0b11, 0b11, 0b01, 0b00001, 0, "vcge", "s", "$dst, $src, #0">; // For disassembly only. +// FIXME: This instruction's encoding MAY NOT BE correct. defm VCLEz : N2V_QHS_cmp<0b11, 0b11, 0b01, 0b00011, 0, "vcle", "s", "$dst, $src, #0">; diff --git a/llvm/test/MC/ARM/neon-cmp-encoding.ll b/llvm/test/MC/ARM/neon-cmp-encoding.ll index 16a415920c4..955fea52387 100644 --- a/llvm/test/MC/ARM/neon-cmp-encoding.ll +++ b/llvm/test/MC/ARM/neon-cmp-encoding.ll @@ -79,3 +79,7 @@ define <4 x i32> @vceq_4xfloat(<4 x float>* %A, <4 x float>* %B) nounwind { %tmp4 = sext <4 x i1> %tmp3 to <4 x i32> ret <4 x i32> %tmp4 } + +; FIXME: We cannot currently test the vceq with immediate zero, because we do +; not code generate it at this time. + |