]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
[OG12] amdgcn: Fixup "Add builtin for vectorized DFmode fabs operation"
authorAndrew Stubbs <ams@codesourcery.com>
Tue, 11 Oct 2022 14:14:41 +0000 (15:14 +0100)
committerAndrew Stubbs <ams@codesourcery.com>
Wed, 12 Oct 2022 10:43:55 +0000 (11:43 +0100)
The function was taken away by the "add multiple vector sizes" patch.

2022-10-11  Andrew Stubbs  <ams@codesourcery.com>

gcc/
* config/gcn/gcn.cc (gcn_expand_builtin_1): Change gcn_full_exec_reg
to get_exec.

gcc/ChangeLog.omp
gcc/config/gcn/gcn.cc

index 7dcc22020724f8fdfb4fb94a2739e56d6a4c1ef1..d296eb137e8985afa0e32f146538f19edb51cf65 100644 (file)
@@ -1,3 +1,8 @@
+2022-10-12  Andrew Stubbs  <ams@codesourcery.com>
+
+       * config/gcn/gcn.cc (gcn_expand_builtin_1): Change gcn_full_exec_reg
+       to get_exec.
+
 2022-10-12  Andrew Stubbs  <ams@codesourcery.com>
 
        Backport from mainline:
index 681388c3645419ac46065c6a0de17eddea5186d1..1f8d8e199713f8bec33cdea485b944b49b6e7104 100644 (file)
@@ -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,