You can subscribe to this list here.
| 2002 |
Jan
|
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
(1) |
Oct
(122) |
Nov
(152) |
Dec
(69) |
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| 2003 |
Jan
(6) |
Feb
(25) |
Mar
(73) |
Apr
(82) |
May
(24) |
Jun
(25) |
Jul
(10) |
Aug
(11) |
Sep
(10) |
Oct
(54) |
Nov
(203) |
Dec
(182) |
| 2004 |
Jan
(307) |
Feb
(305) |
Mar
(430) |
Apr
(312) |
May
(187) |
Jun
(342) |
Jul
(487) |
Aug
(637) |
Sep
(336) |
Oct
(373) |
Nov
(441) |
Dec
(210) |
| 2005 |
Jan
(385) |
Feb
(480) |
Mar
(636) |
Apr
(544) |
May
(679) |
Jun
(625) |
Jul
(810) |
Aug
(838) |
Sep
(634) |
Oct
(521) |
Nov
(965) |
Dec
(543) |
| 2006 |
Jan
(494) |
Feb
(431) |
Mar
(546) |
Apr
(411) |
May
(406) |
Jun
(322) |
Jul
(256) |
Aug
(401) |
Sep
(345) |
Oct
(542) |
Nov
(308) |
Dec
(481) |
| 2007 |
Jan
(427) |
Feb
(326) |
Mar
(367) |
Apr
(255) |
May
(244) |
Jun
(204) |
Jul
(223) |
Aug
(231) |
Sep
(354) |
Oct
(374) |
Nov
(497) |
Dec
(362) |
| 2008 |
Jan
(322) |
Feb
(482) |
Mar
(658) |
Apr
(422) |
May
(476) |
Jun
(396) |
Jul
(455) |
Aug
(267) |
Sep
(280) |
Oct
(253) |
Nov
(232) |
Dec
(304) |
| 2009 |
Jan
(486) |
Feb
(470) |
Mar
(458) |
Apr
(423) |
May
(696) |
Jun
(461) |
Jul
(551) |
Aug
(575) |
Sep
(134) |
Oct
(110) |
Nov
(157) |
Dec
(102) |
| 2010 |
Jan
(226) |
Feb
(86) |
Mar
(147) |
Apr
(117) |
May
(107) |
Jun
(203) |
Jul
(193) |
Aug
(238) |
Sep
(300) |
Oct
(246) |
Nov
(23) |
Dec
(75) |
| 2011 |
Jan
(133) |
Feb
(195) |
Mar
(315) |
Apr
(200) |
May
(267) |
Jun
(293) |
Jul
(353) |
Aug
(237) |
Sep
(278) |
Oct
(611) |
Nov
(274) |
Dec
(260) |
| 2012 |
Jan
(303) |
Feb
(391) |
Mar
(417) |
Apr
(441) |
May
(488) |
Jun
(655) |
Jul
(590) |
Aug
(610) |
Sep
(526) |
Oct
(478) |
Nov
(359) |
Dec
(372) |
| 2013 |
Jan
(467) |
Feb
(226) |
Mar
(391) |
Apr
(281) |
May
(299) |
Jun
(252) |
Jul
(311) |
Aug
(352) |
Sep
(481) |
Oct
(571) |
Nov
(222) |
Dec
(231) |
| 2014 |
Jan
(185) |
Feb
(329) |
Mar
(245) |
Apr
(238) |
May
(281) |
Jun
(399) |
Jul
(382) |
Aug
(500) |
Sep
(579) |
Oct
(435) |
Nov
(487) |
Dec
(256) |
| 2015 |
Jan
(338) |
Feb
(357) |
Mar
(330) |
Apr
(294) |
May
(191) |
Jun
(108) |
Jul
(142) |
Aug
(261) |
Sep
(190) |
Oct
(54) |
Nov
(83) |
Dec
(22) |
| 2016 |
Jan
(49) |
Feb
(89) |
Mar
(33) |
Apr
(50) |
May
(27) |
Jun
(34) |
Jul
(53) |
Aug
(53) |
Sep
(98) |
Oct
(206) |
Nov
(93) |
Dec
(53) |
| 2017 |
Jan
(65) |
Feb
(82) |
Mar
(102) |
Apr
(86) |
May
(187) |
Jun
(67) |
Jul
(23) |
Aug
(93) |
Sep
(65) |
Oct
(45) |
Nov
(35) |
Dec
(17) |
| 2018 |
Jan
(26) |
Feb
(35) |
Mar
(38) |
Apr
(32) |
May
(8) |
Jun
(43) |
Jul
(27) |
Aug
(30) |
Sep
(43) |
Oct
(42) |
Nov
(38) |
Dec
(67) |
| 2019 |
Jan
(32) |
Feb
(37) |
Mar
(53) |
Apr
(64) |
May
(49) |
Jun
(18) |
Jul
(14) |
Aug
(53) |
Sep
(25) |
Oct
(30) |
Nov
(49) |
Dec
(31) |
| 2020 |
Jan
(87) |
Feb
(45) |
Mar
(37) |
Apr
(51) |
May
(99) |
Jun
(36) |
Jul
(11) |
Aug
(14) |
Sep
(20) |
Oct
(24) |
Nov
(40) |
Dec
(23) |
| 2021 |
Jan
(14) |
Feb
(53) |
Mar
(85) |
Apr
(15) |
May
(19) |
Jun
(3) |
Jul
(14) |
Aug
(1) |
Sep
(57) |
Oct
(73) |
Nov
(56) |
Dec
(22) |
| 2022 |
Jan
(3) |
Feb
(22) |
Mar
(6) |
Apr
(55) |
May
(46) |
Jun
(39) |
Jul
(15) |
Aug
(9) |
Sep
(11) |
Oct
(34) |
Nov
(20) |
Dec
(36) |
| 2023 |
Jan
(79) |
Feb
(41) |
Mar
(99) |
Apr
(169) |
May
(48) |
Jun
(16) |
Jul
(16) |
Aug
(57) |
Sep
(19) |
Oct
|
Nov
|
Dec
|
| S | M | T | W | T | F | S |
|---|---|---|---|---|---|---|
|
|
|
|
|
|
|
1
(6) |
|
2
(4) |
3
(9) |
4
(11) |
5
(16) |
6
(6) |
7
(1) |
8
(11) |
|
9
(11) |
10
(6) |
11
(10) |
12
(23) |
13
(23) |
14
(6) |
15
(10) |
|
16
(5) |
17
(13) |
18
(9) |
19
(4) |
20
(6) |
21
(16) |
22
(3) |
|
23
(5) |
24
(7) |
25
(6) |
26
(4) |
27
(8) |
28
|
29
(3) |
|
30
(2) |
31
(17) |
|
|
|
|
|
|
From: <sv...@va...> - 2015-08-15 19:51:47
|
Author: iraisr
Date: Sat Aug 15 20:51:35 2015
New Revision: 15554
Log:
Update script solaris/build_solaris_package to take into account
SVN version control software used by Valgrind.
n-i-bz
Modified:
trunk/solaris/build_solaris_package
trunk/solaris/valgrind.p5m
Modified: trunk/solaris/build_solaris_package
==============================================================================
--- trunk/solaris/build_solaris_package (original)
+++ trunk/solaris/build_solaris_package Sat Aug 15 20:51:35 2015
@@ -1,8 +1,8 @@
#!/usr/bin/ksh
#
-# Builds a Solaris IPS package called "valgrind" from the project sources.
-# Sources are cloned and updated to the tag found in solaris/valgrind.p5m
-# IPS manifest.
+# Builds a Solaris IPS package called "valgrind" from the source
+# directory. The Valgrind and VEX revisions are taken from that
+# source directory and written to solaris/valgrind.p5m IPS manifest.
#
# Requires the following packages to be installed on Solaris 11:
# - data/xml-common (install first before any docbook ones!)
@@ -22,15 +22,15 @@
# - pkgrepo set -s $repo_uri publisher/prefix=valgrind
#
-TMPDIR=/var/tmp/valgrind-solaris-build
+TMPDIR=/var/tmp/valgrind-build
SRCDIR=$TMPDIR/sources
INSTALLDIR=$TMPDIR/install
-PROJECT_URL=https://bitbucket.org/iraisr/valgrind-solaris
IPS_MANIFEST=solaris/valgrind.p5m
usage() {
echo "Usage:"
- echo "build_solaris_package -s repo_uri [-r lint_repo_uri]"
+ echo "build_solaris_package -p source_dir -s repo_uri [-r lint_repo_uri]"
+ echo "\t-p source_dir contains working copy of the Valgrind sources"
echo "\t-s repo_uri publishes to the repository located at the given URI"
echo "\t or file system path"
echo "\t-r lint_repo_uri location of lint reference repository"
@@ -40,7 +40,7 @@
msg=$1
echo "\n$msg"
- echo "Additional information could be found in directory $TMPDIR"
+ echo "Additional information could be found in directory $TMPDIR."
exit 1
}
@@ -50,73 +50,77 @@
create_dirs() {
mkdir -p $TMPDIR
- (( $? != 0 )) && fail "Failed to create directory $TMPDIR"
+ (( $? != 0 )) && fail "Failed to create directory $TMPDIR."
mkdir -p $INSTALLDIR
- (( $? != 0 )) && fail "Failed to create directory $INSTALLDIR"
+ (( $? != 0 )) && fail "Failed to create directory $INSTALLDIR."
}
-clone_sources() {
- printf "Cloning valgrind-solaris sources... "
- hg --quiet clone --insecure $PROJECT_URL $SRCDIR 2> $TMPDIR/hg-clone.log.stderr
- (( $? != 0 )) && fail "Failed to clone repo from $PROJECT_URL"
+export_sources() {
+ printf "Exporting sources... "
+ svn export --quiet --ignore-externals $source_directory $SRCDIR \
+ 2> $TMPDIR/svn-export-valgrind.log.stderr
+ (( $? != 0 )) && fail "Failed to export working copy from $source_directory."
+ svn export --quiet --ignore-externals $source_directory/VEX $SRCDIR/VEX \
+ 2> $TMPDIR/svn-export-vex.log.stderr
+ (( $? != 0 )) && fail "Failed to export working copy from $source_directory/VEX."
printf "done.\n"
}
-update_sources_to_revision() {
- cd $SRCDIR
- tag=$( grep "pkg.fmri" $IPS_MANIFEST | tr -s ' ' | \
- sed -e 's/^.*developer\/debug\/valgrind@.*,//' )
- [[ -z $tag ]] && fail "Failed to find revision tag in $IPS_MANIFEST"
+modify_ips_manifest() {
+ valgrind_rev=$( svn info $source_directory | grep Revision | sed -e 's/Revision: //' )
+ vex_rev=$( svn info $source_directory/VEX | grep Revision | sed -e 's/Revision: //' )
- printf "Updating cloned sources to revision tag $tag... "
- hg --quiet update -r $tag
- (( $? != 0 )) && fail "Failed to update cloned sources to tag $tag"
- printf "done.\n"
+ [[ -z $valgrind_rev ]] && fail "Failed to find Valgrind revision."
+ [[ -z $vex_rev ]] && fail "Failed to find VEX revision."
+
+ echo "Valgrind revision: $valgrind_rev, VEX revision $vex_rev."
+
+ sed -i -e "s/VVVVV-XXXX/${valgrind_rev}-${vex_rev}/" $SRCDIR/$IPS_MANIFEST
}
run_autogen() {
printf "Creating autotools support files... "
./autogen.sh > $TMPDIR/autogen.log.stdout 2> $TMPDIR/autogen.log.stderr
- (( $? != 0 )) && fail "Failed to generate autotools support files"
+ (( $? != 0 )) && fail "Failed to generate autotools support files."
printf "done.\n"
}
run_configure() {
printf "Running configure... "
./configure CC='gcc -m64' CXX='g++ -m64' --prefix=/usr > $TMPDIR/configure.log
- (( $? != 0 )) && fail "Failed to run configure"
+ (( $? != 0 )) && fail "Failed to run configure."
printf "done.\n"
}
run_make_docs() {
printf "Making docs... "
make --directory=docs html-docs > $TMPDIR/make-docs.log.stdout 2> $TMPDIR/make-docs.log.stderr
- (( $? != 0 )) && fail "Failed to make html-docs"
+ (( $? != 0 )) && fail "Failed to make html-docs."
printf "done.\n"
}
run_make_man_pages() {
printf "Making man pages... "
make --directory=docs man-pages > $TMPDIR/make-man-pages.log.stdout 2> $TMPDIR/make-man-pages.log.stderr
- (( $? != 0 )) && fail "Failed to make man-pages"
+ (( $? != 0 )) && fail "Failed to make man-pages."
printf "done.\n"
}
run_make() {
printf "Running make... "
make --quiet > $TMPDIR/make.log
- (( $? != 0 )) && fail "Failed to run make"
+ (( $? != 0 )) && fail "Failed to run make."
printf "done.\n"
}
run_make_install() {
printf "Running 'make install'... "
make --quiet install DESTDIR=$INSTALLDIR > $TMPDIR/make-install.log
- (( $? != 0 )) && fail "Failed to run 'make install'"
+ (( $? != 0 )) && fail "Failed to run 'make install'."
cp AUTHORS COPYING* NEWS NEWS.old README* $INSTALLDIR/usr/share/doc/valgrind
- (( $? != 0 )) && fail "Failed to copy additional files to $INSTALLDIR"
+ (( $? != 0 )) && fail "Failed to copy additional files to $INSTALLDIR."
printf "done.\n"
}
@@ -124,25 +128,28 @@
run_pkglint() {
printf "Running pkglint... "
pkglint -c $TMPDIR/lint-cache -r $lint_repo_uri $SRCDIR/$IPS_MANIFEST > $TMPDIR/pkglint.log
- (( $? != 0 )) && fail "pkglint failed"
+ (( $? != 0 )) && fail "pkglint failed."
printf "done.\n"
}
publish_package() {
printf "Publishing package... "
pkgsend publish -s $repo_uri -d $INSTALLDIR $SRCDIR/solaris/valgrind.p5m > $TMPDIR/pkgsend.log
- (( $? != 0 )) && fail "Failed to publish the package"
+ (( $? != 0 )) && fail "Failed to publish the package."
printf "done.\n"
}
-while getopts "r:s:" args; do
+while getopts "p:r:s:" args; do
case $args in
- s)
- repo_uri=$OPTARG
+ p)
+ source_directory=$OPTARG
;;
r)
lint_repo_uri=$OPTARG
;;
+ s)
+ repo_uri=$OPTARG
+ ;;
*)
usage
exit 1
@@ -150,6 +157,12 @@
esac
done
+if [[ -z $source_directory ]]; then
+ echo "No source directory specified.\n"
+ usage
+ exit 1
+fi
+
if [[ -z $repo_uri ]]; then
echo "No repo_uri specified.\n"
usage
@@ -165,7 +178,7 @@
else
lint_repo_uri=$( echo "$publisher" | cut -d ' ' -f 5 )
fi
- [[ -z $lint_repo_uri ]] && fail "Failed to determine solaris IPS publisher"
+ [[ -z $lint_repo_uri ]] && fail "Failed to determine solaris IPS publisher."
echo "lint_repo_uri determined as $lint_repo_uri"
fi
@@ -174,8 +187,8 @@
create_dirs
cd $TMPDIR
-clone_sources
-update_sources_to_revision
+export_sources
+modify_ips_manifest
cd $SRCDIR
run_autogen
run_configure
Modified: trunk/solaris/valgrind.p5m
==============================================================================
--- trunk/solaris/valgrind.p5m (original)
+++ trunk/solaris/valgrind.p5m Sat Aug 15 20:51:35 2015
@@ -1,10 +1,10 @@
-set name=pkg.fmri value=developer/debug/valgrind@3.11.0,1508
+set name=pkg.fmri value=developer/debug/valgrind@3.11.0,VVVVV-XXXX
set name=pkg.description value="valgrind: instrumentation framework and tools to detect memory and threading problems"
set name=pkg.summary value="Valgrind is an award-winning instrumentation framework for building dynamic analysis tools. There are Valgrind tools that can automatically detect many memory management and threading bugs, and profile your programs in detail. You can also use Valgrind to build new tools. Currently x86 (32-bit) and amd64 (64-bit) platforms are supported."
set name=variant.arch value=i386
set name=info.classification value="org.opensolaris.category.2008:Development/System"
set name=info.upstream-url value=https://bitbucket.org/iraisr/valgrind-solaris
-set name=info.source-url value=https://bitbucket.org/iraisr/valgrind-solaris/get/r1508.tar.bz2
+set name=info.source-url value=http://valgrind.org/
# Contents:
dir path=usr/bin owner=root group=bin mode=0755
|
|
From: <sv...@va...> - 2015-08-15 12:21:51
|
Author: rhyskidd
Date: Sat Aug 15 13:21:42 2015
New Revision: 15553
Log:
Increase test coverage on OS X, by re-enabling the none/tests/amd64/avx2-1 regression test.
n-i-bz
(Unfortunately I don’t have right here the hw support, but build environment works)
$ perl tests/vg_regtest none/tests/amd64/avx2-1
avx2-1: (skipping, prereq failed: test -x avx2-1 && ../../../tests/x86_amd64_features amd64-avx)
== 0 tests, 0 stderr failures, 0 stdout failures, 0 stderrB failures, 0 stdoutB failures, 0 post failures ==
On OS X 10.10
Before:
== 594 tests, 215 stderr failures, 9 stdout failures, 0 stderrB failures, 0 stdoutB failures, 30 post failures ==
After:
== 594 tests, 215 stderr failures, 9 stdout failures, 0 stderrB failures, 0 stdoutB failures, 30 post failures ==
Modified:
trunk/none/tests/amd64/Makefile.am
trunk/none/tests/amd64/avx2-1.c
Modified: trunk/none/tests/amd64/Makefile.am
==============================================================================
--- trunk/none/tests/amd64/Makefile.am (original)
+++ trunk/none/tests/amd64/Makefile.am Sat Aug 15 13:21:42 2015
@@ -110,6 +110,11 @@
check_PROGRAMS += avx-1
endif
endif
+if BUILD_AVX2_TESTS
+if !COMPILER_IS_ICC
+ check_PROGRAMS += avx2-1
+endif
+endif
if BUILD_SSSE3_TESTS
check_PROGRAMS += ssse3_misaligned
endif
@@ -152,11 +157,6 @@
if BUILD_LOOPNEL_TESTS
check_PROGRAMS += loopnel
endif
-if BUILD_AVX2_TESTS
-if !COMPILER_IS_ICC
- check_PROGRAMS += avx2-1
-endif
-endif
endif
AM_CFLAGS += @FLAG_M64@
Modified: trunk/none/tests/amd64/avx2-1.c
==============================================================================
--- trunk/none/tests/amd64/avx2-1.c (original)
+++ trunk/none/tests/amd64/avx2-1.c Sat Aug 15 13:21:42 2015
@@ -9,7 +9,11 @@
typedef unsigned long int UWord;
typedef unsigned long long int ULong;
+#if defined(VGO_darwin)
UChar randArray[1027] __attribute__((used));
+#else
+UChar _randArray[1027] __attribute__((used));
+#endif
#define IS_32_ALIGNED(_ptr) (0 == (0x1F & (UWord)(_ptr)))
@@ -975,7 +979,7 @@
"vpslld $25, %%xmm7, %%xmm8;"
"vpsrld $25, %%xmm8, %%xmm8;"
"vblendvps %%xmm6, %%xmm8, %%xmm7, %%xmm8;"
- "leaq randArray(%%rip), %%r14;"
+ "leaq _randArray(%%rip), %%r14;"
"vgatherdps %%xmm6, 3(%%r14,%%xmm8,4), %%xmm9;"
"xorl %%r14d, %%r14d")
@@ -983,7 +987,7 @@
"vpslld $25, %%ymm7, %%ymm8;"
"vpsrld $25, %%ymm8, %%ymm8;"
"vblendvps %%ymm6, %%ymm8, %%ymm7, %%ymm8;"
- "leaq randArray(%%rip), %%r14;"
+ "leaq _randArray(%%rip), %%r14;"
"vgatherdps %%ymm6, 3(%%r14,%%ymm8,4), %%ymm9;"
"xorl %%r14d, %%r14d")
@@ -993,7 +997,7 @@
"vpmovsxdq %%xmm6, %%xmm9;"
"vblendvpd %%xmm9, %%xmm8, %%xmm7, %%xmm8;"
"vmovdqa 96(%0), %%ymm9;"
- "leaq randArray(%%rip), %%r14;"
+ "leaq _randArray(%%rip), %%r14;"
"vgatherqps %%xmm6, 3(%%r14,%%xmm8,4), %%xmm9;"
"xorl %%r14d, %%r14d")
@@ -1003,7 +1007,7 @@
"vpmovsxdq %%xmm6, %%ymm9;"
"vblendvpd %%ymm9, %%ymm8, %%ymm7, %%ymm8;"
"vmovdqa 96(%0), %%ymm9;"
- "leaq randArray(%%rip), %%r14;"
+ "leaq _randArray(%%rip), %%r14;"
"vgatherqps %%xmm6, 3(%%r14,%%ymm8,4), %%xmm9;"
"xorl %%r14d, %%r14d")
@@ -1013,7 +1017,7 @@
"vpmovsxdq %%xmm6, %%xmm9;"
"vblendvpd %%xmm9, %%xmm8, %%xmm7, %%xmm8;"
"vmovdqa 96(%0), %%ymm9;"
- "leaq randArray(%%rip), %%r14;"
+ "leaq _randArray(%%rip), %%r14;"
"vmovq %%r14, %%xmm7;"
"vpsllq $2, %%xmm8, %%xmm8;"
"vpbroadcastq %%xmm7, %%xmm7;"
@@ -1029,7 +1033,7 @@
"vpmovsxdq %%xmm6, %%ymm9;"
"vblendvpd %%ymm9, %%ymm8, %%ymm7, %%ymm8;"
"vmovdqa 96(%0), %%ymm9;"
- "leaq randArray(%%rip), %%r14;"
+ "leaq _randArray(%%rip), %%r14;"
"vmovq %%r14, %%xmm7;"
"vpsllq $2, %%ymm8, %%ymm8;"
"vpbroadcastq %%xmm7, %%ymm7;"
@@ -1045,7 +1049,7 @@
"vshufps $13, %%xmm6, %%xmm6, %%xmm9;"
"vblendvps %%xmm9, %%xmm8, %%xmm7, %%xmm8;"
"vmovdqa 96(%0), %%ymm9;"
- "leaq randArray(%%rip), %%r14;"
+ "leaq _randArray(%%rip), %%r14;"
"vgatherdpd %%xmm6, 3(%%r14,%%xmm8,8), %%xmm9;"
"xorl %%r14d, %%r14d")
@@ -1056,7 +1060,7 @@
"vshufps $221, %%ymm9, %%ymm6, %%ymm9;"
"vblendvps %%ymm9, %%ymm8, %%ymm7, %%ymm8;"
"vmovdqa 96(%0), %%ymm9;"
- "leaq randArray(%%rip), %%r14;"
+ "leaq _randArray(%%rip), %%r14;"
"vgatherdpd %%ymm6, 3(%%r14,%%xmm8,8), %%ymm9;"
"xorl %%r14d, %%r14d")
@@ -1064,7 +1068,7 @@
"vpsllq $58, %%xmm7, %%xmm8;"
"vpsrlq $58, %%xmm8, %%xmm8;"
"vblendvpd %%xmm6, %%xmm8, %%xmm7, %%xmm8;"
- "leaq randArray(%%rip), %%r14;"
+ "leaq _randArray(%%rip), %%r14;"
"vgatherqpd %%xmm6, 3(%%r14,%%xmm8,8), %%xmm9;"
"xorl %%r14d, %%r14d")
@@ -1072,7 +1076,7 @@
"vpsllq $58, %%ymm7, %%ymm8;"
"vpsrlq $58, %%ymm8, %%ymm8;"
"vblendvpd %%ymm6, %%ymm8, %%ymm7, %%ymm8;"
- "leaq randArray(%%rip), %%r14;"
+ "leaq _randArray(%%rip), %%r14;"
"vgatherqpd %%ymm6, 3(%%r14,%%ymm8,8), %%ymm9;"
"xorl %%r14d, %%r14d")
@@ -1080,7 +1084,7 @@
"vpsllq $58, %%xmm7, %%xmm8;"
"vpsrlq $58, %%xmm8, %%xmm8;"
"vblendvpd %%xmm6, %%xmm8, %%xmm7, %%xmm8;"
- "leaq randArray(%%rip), %%r14;"
+ "leaq _randArray(%%rip), %%r14;"
"vmovq %%r14, %%xmm7;"
"vpsllq $2, %%xmm8, %%xmm8;"
"vpbroadcastq %%xmm7, %%xmm7;"
@@ -1094,7 +1098,7 @@
"vpsllq $58, %%ymm7, %%ymm8;"
"vpsrlq $58, %%ymm8, %%ymm8;"
"vblendvpd %%ymm6, %%ymm8, %%ymm7, %%ymm8;"
- "leaq randArray(%%rip), %%r14;"
+ "leaq _randArray(%%rip), %%r14;"
"vmovq %%r14, %%xmm7;"
"vpsllq $2, %%ymm8, %%ymm8;"
"vpbroadcastq %%xmm7, %%ymm7;"
@@ -1108,7 +1112,7 @@
"vpslld $25, %%xmm7, %%xmm8;"
"vpsrld $25, %%xmm8, %%xmm8;"
"vblendvps %%xmm6, %%xmm8, %%xmm7, %%xmm8;"
- "leaq randArray(%%rip), %%r14;"
+ "leaq _randArray(%%rip), %%r14;"
"vpgatherdd %%xmm6, 3(%%r14,%%xmm8,4), %%xmm9;"
"xorl %%r14d, %%r14d")
@@ -1116,7 +1120,7 @@
"vpslld $25, %%ymm7, %%ymm8;"
"vpsrld $25, %%ymm8, %%ymm8;"
"vblendvps %%ymm6, %%ymm8, %%ymm7, %%ymm8;"
- "leaq randArray(%%rip), %%r14;"
+ "leaq _randArray(%%rip), %%r14;"
"vpgatherdd %%ymm6, 3(%%r14,%%ymm8,4), %%ymm9;"
"xorl %%r14d, %%r14d")
@@ -1126,7 +1130,7 @@
"vpmovsxdq %%xmm6, %%xmm9;"
"vblendvpd %%xmm9, %%xmm8, %%xmm7, %%xmm8;"
"vmovdqa 96(%0), %%ymm9;"
- "leaq randArray(%%rip), %%r14;"
+ "leaq _randArray(%%rip), %%r14;"
"vpgatherqd %%xmm6, 3(%%r14,%%xmm8,4), %%xmm9;"
"xorl %%r14d, %%r14d")
@@ -1136,7 +1140,7 @@
"vpmovsxdq %%xmm6, %%ymm9;"
"vblendvpd %%ymm9, %%ymm8, %%ymm7, %%ymm8;"
"vmovdqa 96(%0), %%ymm9;"
- "leaq randArray(%%rip), %%r14;"
+ "leaq _randArray(%%rip), %%r14;"
"vpgatherqd %%xmm6, 3(%%r14,%%ymm8,4), %%xmm9;"
"xorl %%r14d, %%r14d")
@@ -1146,7 +1150,7 @@
"vpmovsxdq %%xmm6, %%xmm9;"
"vblendvpd %%xmm9, %%xmm8, %%xmm7, %%xmm8;"
"vmovdqa 96(%0), %%ymm9;"
- "leaq randArray(%%rip), %%r14;"
+ "leaq _randArray(%%rip), %%r14;"
"vmovq %%r14, %%xmm7;"
"vpsllq $2, %%xmm8, %%xmm8;"
"vpbroadcastq %%xmm7, %%xmm7;"
@@ -1162,7 +1166,7 @@
"vpmovsxdq %%xmm6, %%ymm9;"
"vblendvpd %%ymm9, %%ymm8, %%ymm7, %%ymm8;"
"vmovdqa 96(%0), %%ymm9;"
- "leaq randArray(%%rip), %%r14;"
+ "leaq _randArray(%%rip), %%r14;"
"vmovq %%r14, %%xmm7;"
"vpsllq $2, %%ymm8, %%ymm8;"
"vpbroadcastq %%xmm7, %%ymm7;"
@@ -1178,7 +1182,7 @@
"vshufps $13, %%xmm6, %%xmm6, %%xmm9;"
"vblendvps %%xmm9, %%xmm8, %%xmm7, %%xmm8;"
"vmovdqa 96(%0), %%ymm9;"
- "leaq randArray(%%rip), %%r14;"
+ "leaq _randArray(%%rip), %%r14;"
"vpgatherdq %%xmm6, 3(%%r14,%%xmm8,8), %%xmm9;"
"xorl %%r14d, %%r14d")
@@ -1189,7 +1193,7 @@
"vshufps $221, %%ymm9, %%ymm6, %%ymm9;"
"vblendvps %%ymm9, %%ymm8, %%ymm7, %%ymm8;"
"vmovdqa 96(%0), %%ymm9;"
- "leaq randArray(%%rip), %%r14;"
+ "leaq _randArray(%%rip), %%r14;"
"vpgatherdq %%ymm6, 3(%%r14,%%xmm8,8), %%ymm9;"
"xorl %%r14d, %%r14d")
@@ -1197,7 +1201,7 @@
"vpsllq $58, %%xmm7, %%xmm8;"
"vpsrlq $58, %%xmm8, %%xmm8;"
"vblendvpd %%xmm6, %%xmm8, %%xmm7, %%xmm8;"
- "leaq randArray(%%rip), %%r14;"
+ "leaq _randArray(%%rip), %%r14;"
"vpgatherqq %%xmm6, 3(%%r14,%%xmm8,8), %%xmm9;"
"xorl %%r14d, %%r14d")
@@ -1205,7 +1209,7 @@
"vpsllq $58, %%ymm7, %%ymm8;"
"vpsrlq $58, %%ymm8, %%ymm8;"
"vblendvpd %%ymm6, %%ymm8, %%ymm7, %%ymm8;"
- "leaq randArray(%%rip), %%r14;"
+ "leaq _randArray(%%rip), %%r14;"
"vpgatherqq %%ymm6, 3(%%r14,%%ymm8,8), %%ymm9;"
"xorl %%r14d, %%r14d")
@@ -1213,7 +1217,7 @@
"vpsllq $58, %%xmm7, %%xmm8;"
"vpsrlq $58, %%xmm8, %%xmm8;"
"vblendvpd %%xmm6, %%xmm8, %%xmm7, %%xmm8;"
- "leaq randArray(%%rip), %%r14;"
+ "leaq _randArray(%%rip), %%r14;"
"vmovq %%r14, %%xmm7;"
"vpsllq $2, %%xmm8, %%xmm8;"
"vpbroadcastq %%xmm7, %%xmm7;"
@@ -1227,7 +1231,7 @@
"vpsllq $58, %%ymm7, %%ymm8;"
"vpsrlq $58, %%ymm8, %%ymm8;"
"vblendvpd %%ymm6, %%ymm8, %%ymm7, %%ymm8;"
- "leaq randArray(%%rip), %%r14;"
+ "leaq _randArray(%%rip), %%r14;"
"vmovq %%r14, %%xmm7;"
"vpsllq $2, %%ymm8, %%ymm8;"
"vpbroadcastq %%xmm7, %%ymm7;"
@@ -1466,7 +1470,11 @@
DO_D( VPMASKMOVD_256_StoreForm );
DO_D( VPMASKMOVQ_128_StoreForm );
DO_D( VPMASKMOVQ_256_StoreForm );
+#if defined(VGO_darwin)
{ int i; for (i = 0; i < sizeof(randArray); i++) randArray[i] = randUChar(); }
+#else
+ { int i; for (i = 0; i < sizeof(_randArray); i++) _randArray[i] = randUChar(); }
+#endif
DO_D( VGATHERDPS_128 );
DO_D( VGATHERDPS_256 );
DO_D( VGATHERQPS_128_1 );
|
|
From: <sv...@va...> - 2015-08-15 11:40:34
|
Author: rhyskidd
Date: Sat Aug 15 12:40:27 2015
New Revision: 15552
Log:
Preliminary OS X memalign() shim work, although this specific regression test remains guarded due to clang build issues with _randArray.
Modified:
trunk/none/tests/amd64/avx2-1.c
Modified: trunk/none/tests/amd64/avx2-1.c
==============================================================================
--- trunk/none/tests/amd64/avx2-1.c (original)
+++ trunk/none/tests/amd64/avx2-1.c Sat Aug 15 12:40:27 2015
@@ -2,7 +2,7 @@
#include <stdio.h>
#include <stdlib.h>
#include <assert.h>
-#include <malloc.h>
+#include "tests/malloc.h"
typedef unsigned char UChar;
typedef unsigned int UInt;
@@ -65,7 +65,7 @@
\
__attribute__ ((noinline)) static void test_##_name ( void ) \
{ \
- Block* b = memalign(32, sizeof(Block)); \
+ Block* b = memalign32(sizeof(Block)); \
randBlock(b); \
printf("%s(reg)\n", #_name); \
showBlock("before", b); \
|
|
From: <sv...@va...> - 2015-08-15 11:16:43
|
Author: rhyskidd
Date: Sat Aug 15 12:16:35 2015
New Revision: 15551
Log:
Increase test coverage on OS X, by re-enabling the memcheck/tests/amd64/xsave-avx regression tests with a handy memalign() shim.
n-i-bz
(Unfortunately I don’t have right here the hw support, but build environment works)
$ perl tests/vg_regtest memcheck/tests/amd64/xsave-avx
xsave-avx: (skipping, prereq failed: test -x xsave-avx && ../../../tests/x86_amd64_features amd64-avx)
== 0 tests, 0 stderr failures, 0 stdout failures, 0 stderrB failures, 0 stdoutB failures, 0 post failures ==
On OS X 10.10
Before:
== 594 tests, 215 stderr failures, 9 stdout failures, 0 stderrB failures, 0 stdoutB failures, 30 post failures ==
After:
== 594 tests, 215 stderr failures, 9 stdout failures, 0 stderrB failures, 0 stdoutB failures, 30 post failures ==
Modified:
trunk/memcheck/tests/amd64/Makefile.am
trunk/memcheck/tests/amd64/xsave-avx.c
trunk/tests/malloc.h
Modified: trunk/memcheck/tests/amd64/Makefile.am
==============================================================================
--- trunk/memcheck/tests/amd64/Makefile.am (original)
+++ trunk/memcheck/tests/amd64/Makefile.am Sat Aug 15 12:16:35 2015
@@ -46,10 +46,7 @@
sse_memory \
xor-undef-amd64
if BUILD_AVX_TESTS
- check_PROGRAMS += sh-mem-vec256
-if !VGCONF_OS_IS_DARWIN
- check_PROGRAMS += xsave-avx
-endif
+ check_PROGRAMS += sh-mem-vec256 xsave-avx
endif
if HAVE_ASM_CONSTRAINT_P
check_PROGRAMS += insn-pcmpistri
Modified: trunk/memcheck/tests/amd64/xsave-avx.c
==============================================================================
--- trunk/memcheck/tests/amd64/xsave-avx.c (original)
+++ trunk/memcheck/tests/amd64/xsave-avx.c Sat Aug 15 12:16:35 2015
@@ -54,9 +54,9 @@
return dest;
}
-static void* memalign_zeroed(size_t alignment, size_t size)
+static void* memalign_zeroed64(size_t size)
{
- char* p = memalign(alignment, size);
+ char* p = memalign64(size);
if (p && size > 0) {
my_memset(p, 0, size);
}
@@ -203,7 +203,7 @@
UInt rfbm;
for (rfbm = 0; rfbm <= 7; rfbm++) {
- UChar* saved_img = memalign_zeroed(64, XSAVE_AREA_SIZE);
+ UChar* saved_img = memalign_zeroed64(XSAVE_AREA_SIZE);
my_memset(saved_img, 0xAA, XSAVE_AREA_SIZE);
saved_img[512] = 0;
@@ -236,7 +236,7 @@
neither zero nor the data to be loaded. We choose to use 0x55
where possible. */
- UChar* fives = memalign_zeroed(64, XSAVE_AREA_SIZE);
+ UChar* fives = memalign_zeroed64(XSAVE_AREA_SIZE);
my_memset(fives, 0x55, XSAVE_AREA_SIZE);
/* Set MXCSR so that the insn doesn't fault */
fives[24] = 0x80;
@@ -259,7 +259,7 @@
fives[4/*FTW*/] = 0xFF;
/* (1) (see comment in loop below) */
- UChar* standard_test_data = memalign_zeroed(64, XSAVE_AREA_SIZE);
+ UChar* standard_test_data = memalign_zeroed64(XSAVE_AREA_SIZE);
do_setup_then_xsave(standard_test_data, 7);
UInt xstate_bv, rfbm;
@@ -283,12 +283,12 @@
/* (3a). We can't use |standard_test_data| directly, since we
need to put in the required |xstate_bv| value. So make a
copy and modify that instead. */
- UChar* img_to_restore_from = memalign_zeroed(64, XSAVE_AREA_SIZE);
+ UChar* img_to_restore_from = memalign_zeroed64(XSAVE_AREA_SIZE);
my_memcpy(img_to_restore_from, standard_test_data, XSAVE_AREA_SIZE);
img_to_restore_from[512] = xstate_bv;
/* (4a) */
- UChar* saved_img = memalign_zeroed(64, XSAVE_AREA_SIZE);
+ UChar* saved_img = memalign_zeroed64(XSAVE_AREA_SIZE);
my_memset(saved_img, 0xAA, XSAVE_AREA_SIZE);
saved_img[512] = 0;
Modified: trunk/tests/malloc.h
==============================================================================
--- trunk/tests/malloc.h (original)
+++ trunk/tests/malloc.h Sat Aug 15 12:16:35 2015
@@ -41,3 +41,19 @@
return x;
}
+// Allocates a 64-aligned block. Asserts if the allocation fails.
+__attribute__((unused))
+static void* memalign64(size_t szB)
+{
+ void* x;
+#if defined(VGO_darwin)
+ // Darwin lacks memalign
+ posix_memalign((void **)&x, 64, szB);
+#else
+ x = memalign(64, szB);
+#endif
+ assert(x);
+ assert(0 == ((64-1) & (unsigned long)x));
+ return x;
+}
+
|
|
From: <sv...@va...> - 2015-08-15 11:04:11
|
Author: rhyskidd
Date: Sat Aug 15 12:04:02 2015
New Revision: 15550
Log:
Increase test coverage on OS X, by re-enabling the none/tests/amd64/avx-1 regression tests with a handy memalign() shim.
n-i-bz
(Unfortunately I don’t have right here the hw support, but build environment works)
$ perl tests/vg_regtest none/tests/amd64/avx-1
avx-1: (skipping, prereq failed: test -x avx-1 && ../../../tests/x86_amd64_features amd64-avx)
== 0 tests, 0 stderr failures, 0 stdout failures, 0 stderrB failures, 0 stdoutB failures, 0 post failures ==
On OS X 10.10
Before:
== 594 tests, 215 stderr failures, 9 stdout failures, 0 stderrB failures, 0 stdoutB failures, 30 post failures ==
After:
== 594 tests, 215 stderr failures, 9 stdout failures, 0 stderrB failures, 0 stdoutB failures, 30 post failures ==
Modified:
trunk/none/tests/amd64/Makefile.am
trunk/none/tests/amd64/avx-1.c
Modified: trunk/none/tests/amd64/Makefile.am
==============================================================================
--- trunk/none/tests/amd64/Makefile.am (original)
+++ trunk/none/tests/amd64/Makefile.am Sat Aug 15 12:04:02 2015
@@ -105,6 +105,11 @@
if BUILD_ADDR32_TESTS
check_PROGRAMS += asorep
endif
+if BUILD_AVX_TESTS
+if BUILD_VPCLMULQDQ_TESTS
+ check_PROGRAMS += avx-1
+endif
+endif
if BUILD_SSSE3_TESTS
check_PROGRAMS += ssse3_misaligned
endif
@@ -147,11 +152,6 @@
if BUILD_LOOPNEL_TESTS
check_PROGRAMS += loopnel
endif
-if BUILD_AVX_TESTS
-if BUILD_VPCLMULQDQ_TESTS
- check_PROGRAMS += avx-1
-endif
-endif
if BUILD_AVX2_TESTS
if !COMPILER_IS_ICC
check_PROGRAMS += avx2-1
Modified: trunk/none/tests/amd64/avx-1.c
==============================================================================
--- trunk/none/tests/amd64/avx-1.c (original)
+++ trunk/none/tests/amd64/avx-1.c Sat Aug 15 12:04:02 2015
@@ -2,7 +2,7 @@
#include <stdio.h>
#include <stdlib.h>
#include <assert.h>
-#include <malloc.h>
+#include "tests/malloc.h"
typedef unsigned char UChar;
typedef unsigned int UInt;
@@ -63,7 +63,7 @@
\
__attribute__ ((noinline)) static void test_##_name ( void ) \
{ \
- Block* b = memalign(32, sizeof(Block)); \
+ Block* b = memalign32(sizeof(Block)); \
randBlock(b); \
printf("%s(reg)\n", #_name); \
showBlock("before", b); \
|
Author: rhyskidd
Date: Sat Aug 15 11:47:55 2015
New Revision: 15549
Log:
Increase test coverage on OS X, by re-enabling the none/tests/*/movbe regression tests with a handy memalign() shim.
n-i-bz
$ perl tests/vg_regtest none/tests/x86/movbe none/tests/amd64/movbe
movbe: valgrind -q ./movbe
movbe: valgrind -q ./movbe
== 2 tests, 0 stderr failures, 0 stdout failures, 0 stderrB failures, 0 stdoutB failures, 0 post failures ==
On OS X 10.10
Before:
== 592 tests, 215 stderr failures, 9 stdout failures, 0 stderrB failures, 0 stdoutB failures, 30 post failures ==
After:
== 594 tests, 215 stderr failures, 9 stdout failures, 0 stderrB failures, 0 stdoutB failures, 30 post failures ==
Modified:
trunk/none/tests/amd64/Makefile.am
trunk/none/tests/amd64/movbe.c
trunk/none/tests/x86/Makefile.am
trunk/none/tests/x86/movbe.c
trunk/tests/malloc.h
Modified: trunk/none/tests/amd64/Makefile.am
==============================================================================
--- trunk/none/tests/amd64/Makefile.am (original)
+++ trunk/none/tests/amd64/Makefile.am Sat Aug 15 11:47:55 2015
@@ -111,6 +111,9 @@
if BUILD_LZCNT_TESTS
check_PROGRAMS += lzcnt64
endif
+if BUILD_MOVBE_TESTS
+ check_PROGRAMS += movbe
+endif
if BUILD_SSE42_TESTS
check_PROGRAMS += \
pcmpstr64 pcmpxstrx64 sse4-64 crc32 aes \
@@ -144,9 +147,6 @@
if BUILD_LOOPNEL_TESTS
check_PROGRAMS += loopnel
endif
-if BUILD_MOVBE_TESTS
- check_PROGRAMS += movbe
-endif
if BUILD_AVX_TESTS
if BUILD_VPCLMULQDQ_TESTS
check_PROGRAMS += avx-1
Modified: trunk/none/tests/amd64/movbe.c
==============================================================================
--- trunk/none/tests/amd64/movbe.c (original)
+++ trunk/none/tests/amd64/movbe.c Sat Aug 15 11:47:55 2015
@@ -2,7 +2,7 @@
#include <stdio.h>
#include <stdlib.h>
#include <assert.h>
-#include <malloc.h>
+#include "tests/malloc.h"
typedef unsigned char UChar;
typedef unsigned int UInt;
@@ -43,7 +43,7 @@
\
__attribute__ ((noinline)) static void test_##_name ( void ) \
{ \
- Block* b = memalign(32, sizeof(Block)); \
+ Block* b = memalign32(sizeof(Block)); \
randBlock(b); \
printf("%s\n", #_name); \
showBlock("before", b); \
Modified: trunk/none/tests/x86/Makefile.am
==============================================================================
--- trunk/none/tests/x86/Makefile.am (original)
+++ trunk/none/tests/x86/Makefile.am Sat Aug 15 11:47:55 2015
@@ -119,10 +119,10 @@
if BUILD_LZCNT_TESTS
check_PROGRAMS += lzcnt32
endif
-if !VGCONF_OS_IS_DARWIN
if BUILD_MOVBE_TESTS
- check_PROGRAMS += movbe
+ check_PROGRAMS += movbe
endif
+if !VGCONF_OS_IS_DARWIN
if !SOLARIS_SUN_STUDIO_AS
# Sun Studio assembler fails to assemble the bound instruction
check_PROGRAMS += faultstatus
Modified: trunk/none/tests/x86/movbe.c
==============================================================================
--- trunk/none/tests/x86/movbe.c (original)
+++ trunk/none/tests/x86/movbe.c Sat Aug 15 11:47:55 2015
@@ -2,7 +2,7 @@
#include <stdio.h>
#include <stdlib.h>
#include <assert.h>
-#include <malloc.h>
+#include "tests/malloc.h"
typedef unsigned char UChar;
typedef unsigned int UInt;
@@ -43,7 +43,7 @@
\
__attribute__ ((noinline)) static void test_##_name ( void ) \
{ \
- Block* b = memalign(32, sizeof(Block)); \
+ Block* b = memalign32(sizeof(Block)); \
randBlock(b); \
printf("%s\n", #_name); \
showBlock("before", b); \
Modified: trunk/tests/malloc.h
==============================================================================
--- trunk/tests/malloc.h (original)
+++ trunk/tests/malloc.h Sat Aug 15 11:47:55 2015
@@ -23,5 +23,21 @@
assert(x);
assert(0 == ((16-1) & (unsigned long)x));
return x;
-}
+}
+
+// Allocates a 32-aligned block. Asserts if the allocation fails.
+__attribute__((unused))
+static void* memalign32(size_t szB)
+{
+ void* x;
+#if defined(VGO_darwin)
+ // Darwin lacks memalign
+ posix_memalign((void **)&x, 32, szB);
+#else
+ x = memalign(32, szB);
+#endif
+ assert(x);
+ assert(0 == ((32-1) & (unsigned long)x));
+ return x;
+}
|
|
From: <sv...@va...> - 2015-08-15 08:55:22
|
Author: rhyskidd
Date: Sat Aug 15 09:55:14 2015
New Revision: 15548
Log:
Plumb through memalign16() rather than having four implementations of the same code. n-i-bz.
Modified:
trunk/none/tests/amd64/sse4-64.c
trunk/none/tests/arm64/fp_and_simd.c
trunk/none/tests/arm64/memory.c
Modified: trunk/none/tests/amd64/sse4-64.c
==============================================================================
--- trunk/none/tests/amd64/sse4-64.c (original)
+++ trunk/none/tests/amd64/sse4-64.c Sat Aug 15 09:55:14 2015
@@ -12,35 +12,10 @@
#include <stdio.h>
#include <stdlib.h>
#include <assert.h>
-//#include "tests/malloc.h" // reenable when reintegrated
+#include "tests/malloc.h"
#include <string.h>
-
-// rmme when reintegrated
-// Allocates a 16-aligned block. Asserts if the allocation fails.
-#ifdef VGO_darwin
-#include <stdlib.h>
-#else
-#include <malloc.h>
-#endif
-__attribute__((unused))
-static void* memalign16(size_t szB)
-{
- void* x;
-#if defined(VGO_darwin)
- // Darwin lacks memalign, but its malloc is always 16-aligned anyway.
- x = malloc(szB);
-#else
- x = memalign(16, szB);
-#endif
- assert(x);
- assert(0 == ((16-1) & (unsigned long)x));
- return x;
-}
-
-
-
typedef unsigned char V128[16];
typedef unsigned int UInt;
typedef signed int Int;
Modified: trunk/none/tests/arm64/fp_and_simd.c
==============================================================================
--- trunk/none/tests/arm64/fp_and_simd.c (original)
+++ trunk/none/tests/arm64/fp_and_simd.c Sat Aug 15 09:55:14 2015
@@ -3,6 +3,7 @@
#include <assert.h>
#include <malloc.h> // memalign
#include <string.h> // memset
+#include "tests/malloc.h"
#include <math.h> // isnormal
typedef unsigned char UChar;
@@ -92,16 +93,6 @@
}
}
-__attribute__((unused))
-static void* memalign16(size_t szB)
-{
- void* x;
- x = memalign(16, szB);
- assert(x);
- assert(0 == ((16-1) & (unsigned long)x));
- return x;
-}
-
static ULong dup4x16 ( UInt x )
{
ULong r = x & 0xF;
Modified: trunk/none/tests/arm64/memory.c
==============================================================================
--- trunk/none/tests/arm64/memory.c (original)
+++ trunk/none/tests/arm64/memory.c Sat Aug 15 09:55:14 2015
@@ -6,6 +6,7 @@
#include <stdio.h>
#include <malloc.h> // memalign
#include <string.h> // memset
+#include "tests/malloc.h"
#include <assert.h>
typedef unsigned char UChar;
@@ -20,16 +21,6 @@
#define False ((Bool)0)
#define True ((Bool)1)
-__attribute__((noinline))
-static void* memalign16(size_t szB)
-{
- void* x;
- x = memalign(16, szB);
- assert(x);
- assert(0 == ((16-1) & (unsigned long)x));
- return x;
-}
-
static inline UChar randUChar ( void )
{
static UInt seed = 80021;
|
|
From: <sv...@va...> - 2015-08-15 07:40:12
|
Author: rhyskidd
Date: Sat Aug 15 08:40:06 2015
New Revision: 15547
Log:
Update for VEX r3173.
Modified:
trunk/NEWS
Modified: trunk/NEWS
==============================================================================
--- trunk/NEWS (original)
+++ trunk/NEWS Sat Aug 15 08:40:06 2015
@@ -290,6 +290,7 @@
349874 Fix typos in source code
349828 memcpy intercepts memmove causing src/dst overlap error (ppc64 ld.so)
349941 di_notify_mmap might create wrong start/size DebugInfoMapping
+350062 vex x86->IR: unhandled instruction bytes: 0x66 0xF 0x3A 0xB (ROUNDSD) on OS X
350202 Add limited param to 'monitor block_list'
350809 Fix none/tests/async-sigs for Solaris
350811 Remove reference to --db-attach which has been removed.
|
|
From: <sv...@va...> - 2015-08-15 07:39:35
|
Author: rhyskidd
Date: Sat Aug 15 08:39:27 2015
New Revision: 3173
Log:
vex x86->IR: unhandled instruction bytes: 0x66 0xF 0x3A 0xB (ROUNDSD) on OS X
bz#350062
On OS X 10.10
Before:
== 592 tests, 216 stderr failures, 9 stdout failures, 0 stderrB failures, 0 stdoutB failures, 30 post failures ==
After:
== 592 tests, 215 stderr failures, 9 stdout failures, 0 stderrB failures, 0 stdoutB failures, 30 post failures ==
Modified:
trunk/priv/guest_x86_toIR.c
Modified: trunk/priv/guest_x86_toIR.c
==============================================================================
--- trunk/priv/guest_x86_toIR.c (original)
+++ trunk/priv/guest_x86_toIR.c Sat Aug 15 08:39:27 2015
@@ -12885,7 +12885,7 @@
*/
if (sz == 2
&& insn[0] == 0x0F && insn[1] == 0x3A
- && (/*insn[2] == 0x0B || */insn[2] == 0x0A)) {
+ && (insn[2] == 0x0B || insn[2] == 0x0A)) {
Bool isD = insn[2] == 0x0B;
IRTemp src = newTemp(isD ? Ity_F64 : Ity_F32);
|
|
From: <sv...@va...> - 2015-08-15 07:07:09
|
Author: rhyskidd
Date: Sat Aug 15 08:06:57 2015
New Revision: 15546
Log:
Add regression test for bz#350062 - vex x86->IR: unhandled instruction bytes: 0x66 0xF 0x3A 0xB (ROUNDSD) on OS X.
Added:
trunk/none/tests/x86-darwin/bug350062.c
trunk/none/tests/x86-darwin/bug350062.stderr.exp
trunk/none/tests/x86-darwin/bug350062.vgtest
Modified:
trunk/none/tests/x86-darwin/ (props changed)
trunk/none/tests/x86-darwin/Makefile.am
Modified: trunk/none/tests/x86-darwin/Makefile.am
==============================================================================
--- trunk/none/tests/x86-darwin/Makefile.am (original)
+++ trunk/none/tests/x86-darwin/Makefile.am Sat Aug 15 08:06:57 2015
@@ -5,10 +5,12 @@
filter_stderr
EXTRA_DIST = \
- bug341419.vgtest bug341419.stderr.exp
+ bug341419.vgtest bug341419.stderr.exp \
+ bug350062.vgtest bug350062.stderr.exp
check_PROGRAMS = \
- bug341419
+ bug341419 \
+ bug350062
AM_CFLAGS += @FLAG_M32@ $(FLAG_MMMX) $(FLAG_MSSE)
AM_CXXFLAGS += @FLAG_M32@ $(FLAG_MMMX) $(FLAG_MSSE)
Added: trunk/none/tests/x86-darwin/bug350062.c
==============================================================================
--- trunk/none/tests/x86-darwin/bug350062.c (added)
+++ trunk/none/tests/x86-darwin/bug350062.c Sat Aug 15 08:06:57 2015
@@ -0,0 +1,16 @@
+#include <stdio.h>
+#include <stdlib.h>
+#include <math.h>
+
+// Refer https://bugs.kde.org/show_bug.cgi?id=350062
+
+int main(int argc, char **argv)
+{
+ double x = 1.1;
+ double i = floor(x);
+
+ (void)i;
+
+ fprintf(stderr, "PASS\n");
+ return 0;
+}
Added: trunk/none/tests/x86-darwin/bug350062.stderr.exp
==============================================================================
--- trunk/none/tests/x86-darwin/bug350062.stderr.exp (added)
+++ trunk/none/tests/x86-darwin/bug350062.stderr.exp Sat Aug 15 08:06:57 2015
@@ -0,0 +1 @@
+PASS
Added: trunk/none/tests/x86-darwin/bug350062.vgtest
==============================================================================
--- trunk/none/tests/x86-darwin/bug350062.vgtest (added)
+++ trunk/none/tests/x86-darwin/bug350062.vgtest Sat Aug 15 08:06:57 2015
@@ -0,0 +1,3 @@
+prog: bug350062
+vgopts: -q
+cleanup: rm -f vgcore.*
|