diff options
author | satyanarayana reddy janga <satyajanga@fb.com> | 2025-07-28 13:09:41 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2025-07-28 13:09:41 -0700 |
commit | ea480cc665a427cfaf09d15fea57c2a6bc1d4f93 (patch) | |
tree | e6f64ae45c75dea38362bc81faca8bce6850d613 /llvm/lib/CodeGen/ModuloSchedule.cpp | |
parent | 88389cce5381b3386c8fe1c45c33390f69a726e9 (diff) | |
download | llvm-ea480cc665a427cfaf09d15fea57c2a6bc1d4f93.zip llvm-ea480cc665a427cfaf09d15fea57c2a6bc1d4f93.tar.gz llvm-ea480cc665a427cfaf09d15fea57c2a6bc1d4f93.tar.bz2 |
[lldb] support ieee_single and ieee_double gdbtypes for registers (#150268)
Some gdb remote servers send target.xml that contains
```
<reg name='ft0' bitsize='32' type='ieee_single' dwarf_regnum='32'/>
<reg name='ft1' bitsize='32' type='ieee_single' dwarf_regnum='33'/>
<reg name='ft2' bitsize='32' type='ieee_single' dwarf_regnum='34'/>
<reg name='ft3' bitsize='32' type='ieee_single' dwarf_regnum='35'/>
<reg name='ft4' bitsize='32' type='ieee_single' dwarf_regnum='36'/>
<reg name='ft5' bitsize='32' type='ieee_single' dwarf_regnum='37'/>
<reg name='ft6' bitsize='32' type='ieee_single' dwarf_regnum='38'/>
<reg name='ft7' bitsize='32' type='ieee_single' dwarf_regnum='39'/>
```
it seems like a valid and supported type in gdb.
from gdb16.3/gdb/target_descriptions.c (could not find a way to link
it).
```
case TDESC_TYPE_IEEE_SINGLE:
m_type = init_float_type (alloc, -1, "builtin_type_ieee_single",
floatformats_ieee_single);
return;
case TDESC_TYPE_IEEE_DOUBLE:
m_type = init_float_type (alloc, -1, "builtin_type_ieee_double",
floatformats_ieee_double);
return;
```
### Testplan
updated unittest to test this.
Reviewers: @clayborg , @jeffreytan81 , @Jlalond
Diffstat (limited to 'llvm/lib/CodeGen/ModuloSchedule.cpp')
0 files changed, 0 insertions, 0 deletions