zmc
2023-10-12 ed135d79df12a2466b52dae1a82326941211dcc9
1
2
3
4
5
6
7
8
9
10
11
12
13
#ifndef __VSX__
    #error "VSX is not supported"
#endif
#include <altivec.h>
 
typedef __vector unsigned long long v_uint64x2;
 
int main(void)
{
    v_uint64x2 z2 = (v_uint64x2){0, 0};
    z2 = (v_uint64x2)vec_cmpeq(z2, z2);
    return (int)vec_extract(z2, 0);
}