diff options
| author | WANG Xuerui <git@xen0n.name> | 2023-02-14 08:39:19 +0800 |
|---|---|---|
| committer | Weining Lu <luweining@loongson.cn> | 2023-02-15 09:16:14 +0800 |
| commit | 2b8cb7d87fcb7c93ea4e60bed6185f05308c98f1 (patch) | |
| tree | 00005dba085e8750dcd64522dd819334b2834c03 /lldb/source/Plugins/ScriptInterpreter/Python/ScriptInterpreterPython.cpp | |
| parent | dcf9c60a538c03628656e5b13fac9a913bcd922f (diff) | |
[LoongArch] Make use of addu16i.d for adds with suitable immediates
Ideally `addu16i.d` could be paired with `{ld,st}ptr` for faster memory
accesses with 32-bit-aligned offsets (it was designed for this purpose),
but it would require more work and the original use case (GP-relative
accesses) does not exist any more with the current LoongArch psABI.
It could still be used for accelerating additions of certain constants
though, which is what this patch intends to do.
Reviewed By: SixWeining, gonglingqin
Differential Revision: https://reviews.llvm.org/D143710
Diffstat (limited to 'lldb/source/Plugins/ScriptInterpreter/Python/ScriptInterpreterPython.cpp')
0 files changed, 0 insertions, 0 deletions
