From 91a7579ee61f43eeee573ebda7f1264a5f1128b7 Mon Sep 17 00:00:00 2001 From: Petar Jovanovic Date: Fri, 13 Jan 2017 16:29:15 +0000 Subject: [PATCH] mips64: update exp file for test_math Leave the old exp file that covers cases in which __addtf3 and __subtf3 did not take into account rounding modes. New exp file is the same file that already exists in mips32 folder, so we just create a symbolic link to it. git-svn-id: svn://svn.valgrind.org/valgrind/trunk@16201 --- none/tests/mips64/Makefile.am | 3 +- none/tests/mips64/test_math.stdout.exp | 56 +------------------ .../mips64/test_math.stdout.exp-older-gcc | 55 ++++++++++++++++++ 3 files changed, 58 insertions(+), 56 deletions(-) mode change 100644 => 120000 none/tests/mips64/test_math.stdout.exp create mode 100644 none/tests/mips64/test_math.stdout.exp-older-gcc diff --git a/none/tests/mips64/Makefile.am b/none/tests/mips64/Makefile.am index baee14ad77..179ca981a8 100644 --- a/none/tests/mips64/Makefile.am +++ b/none/tests/mips64/Makefile.am @@ -55,7 +55,8 @@ EXTRA_DIST = \ test_block_size.vgtest \ test_fcsr.stdout.exp test_fcsr.stderr.exp \ test_fcsr.vgtest \ - test_math.stdout.exp test_math.stderr.exp test_math.vgtest \ + test_math.stdout.exp test_math.stdout.exp-older-gcc \ + test_math.stderr.exp test_math.vgtest \ unaligned_load.stdout.exp-BE unaligned_load.stdout.exp-LE \ unaligned_load.stderr.exp unaligned_load.vgtest \ unaligned_load_store.stdout.exp-LE unaligned_load_store.stdout.exp-BE \ diff --git a/none/tests/mips64/test_math.stdout.exp b/none/tests/mips64/test_math.stdout.exp deleted file mode 100644 index 2a0e71fd2f..0000000000 --- a/none/tests/mips64/test_math.stdout.exp +++ /dev/null @@ -1,55 +0,0 @@ -fesetround(FE_UPWARD) -lrint(1234.01): 1235 -lrintf(1234.01f): 1235 -lrintl(1234.01): 1234 -fesetround(FE_TOWARDZERO) -lrint(1234.01): 1234 -lrintf(1234.01f): 1234 -lrintl(1234.01): 1234 -fesetround(FE_UPWARD) -llrint(1234.01): 1235 -llrintf(1234.01f): 1235 -llrintf(1234.01f): 1234 -fesetround(FE_TOWARDZERO) -llrint(1234.01): 1234 -llrintf(1234.01f): 1234 -llrintl(1234.01): 1234 -fesetround(FE_UPWARD) -feclearexcept(FE_ALL_EXCEPT) -rint(1234.0): 1234.000000 -(fetestexcept(FE_ALL_EXCEPT) & FE_INEXACT): 0 -rint(1234.01): 1235.000000 -(fetestexcept(FE_ALL_EXCEPT) & FE_INEXACT): 4 -feclearexcept(FE_ALL_EXCEPT) -rintf(1234.0f): 1234.000000 -(fetestexcept(FE_ALL_EXCEPT) & FE_INEXACT): 0 -rintf(1234.01f): 1235.000000 -(fetestexcept(FE_ALL_EXCEPT) & FE_INEXACT): 4 -feclearexcept(FE_ALL_EXCEPT) -rintl(1234.0): 1234.000000 -(fetestexcept(FE_ALL_EXCEPT) & FE_INEXACT): 0 -rintl(1234.01): 1234.000000 -(fetestexcept(FE_ALL_EXCEPT) & FE_INEXACT): 0 -fesetround(FE_TOWARDZERO) -rint(1234.01): 1234.000000 -rintf(1234.01f): 1234.000000 -rintl(1234.01): 1234.000000 -fesetround(FE_UPWARD) -feclearexcept(FE_ALL_EXCEPT) -nearbyint(1234.0): 1234.000000 -nearbyint(1234.01): 1235.000000 -feclearexcept(FE_ALL_EXCEPT) -nearbyintf(1234.0f): 1234.000000 -nearbyintf(1234.01f): 1235.000000 -feclearexcept(FE_ALL_EXCEPT) -nearbyintl(1234.0f): 1234.000000 -nearbyintl(1234.01f): 1234.000000 -fesetround(FE_TOWARDZERO) -nearbyint(1234.01): 1234.000000 -nearbyintf(1234.01f): 1234.000000 -nearbyintl(1234.01): 1234.000000 -log(M_E): 1.000000 -tgamma(5.0): 24.000000 -cbrt(27.0): 3.000000 -feclearexcept(FE_ALL_EXCEPT): 0 -raised: 32 diff --git a/none/tests/mips64/test_math.stdout.exp b/none/tests/mips64/test_math.stdout.exp new file mode 120000 index 0000000000..dc887d9561 --- /dev/null +++ b/none/tests/mips64/test_math.stdout.exp @@ -0,0 +1 @@ +../mips32/test_math.stdout.exp \ No newline at end of file diff --git a/none/tests/mips64/test_math.stdout.exp-older-gcc b/none/tests/mips64/test_math.stdout.exp-older-gcc new file mode 100644 index 0000000000..2a0e71fd2f --- /dev/null +++ b/none/tests/mips64/test_math.stdout.exp-older-gcc @@ -0,0 +1,55 @@ +fesetround(FE_UPWARD) +lrint(1234.01): 1235 +lrintf(1234.01f): 1235 +lrintl(1234.01): 1234 +fesetround(FE_TOWARDZERO) +lrint(1234.01): 1234 +lrintf(1234.01f): 1234 +lrintl(1234.01): 1234 +fesetround(FE_UPWARD) +llrint(1234.01): 1235 +llrintf(1234.01f): 1235 +llrintf(1234.01f): 1234 +fesetround(FE_TOWARDZERO) +llrint(1234.01): 1234 +llrintf(1234.01f): 1234 +llrintl(1234.01): 1234 +fesetround(FE_UPWARD) +feclearexcept(FE_ALL_EXCEPT) +rint(1234.0): 1234.000000 +(fetestexcept(FE_ALL_EXCEPT) & FE_INEXACT): 0 +rint(1234.01): 1235.000000 +(fetestexcept(FE_ALL_EXCEPT) & FE_INEXACT): 4 +feclearexcept(FE_ALL_EXCEPT) +rintf(1234.0f): 1234.000000 +(fetestexcept(FE_ALL_EXCEPT) & FE_INEXACT): 0 +rintf(1234.01f): 1235.000000 +(fetestexcept(FE_ALL_EXCEPT) & FE_INEXACT): 4 +feclearexcept(FE_ALL_EXCEPT) +rintl(1234.0): 1234.000000 +(fetestexcept(FE_ALL_EXCEPT) & FE_INEXACT): 0 +rintl(1234.01): 1234.000000 +(fetestexcept(FE_ALL_EXCEPT) & FE_INEXACT): 0 +fesetround(FE_TOWARDZERO) +rint(1234.01): 1234.000000 +rintf(1234.01f): 1234.000000 +rintl(1234.01): 1234.000000 +fesetround(FE_UPWARD) +feclearexcept(FE_ALL_EXCEPT) +nearbyint(1234.0): 1234.000000 +nearbyint(1234.01): 1235.000000 +feclearexcept(FE_ALL_EXCEPT) +nearbyintf(1234.0f): 1234.000000 +nearbyintf(1234.01f): 1235.000000 +feclearexcept(FE_ALL_EXCEPT) +nearbyintl(1234.0f): 1234.000000 +nearbyintl(1234.01f): 1234.000000 +fesetround(FE_TOWARDZERO) +nearbyint(1234.01): 1234.000000 +nearbyintf(1234.01f): 1234.000000 +nearbyintl(1234.01): 1234.000000 +log(M_E): 1.000000 +tgamma(5.0): 24.000000 +cbrt(27.0): 3.000000 +feclearexcept(FE_ALL_EXCEPT): 0 +raised: 32 -- 2.47.2