|
Each element of the result is set to
the value obtained by sign-extending arg1. This
permits values ranging from -16 to +15 only for the signed results.
The unsigned results are obtained by casting the signed result to an
unsigned value. Thus, the unsigned char result will lie in the range
0-15 or 240-255; the unsigned short result will lie in the range 0-15
or 65520-65535; and the unsigned long result will lie in the range
0-15 or 4294967280 to 4294967295.
See Example
4 of Highlights for a diagram
of this operation.
|
Result |
|
|
vector_splat_s8 |
vector signed char |
|
|
vector_splat_s16 |
vector signed short |
|
|
vector_splat_s32 |
vector signed long |
|
|
vector_splat_u8 |
vector unsigned char |
|
|
vector_splat_u16 |
vector unsigned short |
|
|
vector_splat_u32 |
vector unsigned long |
|
|
![]() | |
![]() | |
![]() | |
Get information on Apple products.
Visit the Apple Store online or at retail locations. 1-800-MY-APPLE Copyright © 2004 Apple Computer, Inc. All rights reserved. | Terms of use | Privacy Notice |