diff options
author | Himadhith <79003240+Himadhith@users.noreply.github.com> | 2025-06-25 14:47:38 +0530 |
---|---|---|
committer | GitHub <noreply@github.com> | 2025-06-25 14:47:38 +0530 |
commit | 32febe60f36441f8a139b4119a99d17285ca0b4b (patch) | |
tree | f84d0d20eec5860450d7523b4400975220d7fb18 /lldb/packages/Python/lldbsuite/test/gdbclientutils.py | |
parent | 0f01cd52891421bd0283b2bf14b968a857321d7f (diff) | |
download | llvm-32febe60f36441f8a139b4119a99d17285ca0b4b.zip llvm-32febe60f36441f8a139b4119a99d17285ca0b4b.tar.gz llvm-32febe60f36441f8a139b4119a99d17285ca0b4b.tar.bz2 |
[PowerPC] Support for Packed BCD conversion builtins (#142723)
Support the following packed BCD builtins for PowerPC.
```
__builtin_national2packed - Conversion of National format to Packed decimal format.
__builtin_packed2national - Conversion of Packed decimal format to national format.
__builtin_packed2zoned - Conversion of Packed decimal format to Zoned decimal format.
__builtin_zoned2packed - Conversion of Zoned decimal format to Packed decimal format.
```
### Prototypes:
`vector unsigned char __builtin_national2packed(vector unsigned char a,
unsigned char b);`
`vector unsigned char __builtin_packed2zoned(vector unsigned char,
unsigned char);`
`vector unsigned char __builtin_zoned2packed(vector unsigned char,
unsigned char);`
The condition for the 2nd parameter is consistent over all the 3
prototypes (0 or 1 only).
`vector unsigned char __builtin_packed2national(vector unsigned char);`
Co-authored-by: himadhith <himadhith.v@ibm.com>
Co-authored-by: Tony Varghese <tonypalampalliyil@gmail.com>
Diffstat (limited to 'lldb/packages/Python/lldbsuite/test/gdbclientutils.py')
0 files changed, 0 insertions, 0 deletions