diff options
author | Andrew Stubbs <ams@codesourcery.com> | 2022-10-11 15:14:41 +0100 |
---|---|---|
committer | Andrew Stubbs <ams@codesourcery.com> | 2022-10-12 11:43:55 +0100 |
commit | 5bcf4e223664de67ca1a17eb7d47501b57cbc21b (patch) | |
tree | 9473ac46f383cd1a565517232f09fc0b388f75b7 /gcc | |
parent | af51220d54641b68dc29f761943a717cfbb3a6e0 (diff) | |
download | gcc-5bcf4e223664de67ca1a17eb7d47501b57cbc21b.zip gcc-5bcf4e223664de67ca1a17eb7d47501b57cbc21b.tar.gz gcc-5bcf4e223664de67ca1a17eb7d47501b57cbc21b.tar.bz2 |
[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 <ams@codesourcery.com>
gcc/
* config/gcn/gcn.cc (gcn_expand_builtin_1): Change gcn_full_exec_reg
to get_exec.
Diffstat (limited to 'gcc')
-rw-r--r-- | gcc/ChangeLog.omp | 5 | ||||
-rw-r--r-- | gcc/config/gcn/gcn.cc | 2 |
2 files changed, 6 insertions, 1 deletions
diff --git a/gcc/ChangeLog.omp b/gcc/ChangeLog.omp index 7dcc220..d296eb1 100644 --- a/gcc/ChangeLog.omp +++ b/gcc/ChangeLog.omp @@ -1,5 +1,10 @@ 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: 2022-10-11 Andrew Stubbs <ams@codesourcery.com> diff --git a/gcc/config/gcn/gcn.cc b/gcc/config/gcn/gcn.cc index 681388c..1f8d8e1 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, |