cpuid.stderr.exp cpuid.stdout.exp cpuid.vgtest \
cmpxchg8b.stderr.exp cmpxchg8b.stdout.exp cmpxchg8b.vgtest \
faultstatus.vgtest faultstatus.stderr.exp \
+ fcmovnu.vgtest fcmovnu.stderr.exp fcmovnu.stdout.exp \
fpu_lazy_eflags.stderr.exp fpu_lazy_eflags.stdout.exp \
fpu_lazy_eflags.vgtest \
fxtract.stdout.exp fxtract.stderr.exp fxtract.vgtest \
check_PROGRAMS = \
badseg bt_everything bt_literal cmpxchg8b cpuid \
- faultstatus fpu_lazy_eflags fxtract \
+ faultstatus fcmovnu fpu_lazy_eflags fxtract \
getseg incdec_alt $(INSN_TESTS) \
lahf looper int pushpopseg sbbmisc \
seg_override sigcontext smc1 yield
--- /dev/null
+
+#include <stdio.h>
+
+double zzz;
+
+int main ( void )
+{
+ zzz = 1.234;
+ printf("zzz = %f\n", zzz);
+ __asm__ __volatile__(
+ "finit\n\t"
+ "fldpi\n\t"
+ "fldl2e\n\t"
+ "pushl %esi\n\t"
+ "movl $0,%esi\n\t"
+ "add %esi,%esi\n\t"
+ "fcmovnu %st(1), %st(0)\n\t"
+ "fstl zzz\n\t"
+ "finit\n\t"
+ "popl %esi\n\t"
+ );
+ printf("zzz = %f\n", zzz);
+ return 0;
+}