ps_cmp.c 413 Bytes
////C: '-msoft-fp-single'
//A: '--has-fpack'

typedef float ps __attribute__((ext_vector_type(2)));


int main(void)
{
  volatile ps a,b;
//  volatile ps o;
  volatile float c,d;

//  a.x = 1.23456789;
//  a.y = 34.5678901;

//  b.x = 2.3456789;
//  b.y = 9.87654321;

//  int o = (a == b);
  volatile int o;
  if (c==d)
   o = 0;
  else
   o = 1;

  if (a==b)
    return 1;
  else
    return 0;

//  return o;
}