From: zhengnannan Date: Tue, 20 Oct 2020 16:53:04 +0000 (+0100) Subject: AArch64: Add FLAG for get/set reg intrinsics [PR94442] X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=4fb0ee84ad8c9b789e2465c85ea048e3320365b0;p=gcc.git AArch64: Add FLAG for get/set reg intrinsics [PR94442] 2020-10-20 Zhiheng Xie Nannan Zheng gcc/ChangeLog: * config/aarch64/aarch64-simd-builtins.def: Add proper FLAG for get/set reg intrinsics. --- diff --git a/gcc/config/aarch64/aarch64-simd-builtins.def b/gcc/config/aarch64/aarch64-simd-builtins.def index 4c23328a575..5bc596dbffc 100644 --- a/gcc/config/aarch64/aarch64-simd-builtins.def +++ b/gcc/config/aarch64/aarch64-simd-builtins.def @@ -70,26 +70,26 @@ BUILTIN_VSDQ_I (BINOP_UUS, usqadd, 0, ALL) /* Implemented by aarch64_get_dreg. */ - BUILTIN_VDC (GETREG, get_dregoi, 0, ALL) - BUILTIN_VDC (GETREG, get_dregci, 0, ALL) - BUILTIN_VDC (GETREG, get_dregxi, 0, ALL) - VAR1 (GETREGP, get_dregoi, 0, ALL, di) - VAR1 (GETREGP, get_dregci, 0, ALL, di) - VAR1 (GETREGP, get_dregxi, 0, ALL, di) + BUILTIN_VDC (GETREG, get_dregoi, 0, AUTO_FP) + BUILTIN_VDC (GETREG, get_dregci, 0, AUTO_FP) + BUILTIN_VDC (GETREG, get_dregxi, 0, AUTO_FP) + VAR1 (GETREGP, get_dregoi, 0, AUTO_FP, di) + VAR1 (GETREGP, get_dregci, 0, AUTO_FP, di) + VAR1 (GETREGP, get_dregxi, 0, AUTO_FP, di) /* Implemented by aarch64_get_qreg. */ - BUILTIN_VQ (GETREG, get_qregoi, 0, ALL) - BUILTIN_VQ (GETREG, get_qregci, 0, ALL) - BUILTIN_VQ (GETREG, get_qregxi, 0, ALL) - VAR1 (GETREGP, get_qregoi, 0, ALL, v2di) - VAR1 (GETREGP, get_qregci, 0, ALL, v2di) - VAR1 (GETREGP, get_qregxi, 0, ALL, v2di) + BUILTIN_VQ (GETREG, get_qregoi, 0, AUTO_FP) + BUILTIN_VQ (GETREG, get_qregci, 0, AUTO_FP) + BUILTIN_VQ (GETREG, get_qregxi, 0, AUTO_FP) + VAR1 (GETREGP, get_qregoi, 0, AUTO_FP, v2di) + VAR1 (GETREGP, get_qregci, 0, AUTO_FP, v2di) + VAR1 (GETREGP, get_qregxi, 0, AUTO_FP, v2di) /* Implemented by aarch64_set_qreg. */ - BUILTIN_VQ (SETREG, set_qregoi, 0, ALL) - BUILTIN_VQ (SETREG, set_qregci, 0, ALL) - BUILTIN_VQ (SETREG, set_qregxi, 0, ALL) - VAR1 (SETREGP, set_qregoi, 0, ALL, v2di) - VAR1 (SETREGP, set_qregci, 0, ALL, v2di) - VAR1 (SETREGP, set_qregxi, 0, ALL, v2di) + BUILTIN_VQ (SETREG, set_qregoi, 0, AUTO_FP) + BUILTIN_VQ (SETREG, set_qregci, 0, AUTO_FP) + BUILTIN_VQ (SETREG, set_qregxi, 0, AUTO_FP) + VAR1 (SETREGP, set_qregoi, 0, AUTO_FP, v2di) + VAR1 (SETREGP, set_qregci, 0, AUTO_FP, v2di) + VAR1 (SETREGP, set_qregxi, 0, AUTO_FP, v2di) /* Implemented by aarch64_ld1x2. */ BUILTIN_VQ (LOADSTRUCT, ld1x2, 0, ALL) /* Implemented by aarch64_ld1x2. */