Vector BCD Instructions
6 PowerISA instructions in this extension - click any row for encoding, pseudocode, and full documentation.
| Mnemonic | Syntax | Format | Summary |
|---|---|---|---|
| bcdcfn. | bcdcfn. vD, vB, PS | VX-form | Converts a national decimal value to packed decimal format and stores it in the target vector register. |
| bcdcfsq. | bcdcfsq. vD, vB, PS | VX-form | Converts a signed quadword integer to packed decimal format and updates the condition register. |
| bcdcfz. | bcdcfz. vD, vB, PS | VX-form | Converts BCD Zoned format to Signed Packed BCD. |
| bcdctn. | bcdctn. vD, vB | VX-form | Converts a packed decimal value to national decimal format and stores it in a vector register. |
| bcdctsq. | bcdctsq. vD, vB | VX-form | Compares two binary coded decimal (BCD) numbers in a quadword format and tests the sign. |
| bcdctz. | bcdctz. vD, vB, PS | VX-form | Converts Signed Packed BCD to Zoned format. |