1 // RUN: %clang -target powerpc-linux-gnu -emit-llvm -S -mabi=ibmlongdouble \
2 // RUN: -O0 %s -o - | FileCheck %s --check-prefixes=CHECK,CHECK-BE
3 // RUN: %clang -target powerpc64-linux-gnu -emit-llvm -S -mabi=ibmlongdouble \
4 // RUN: -O0 %s -o - | FileCheck %s --check-prefixes=CHECK,CHECK-BE
5 // RUN: %clang -target powerpc64le-linux-gnu -emit-llvm -S -mabi=ibmlongdouble \
6 // RUN: -O0 %s -o - | FileCheck %s --check-prefixes=CHECK,CHECK-LE
10 long double ld
= -1.0L;
13 b
= __builtin_signbit(1.0L);
20 b
= __builtin_signbit(ld
);
26 b
= __builtin_signbitf(1.0);
29 b
= __builtin_signbitf(d
);
34 b
= __builtin_signbitl(1.0L);
41 b
= __builtin_signbitl(ld
);