diff options
author | mengqinggang <mengqinggang@loongson.cn> | 2023-11-23 15:42:49 +0800 |
---|---|---|
committer | liuzhensong <liuzhensong@loongson.cn> | 2023-12-18 18:36:29 +0800 |
commit | 784d5a936a73f0f0676fef782422c54ed280f599 (patch) | |
tree | 0c41763672e3808fdb6fae3e1f1872c33b2abf2d /ld/ldemul.c | |
parent | dc5f359ed6a36d2c895d89c3e4886f3a2b6d9232 (diff) | |
download | gdb-784d5a936a73f0f0676fef782422c54ed280f599.zip gdb-784d5a936a73f0f0676fef782422c54ed280f599.tar.gz gdb-784d5a936a73f0f0676fef782422c54ed280f599.tar.bz2 |
LoongArch: Add call36 and tail36 pseudo instructions for medium code model
For tail36, it is necessary to explicitly indicate the temporary register.
Therefore, the compiler and users will know that the tail will use a register.
call36 func
pcalau18i $ra, %call36(func)
jirl $ra, $ra, 0;
tail36 $t0, func
pcalau18i $t0, %call36(func)
jirl $zero, $t0, 0;
Diffstat (limited to 'ld/ldemul.c')
0 files changed, 0 insertions, 0 deletions