[PATCH] D95281: [RISCV] Add the `vfneg` alias test

Evandro Menezes via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Jan 22 17:53:36 PST 2021


evandro updated this revision to Diff 318710.

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D95281/new/

https://reviews.llvm.org/D95281

Files:
  llvm/test/MC/RISCV/rvv/sign-injection.s


Index: llvm/test/MC/RISCV/rvv/sign-injection.s
===================================================================
--- llvm/test/MC/RISCV/rvv/sign-injection.s
+++ llvm/test/MC/RISCV/rvv/sign-injection.s
@@ -82,3 +82,15 @@
 # CHECK-ENCODING: [0x57,0x54,0x45,0x2a]
 # CHECK-ERROR: instruction requires the following: 'F'{{.*}}'V'
 # CHECK-UNKNOWN: 57 54 45 2a <unknown>
+
+vfneg.v v8, v4, v0.t
+# CHECK-INST: vfneg.v v8, v4, v0.t
+# CHECK-ENCODING: [0x57,0x14,0x42,0x24]
+# CHECK-ERROR: instruction requires the following: 'F'{{.*}}'V'
+# CHECK-UNKNOWN: 57 14 42 24 <unknown>
+
+vfneg.v v8, v4
+# CHECK-INST: vfsgnjn.vv v8, v4, v4
+# CHECK-ENCODING: [0x57,0x14,0x42,0x26]
+# CHECK-ERROR: instruction requires the following: 'F'{{.*}}'V'
+# CHECK-UNKNOWN: 57 14 42 26 <unknown>


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D95281.318710.patch
Type: text/x-patch
Size: 775 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20210123/20ace6d3/attachment.bin>


More information about the llvm-commits mailing list