Displaying 4 results from an estimated 4 matches for "uint8x8_t".
Did you mean:
int8x8_t
2010 Sep 27
2
[LLVMdev] Vectors in structures
...nt8x8 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 calls:
$ clang -ccc-host-triple armv7a-none-eabi -ccc-gcc-name
arm-none-eabi-gcc -mfloat-abi=hard -w -S comp.c -o - | grep vceq
.globl v...
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
...#39;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 calls:
>
> $ clang -ccc-host-triple armv7a-none-eabi -ccc-gcc-name
> arm-none-eabi-gc...
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