From b479a43939b77b7f6d67f103f1fdc9126466f780 Mon Sep 17 00:00:00 2001 From: sharmander Date: Thu, 3 Dec 2020 14:20:02 -0500 Subject: CPU: Implement VFNMS.F32/64 (#1758) * Add necessary methods / op-code * Enable Support for FMA Instruction Set * Add Intrinsics / Assembly Opcodes for VFMSUB231XX. * Add X86 Instructions for VFMSUB231XX * Implement VFNMS * Implement VFNMS Tests * Add special cases for FMA instructions. * Update PPTC Version * Remove unused Op * Move Check into Assert / Cleanup * Rename and cleanup * Whitespace * Whitespace / Rename * Re-sort * Address final requests * Implement VFMA.F64 * Simplify switch * Simplify FMA Instructions into their own IntrinsicType. * Remove whitespace * Fix indentation * Change tests for Vfnms -- disable inf / nan * Move args up, not description ;) * Undo vfma * Completely remove vfms code., * Fix order of instruction in assembler --- ARMeilleure/IntermediateRepresentation/Intrinsic.cs | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'ARMeilleure/IntermediateRepresentation') diff --git a/ARMeilleure/IntermediateRepresentation/Intrinsic.cs b/ARMeilleure/IntermediateRepresentation/Intrinsic.cs index cbfa8c71..7d8b8bf0 100644 --- a/ARMeilleure/IntermediateRepresentation/Intrinsic.cs +++ b/ARMeilleure/IntermediateRepresentation/Intrinsic.cs @@ -153,6 +153,10 @@ namespace ARMeilleure.IntermediateRepresentation X86Unpcklps, X86Vcvtph2ps, X86Vcvtps2ph, + X86Vfmsub231pd, + X86Vfmsub231ps, + X86Vfmsub231sd, + X86Vfmsub231ss, X86Xorpd, X86Xorps } -- cgit v1.2.3