From: Andrew Stubbs Date: Mon, 3 Apr 2023 11:16:11 +0000 (+0100) Subject: amdgcn: Add 64-bit vector not X-Git-Tag: basepoints/gcc-14~209 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=34574064412eca1af8494d240e3627c02ecaf823;p=thirdparty%2Fgcc.git amdgcn: Add 64-bit vector not gcc/ChangeLog: * config/gcn/gcn-valu.md (one_cmpl2): New. --- diff --git a/gcc/config/gcn/gcn-valu.md b/gcc/config/gcn/gcn-valu.md index 334b6b0b51cf..e3d6d65e9a96 100644 --- a/gcc/config/gcn/gcn-valu.md +++ b/gcc/config/gcn/gcn-valu.md @@ -2732,6 +2732,23 @@ DONE; }) +(define_insn_and_split "one_cmpl2" + [(set (match_operand:V_DI 0 "register_operand" "= v") + (not:V_DI + (match_operand:V_DI 1 "gcn_alu_operand" "vSvDB")))] + "" + "#" + "reload_completed" + [(set (match_dup 3) (not: (match_dup 5))) + (set (match_dup 4) (not: (match_dup 6)))] + { + operands[3] = gcn_operand_part (mode, operands[0], 0); + operands[4] = gcn_operand_part (mode, operands[0], 1); + operands[5] = gcn_operand_part (mode, operands[1], 0); + operands[6] = gcn_operand_part (mode, operands[1], 1); + } + [(set_attr "type" "mult")]) + ;; }}} ;; {{{ FP binops - special cases