From: Kwok Cheung Yeung Date: Tue, 8 Nov 2022 14:38:23 +0000 (+0000) Subject: amdgcn: Fix expansion of GCN_BUILTIN_LDEXPV builtin X-Git-Tag: basepoints/gcc-14~3399 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=cb0a2b1f28cf0c231bf38fcd02c40689739df7bb;p=thirdparty%2Fgcc.git amdgcn: Fix expansion of GCN_BUILTIN_LDEXPV builtin 2022-11-08 Kwok Cheung Yeung gcc/ * config/gcn/gcn.cc (gcn_expand_builtin_1): Expand first argument of GCN_BUILTIN_LDEXPV to V64DFmode. --- diff --git a/gcc/config/gcn/gcn.cc b/gcc/config/gcn/gcn.cc index 9c5e34197488..5e6f3b8b74b5 100644 --- a/gcc/config/gcn/gcn.cc +++ b/gcc/config/gcn/gcn.cc @@ -4383,7 +4383,7 @@ gcn_expand_builtin_1 (tree exp, rtx target, rtx /*subtarget */ , return target; rtx arg1 = force_reg (V64DFmode, expand_expr (CALL_EXPR_ARG (exp, 0), NULL_RTX, - V64SFmode, + V64DFmode, EXPAND_NORMAL)); rtx arg2 = force_reg (V64SImode, expand_expr (CALL_EXPR_ARG (exp, 1), NULL_RTX,