From 4fe20bbd668528a82254e4fb9152daa4d30af684 Mon Sep 17 00:00:00 2001 From: Owen Anderson Date: Mon, 25 Oct 2010 17:33:02 +0000 Subject: [PATCH] Add a warning about our inability to test the encoding of vceq with immediate zero. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@117273 91177308-0d34-0410-b5e6-96231b3b80d8 --- lib/Target/ARM/ARMInstrNEON.td | 1 + test/MC/ARM/neon-cmp-encoding.ll | 4 ++++ 2 files changed, 5 insertions(+) diff --git a/lib/Target/ARM/ARMInstrNEON.td b/lib/Target/ARM/ARMInstrNEON.td index 691ef037bfb..d100759948a 100644 --- a/lib/Target/ARM/ARMInstrNEON.td +++ b/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/test/MC/ARM/neon-cmp-encoding.ll b/test/MC/ARM/neon-cmp-encoding.ll index 16a415920c4..955fea52387 100644 --- a/test/MC/ARM/neon-cmp-encoding.ll +++ b/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. +