Displaying 4 results from an estimated 4 matches for "poly8x8".
Did you mean:
poly8x8_t
2010 Sep 27
2
[LLVMdev] Vectors in structures
...zeroinitializer, align 8
@p8d = common global %struct.__simd64_int8_t zeroinitializer, align 8
The difference between uint8x8 and int8x8 is done via 'nsw' (which,
unless it's really generating a trap value, it's a misleading tag),
but there's nothing that will flag this type as poly8x8.
When I try to compile this with Clang:
=== comp.c ===
#define __ARM_NEON__
#include <arm_neon.h>
int8x8_t i8d;
uint8x8_t u8d;
poly8x8_t p8d;
void vceq() {
u8d = vceq_s8(i8d, i8d);
u8d = vceq_p8(p8d, p8d);
}
=== end ===
It generates exactly the same instruction for both call...
2010 Sep 27
0
[LLVMdev] Vectors in structures
On Sep 27, 2010, at 2:58 AM, Renato Golin wrote:
> On 22 September 2010 03:43, Bob Wilson <bob.wilson at apple.com> wrote:
>> But regardless they are still structures, right? What does it mean for them to map onto other types? Is the parser supposed to treat them as if they _were_ those other types? If so, I think you need to define a type system for those fundamental vector
2010 Sep 27
0
[LLVMdev] Vectors in structures
...> @p8d = common global %struct.__simd64_int8_t zeroinitializer, align 8
>
> The difference between uint8x8 and int8x8 is done via 'nsw' (which,
> unless it's really generating a trap value, it's a misleading tag),
> but there's nothing that will flag this type as poly8x8.
>
> When I try to compile this with Clang:
>
> === comp.c ===
> #define __ARM_NEON__
> #include <arm_neon.h>
>
> int8x8_t i8d;
> uint8x8_t u8d;
> poly8x8_t p8d;
>
> void vceq() {
> u8d = vceq_s8(i8d, i8d);
> u8d = vceq_p8(p8d, p8d);
&g...
2010 Sep 27
2
[LLVMdev] Vectors in structures
On 22 September 2010 03:43, Bob Wilson <bob.wilson at apple.com> wrote:
> But regardless they are still structures, right? What does it mean for them to map onto other types? Is the parser supposed to treat them as if they _were_ those other types? If so, I think you need to define a type system for those fundamental vector types. I had read those statements to say something about the