aboutsummaryrefslogtreecommitdiff
path: root/math/libm-test-exp.inc
diff options
context:
space:
mode:
authormengqinggang <mengqinggang@loongson.cn>2024-07-05 10:40:33 +0800
committercaiyinyu <caiyinyu@loongson.cn>2024-07-17 09:32:25 +0800
commit43224b1379d60b1ad98d29ef3d7905d55f828a9f (patch)
treec1819b63daa3898945b46319965ab291cbb74b47 /math/libm-test-exp.inc
parent5bcf6265f215326d14dfacdce8532792c2c7f8f8 (diff)
downloadglibc-master.zip
glibc-master.tar.gz
glibc-master.tar.bz2
LoongArch: Add cfi instructions for _dl_tlsdesc_dynamicHEADmaster
In _dl_tlsdesc_dynamic, there are three 'addi.d sp, sp, -size' instructions to allocate stack size for Float/LSX/LASX registers. Every 'addi.d sp, sp, -size' needs a cfi_adjust_cfa_offset because of sp is used to compute CFA. But only one 'addi.d sp, sp, -size' will be run according to HWCAP value. And all cfi_adjust_cfa_offset will be executed in stack unwinding, it result in incorrect CFA. Change _dl_tlsdesc_dynamic to _dl_tlsdesc_dynamic, _dl_tlsdesc_dynamic_lsx and _dl_tlsdesc_dynamic_lasx. Conflicting cfi instructions can be distributed to the three functions. And cfi instructions can correspond to stack down instructions.
Diffstat (limited to 'math/libm-test-exp.inc')
0 files changed, 0 insertions, 0 deletions