__bcd_invalid

Purpose

Returns 1 if a is an invalid encoding of a BCD value, or 0 otherwise.

Note: This built-in function is valid only when the following conditions are met:
  • The -mcpu option is set to target POWER8 or higher processors.
  • The -maltivec option is specified.
  • The altivec.h file is included.

Prototype

long __bcd_invalid (vector unsigned char a);