From: Andrew Stubbs Date: Tue, 11 Oct 2022 14:14:41 +0000 (+0100) Subject: [OG12] amdgcn: Fixup "Add builtin for vectorized DFmode fabs operation" X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=5bcf4e223664de67ca1a17eb7d47501b57cbc21b;p=thirdparty%2Fgcc.git [OG12] amdgcn: Fixup "Add builtin for vectorized DFmode fabs operation" The function was taken away by the "add multiple vector sizes" patch. 2022-10-11 Andrew Stubbs gcc/ * config/gcn/gcn.cc (gcn_expand_builtin_1): Change gcn_full_exec_reg to get_exec. --- diff --git a/gcc/ChangeLog.omp b/gcc/ChangeLog.omp index 7dcc22020724..d296eb137e89 100644 --- a/gcc/ChangeLog.omp +++ b/gcc/ChangeLog.omp @@ -1,3 +1,8 @@ +2022-10-12 Andrew Stubbs + + * config/gcn/gcn.cc (gcn_expand_builtin_1): Change gcn_full_exec_reg + to get_exec. + 2022-10-12 Andrew Stubbs Backport from mainline: diff --git a/gcc/config/gcn/gcn.cc b/gcc/config/gcn/gcn.cc index 681388c36454..1f8d8e199713 100644 --- a/gcc/config/gcn/gcn.cc +++ b/gcc/config/gcn/gcn.cc @@ -4361,7 +4361,7 @@ gcn_expand_builtin_1 (tree exp, rtx target, rtx /*subtarget */ , { if (ignore) return target; - rtx exec = gcn_full_exec_reg (); + rtx exec = get_exec (-1); rtx arg = force_reg (V64DFmode, expand_expr (CALL_EXPR_ARG (exp, 0), NULL_RTX, V64DFmode,