__store2r, __builtin_ppc_store2r

Purpose

Store with Byte-Reversal (two-byte integer).

Takes the loaded two-byte integer value and performs a byte-reversed store operation.

Prototype

void __builtin_ppc_store2r (unsigned short, unsigned short*);

void __store2r (unsigned short, unsigned short*);

Note:
  • The built-in function in the form of __name is a synonym of the built-in function in the form of __builtin_ppc_name.
  • The built-in function in the form of __name is provided for compatibility with IBM® XL C/C++ for AIX® 16.1.0 or earlier releases. This built-in function form might be deprecated in the future.