1 /* { dg-do run { target { powerpc*-*-* } } } */
2 /* { dg-require-effective-target dfp_hw } */
3 /* { dg-options "-mdejagnu-cpu=power6" } */
8 do_compare (unsigned int a
, unsigned int b
)
10 return __builtin_cmpb (a
, b
);
14 expect (unsigned int pattern
, unsigned int value
)
21 main (int argc
, char *argv
[])
23 expect (0xff000000, do_compare (0x12345678, 0x12000000));
24 expect (0x00ffffff, do_compare (0x12345678, 0x00345678));
25 expect (0x000000ff, do_compare (0x00000078, 0x12345678));