• Home
  • History
  • Annotate
  • only in /external/valgrind/none/tests/x86/
History log of /external/valgrind/none/tests/x86/
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
ed39800a83baf5bffbe391f3974eb2af0f415f80 21-Jun-2017 Elliott Hughes <enh@google.com> Upgrade to valgrind 3.13.0 (15 June 2017).

Release 3.13.0 (15 June 2017)
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

3.13.0 is a feature release with many improvements and the usual collection of
bug fixes.

This release supports X86/Linux, AMD64/Linux, ARM32/Linux, ARM64/Linux,
PPC32/Linux, PPC64BE/Linux, PPC64LE/Linux, S390X/Linux, MIPS32/Linux,
MIPS64/Linux, ARM/Android, ARM64/Android, MIPS32/Android, X86/Android,
X86/Solaris, AMD64/Solaris and AMD64/MacOSX 10.12.

* ==================== CORE CHANGES ===================

* The translation cache size has been increased to keep up with the demands of
large applications. The maximum number of sectors has increased from 24 to
48. The default number of sectors has increased from 16 to 32 on all
targets except Android, where the increase is from 6 to 12.

* The amount of memory that Valgrind can use has been increased from 64GB to
128GB. In particular this means your application can allocate up to about
60GB when running on Memcheck.

* Valgrind's default load address has been changed from 0x3800'0000 to
0x5800'0000, so as to make it possible to load larger executables. This
should make it possible to load executables of size at least 1200MB.

* A massive spaceleak caused by reading compressed debuginfo files has been
fixed. Valgrind should now be entirely usable with gcc-7.0 "-gz" created
debuginfo.

* The C++ demangler has been updated.

* Support for demangling Rust symbols has been added.

* A new representation of stack traces, the "XTree", has been added. An XTree
is a tree of stacktraces with data associated with the stacktraces. This is
used by various tools (Memcheck, Helgrind, Massif) to report on the heap
consumption of your program. Reporting is controlled by the new options
--xtree-memory=none|allocs|full and --xtree-memory-file=<file>.

A report can also be produced on demand using the gdbserver monitor command
'xtmemory [<filename>]>'. The XTree can be output in 2 formats: 'callgrind
format' and 'massif format. The existing visualisers for these formats (e.g.
callgrind_annotate, KCachegrind, ms_print) can be used to visualise and
analyse these reports.

Memcheck can also produce XTree leak reports using the Callgrind file
format. For more details, see the user manual.

* ================== PLATFORM CHANGES =================

* ppc64: support for ISA 3.0B and various fixes for existing 3.0 support

* amd64: fixes for JIT failure problems on long AVX2 code blocks

* amd64 and x86: support for CET prefixes has been added

* arm32: a few missing ARMv8 instructions have been implemented

* arm64, mips64, mips32: an alternative implementation of Load-Linked and
Store-Conditional instructions has been added. This is to deal with
processor implementations that implement the LL/SC specifications strictly
and as a result cause Valgrind to hang in certain situations. The
alternative implementation is automatically enabled at startup, as required.
You can use the option --sim-hints=fallback-llsc to force-enable it if you
want.

* Support for OSX 10.12 has been improved.

* On Linux, clone handling has been improved to honour CLONE_VFORK that
involves a child stack. Note however that CLONE_VFORK | CLONE_VM is handled
like CLONE_VFORK (by removing CLONE_VM), so applications that depend on
CLONE_VM exact semantics will (still) not work.

* The TileGX/Linux port has been removed because it appears to be both unused
and unsupported.

* ==================== TOOL CHANGES ====================

* Memcheck:

- Memcheck should give fewer false positives when running optimised
Clang/LLVM generated code.

- Support for --xtree-memory and 'xtmemory [<filename>]>'.

- New command line options --xtree-leak=no|yes and --xtree-leak-file=<file>
to produce the end of execution leak report in a xtree callgrind format
file.

- New option 'xtleak' in the memcheck leak_check monitor command, to produce
the leak report in an xtree file.

* Massif:

- Support for --xtree-memory and 'xtmemory [<filename>]>'.

- For some workloads (typically, for big applications), Massif memory
consumption and CPU consumption has decreased significantly.

* Helgrind:

- Support for --xtree-memory and 'xtmemory [<filename>]>'.

- addition of client request VALGRIND_HG_GNAT_DEPENDENT_MASTER_JOIN, useful
for Ada gnat compiled applications.

* ==================== OTHER CHANGES ====================

* For Valgrind developers: in an outer/inner setup, the outer Valgrind will
append the inner guest stacktrace to the inner host stacktrace. This helps
to investigate the errors reported by the outer, when they are caused by the
inner guest program (such as an inner regtest). See README_DEVELOPERS for
more info.

* To allow fast detection of callgrind files by desktop environments and file
managers, the format was extended to have an optional first line that
uniquely identifies the format ("# callgrind format"). Callgrind creates
this line now, as does the new xtree functionality.

* File name template arguments (such as --log-file, --xtree-memory-file, ...)
have a new %n format letter that is replaced by a sequence number.

* "--version -v" now shows the SVN revision numbers from which Valgrind was
built.

* ==================== FIXED BUGS ====================

The following bugs have been fixed or resolved. Note that "n-i-bz"
stands for "not in bugzilla" -- that is, a bug that was reported to us
but never got a bugzilla entry. We encourage you to file bugs in
bugzilla (https://bugs.kde.org/enter_bug.cgi?product=valgrind) rather
than mailing the developers (or mailing lists) directly -- bugs that
are not entered into bugzilla tend to get forgotten about or ignored.

To see details of a given bug, visit
https://bugs.kde.org/show_bug.cgi?id=XXXXXX
where XXXXXX is the bug number as listed below.

162848 --log-file output isn't split when a program forks
340777 Illegal instruction on mips (ar71xx)
341481 MIPS64: Iop_CmpNE32 triggers false warning on MIPS64 platforms
342040 Valgrind mishandles clone with CLONE_VFORK | CLONE_VM that clones
to a different stack.
344139 x86 stack-seg overrides, needed by the Wine people
344524 store conditional of guest applications always fail - observed on
Octeon3(MIPS)
348616 Wine/valgrind: noted but unhandled ioctl 0x5390 [..] (DVD_READ_STRUCT)
352395 Please provide SVN revision info in --version -v
352767 Wine/valgrind: noted but unhandled ioctl 0x5307 [..] (CDROMSTOP)
356374 Assertion 'DRD_(g_threadinfo)[tid].pt_threadid !=
INVALID_POSIX_THREADID' failed
358213 helgrind/drd bar_bad testcase hangs or crashes with new glibc pthread
barrier implementation
358697 valgrind.h: Some code remains even when defining NVALGRIND
359202 Add musl libc configure/compile
360415 amd64 instructions ADCX and ADOX are not implemented in VEX
== 372828 (vex amd64->IR: 0x66 0xF 0x3A 0x62 0x4A 0x10)
360429 unhandled ioctl 0x530d with no size/direction hints (CDROMREADMODE1)
362223 assertion failed when .valgrindrc is a directory instead of a file
367543 bt/btc/btr/bts x86/x86_64 instructions are poorly-handled wrt flags
367942 Segfault vgPlain_do_sys_sigaction (m_signals.c:1138)
368507 can't malloc chunks larger than about 34GB
368529 Android arm target link error, missing atexit and pthread_atfork
368863 WARNING: unhandled arm64-linux syscall: 100 (get_robust_list)
368865 WARNING: unhandled arm64-linux syscall: 272 (kcmp)
368868 disInstr(arm64): unhandled instruction 0xD53BE000 = cntfrq_el0 (ARMv8)
368917 WARNING: unhandled arm64-linux syscall: 218 (request_key)
368918 WARNING: unhandled arm64-linux syscall: 127 (sched_rr_get_interval)
368922 WARNING: unhandled arm64-linux syscall: 161 (sethostname)
368924 WARNING: unhandled arm64-linux syscall: 84 (sync_file_range)
368925 WARNING: unhandled arm64-linux syscall: 130 (tkill)
368926 WARNING: unhandled arm64-linux syscall: 97 (unshare)
369459 valgrind on arm64 violates the ARMv8 spec (ldxr/stxr)
370028 Reduce the number of compiler warnings on MIPS platforms
370635 arm64 missing syscall getcpu
371225 Fix order of timer_{gettime,getoverrun,settime} syscalls on arm64
371227 Clean AArch64 syscall table
371412 Rename wrap_sys_shmat to sys_shmat like other wrappers
371471 Valgrind complains about non legit memory leaks on placement new (C++)
371491 handleAddrOverrides() is [incorrect] when ASO prefix is used
371503 disInstr(arm64): unhandled instruction 0xF89F0000
371869 support '%' in symbol Z-encoding
371916 execution tree xtree concept
372120 c++ demangler demangles symbols which are not c++
372185 Support of valgrind on ARMv8 with 32 bit executable
372188 vex amd64->IR: 0x66 0xF 0x3A 0x62 0x4A 0x10 0x10 0x48 (PCMPxSTRx $0x10)
372195 Power PC, xxsel instruction is not always recognized.
372504 Hanging on exit_group
372600 process loops forever when fatal signals are arriving quickly
372794 LibVEX (arm32 front end): 'Assertion szBlg2 <= 3' failed
373046 Stacks registered by core are never deregistered
373069 memcheck/tests/leak_cpp_interior fails with GCC 5.1+
373086 Implement additional Xen hypercalls
373192 Calling posix_spawn in glibc 2.24 completely broken
373488 Support for fanotify API on ARM64 architecture
== 368864 WARNING: unhandled arm64-linux syscall: 262 (fanotify_init)
373555 Rename BBPTR to GSPTR as it denotes guest state pointer only
373938 const IRExpr arguments for matchIRExpr()
374719 some spelling fixes
374963 increase valgrind's load address to prevent mmap failure
375514 valgrind_get_tls_addr() does not work in case of static TLS
375772 +1 error in get_elf_symbol_info() when computing value of 'hi' address
for ML_(find_rx_mapping)()
375806 Test helgrind/tests/tc22_exit_w_lock fails with glibc 2.24
375839 Temporary storage exhausted, with long sequence of vfmadd231ps insns
== 377159 "vex: the `impossible' happened" still present
== 375150 Assertion 'tres.status == VexTransOK' failed
== 378068 valgrind crashes on AVX2 function in FFmpeg
376142 Segfaults on MIPS Cavium Octeon boards
376279 disInstr(arm64): unhandled instruction 0xD50320FF
376455 Solaris: unhandled syscall lgrpsys(180)
376518 Solaris: unhandled fast trap getlgrp(6)
376611 ppc64 and arm64 don't know about prlimit64 syscall
376729 PPC64, remove R2 from the clobber list
== 371668
376956 syswrap of SNDDRV and DRM_IOCTL_VERSION causing some addresses
to be wrongly marked as addressable
377066 Some Valgrind unit tests fail to compile on Ubuntu 16.10 with
PIE enabled by default
377376 memcheck/tests/linux/getregset fails with glibc2.24
377427 PPC64, lxv instruction failing on odd destination register
377478 PPC64: ISA 3.0 setup fixes
377698 Missing memory check for futex() uaddr arg for FUTEX_WAKE
and FUTEX_WAKE_BITSET, check only 4 args for FUTEX_WAKE_BITSET,
and 2 args for FUTEX_TRYLOCK_PI
377717 Fix massive space leak when reading compressed debuginfo sections
377891 Update Xen 4.6 domctl wrappers
377930 fcntl syscall wrapper is missing flock structure check
378524 libvexmultiarch_test regression on s390x and ppc64
378535 Valgrind reports INTERNAL ERROR in execve syscall wrapper
378673 Update libiberty demangler
378931 Add ISA 3.0B additional isnstructions, add OV32, CA32 setting support
379039 syscall wrapper for prctl(PR_SET_NAME) must not check more than 16 bytes
379094 Valgrind reports INTERNAL ERROR in rt_sigsuspend syscall wrapper
379371 UNKNOWN task message [id 3444, to mach_task_self(), reply 0x603]
(task_register_dyld_image_infos)
379372 UNKNOWN task message [id 3447, to mach_task_self(), reply 0x603]
(task_register_dyld_shared_cache_image_info)
379390 unhandled syscall: mach:70 (host_create_mach_voucher_trap)
379473 MIPS: add support for rdhwr cycle counter register
379504 remove TileGX/Linux port
379525 Support more x86 nop opcodes
379838 disAMode(x86): not an addr!
379703 PC ISA 3.0 fixes: stxvx, stxv, xscmpexpdp instructions
379890 arm: unhandled instruction: 0xEBAD 0x1B05 (sub.w fp, sp, r5, lsl #4)
379895 clock_gettime does not execute POST syscall wrapper
379925 PPC64, mtffs does not set the FPCC and C bits in the FPSCR correctly
379966 WARNING: unhandled amd64-linux syscall: 313 (finit_module)
380200 xtree generated callgrind files refer to files without directory name
380202 Assertion failure for cache line size (cls == 64) on aarch64.
380397 s390x: __GI_strcspn() replacement needed
n-i-bz Fix pub_tool_basics.h build issue with g++ 4.4.7.

(3.13.0.RC1: 2 June 2017, vex r3386, valgrind r16434)
(3.13.0.RC2: 9 June 2017, vex r3389, valgrind r16443)
(3.13.0: 14 June 2017, vex r3396, valgrind r16446)

Bug: N/A
Test: manual
Change-Id: Id4498a49f462c3689cbcb35c15f96a8c7e3cea17
akefile.am
akefile.in
et_nops.c
et_nops.stderr.exp
et_nops.stdout.exp
et_nops.vgtest
hift_ndep.c
a0664b9ca67b594bd6f570a61d3301167a24750c 19-Apr-2017 Elliott Hughes <enh@google.com> Upgrade to valgrind 3.12.0.

Release 3.12.0 (20 October 2016)
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

3.12.0 is a feature release with many improvements and the usual
collection of bug fixes.

This release supports X86/Linux, AMD64/Linux, ARM32/Linux,
ARM64/Linux, PPC32/Linux, PPC64BE/Linux, PPC64LE/Linux, S390X/Linux,
MIPS32/Linux, MIPS64/Linux, ARM/Android, ARM64/Android,
MIPS32/Android, X86/Android, X86/Solaris, AMD64/Solaris, X86/MacOSX
10.10 and AMD64/MacOSX 10.10. There is also preliminary support for
X86/MacOSX 10.11/12, AMD64/MacOSX 10.11/12 and TILEGX/Linux.

* ================== PLATFORM CHANGES =================

* POWER: Support for ISA 3.0 has been added

* mips: support for O32 FPXX ABI has been added.
* mips: improved recognition of different processors
* mips: determination of page size now done at run time

* amd64: Partial support for AMD FMA4 instructions.

* arm, arm64: Support for v8 crypto and CRC instructions.

* Improvements and robustification of the Solaris port.

* Preliminary support for MacOS 10.12 (Sierra) has been added.

Whilst 3.12.0 continues to support the 32-bit x86 instruction set, we
would prefer users to migrate to 64-bit x86 (a.k.a amd64 or x86_64)
where possible. Valgrind's support for 32-bit x86 has stagnated in
recent years and has fallen far behind that for 64-bit x86
instructions. By contrast 64-bit x86 is well supported, up to and
including AVX2.

* ==================== TOOL CHANGES ====================

* Memcheck:

- Added meta mempool support for describing a custom allocator which:
- Auto-frees all chunks assuming that destroying a pool destroys all
objects in the pool
- Uses itself to allocate other memory blocks

- New flag --ignore-range-below-sp to ignore memory accesses below
the stack pointer, if you really have to. The related flag
--workaround-gcc296-bugs=yes is now deprecated. Use
--ignore-range-below-sp=1024-1 as a replacement.

* DRD:

- Improved thread startup time significantly on non-Linux platforms.

* DHAT

- Added collection of the metric "tot-blocks-allocd"

* ==================== OTHER CHANGES ====================

* Replacement/wrapping of malloc/new related functions is now done not just
for system libraries by default, but for any globally defined malloc/new
related function (both in shared libraries and statically linked alternative
malloc implementations). The dynamic (runtime) linker is excluded, though.
To only intercept malloc/new related functions in
system libraries use --soname-synonyms=somalloc=nouserintercepts (where
"nouserintercepts" can be any non-existing library name).
This new functionality is not implemented for MacOS X.

* The maximum number of callers in a suppression entry is now equal to
the maximum size for --num-callers (500).
Note that --gen-suppressions=yes|all similarly generates suppressions
containing up to --num-callers frames.

* New and modified GDB server monitor features:

- Valgrind's gdbserver now accepts the command 'catch syscall'.
Note that you must have GDB >= 7.11 to use 'catch syscall' with
gdbserver.

* New option --run-cxx-freeres=<yes|no> can be used to change whether
__gnu_cxx::__freeres() cleanup function is called or not. Default is
'yes'.

* Valgrind is able to read compressed debuginfo sections in two formats:
- zlib ELF gABI format with SHF_COMPRESSED flag (gcc option -gz=zlib)
- zlib GNU format with .zdebug sections (gcc option -gz=zlib-gnu)

* Modest JIT-cost improvements: the cost of instrumenting code blocks
for the most common use case (x86_64-linux, Memcheck) has been
reduced by 10%-15%.

* Improved performance for programs that do a lot of discarding of
instruction address ranges of 8KB or less.

* The C++ symbol demangler has been updated.

* More robustness against invalid syscall parameters on Linux.

* ==================== FIXED BUGS ====================

The following bugs have been fixed or resolved. Note that "n-i-bz"
stands for "not in bugzilla" -- that is, a bug that was reported to us
but never got a bugzilla entry. We encourage you to file bugs in
bugzilla (https://bugs.kde.org/enter_bug.cgi?product=valgrind) rather
than mailing the developers (or mailing lists) directly -- bugs that
are not entered into bugzilla tend to get forgotten about or ignored.

To see details of a given bug, visit
https://bugs.kde.org/show_bug.cgi?id=XXXXXX
where XXXXXX is the bug number as listed below.

191069 Exiting due to signal not reported in XML output
199468 Suppressions: stack size limited to 25
while --num-callers allows more frames
212352 vex amd64 unhandled opc_aux = 0x 2, first_opcode == 0xDC (FCOM)
278744 cvtps2pd with redundant RexW
303877 valgrind doesn't support compressed debuginfo sections.
345307 Warning about "still reachable" memory when using libstdc++ from gcc 5
348345 Assertion fails for negative lineno
351282 V 3.10.1 MIPS softfloat build broken with GCC 4.9.3 / binutils 2.25.1
351692 Dumps created by valgrind are not readable by gdb (mips32 specific)
351804 Crash on generating suppressions for "printf" call on OS X 10.10
352197 mips: mmap2() not wrapped correctly for page size > 4096
353083 arm64 doesn't implement various xattr system calls
353084 arm64 doesn't support sigpending system call
353137 www: update info for Supported Platforms
353138 www: update "The Valgrind Developers" page
353370 don't advertise RDRAND in cpuid for Core-i7-4910-like avx2 machine
== 365325
== 357873
353384 amd64->IR: 0x66 0xF 0x3A 0x62 0xD1 0x62 (pcmpXstrX $0x62)
353398 WARNING: unhandled amd64-solaris syscall: 207
353660 XML in auxwhat tag not escaping reserved symbols properly
353680 s390x: Crash with certain glibc versions due to non-implemented TBEGIN
353727 amd64->IR: 0x66 0xF 0x3A 0x62 0xD1 0x72 (pcmpXstrX $0x72)
353802 ELF debug info reader confused with multiple .rodata sections
353891 Assert 'bad_scanned_addr < VG_ROUNDDN(start+len, sizeof(Addr))' failed
353917 unhandled amd64-solaris syscall fchdir(120)
353920 unhandled amd64-solaris syscall: 170
354274 arm: unhandled instruction: 0xEBAD 0x0AC1 (sub.w sl, sp, r1, lsl #3)
354392 unhandled amd64-solaris syscall: 171
354797 Vbit test does not include Iops for Power 8 instruction support
354883 tst->os_state.pthread - magic_delta assertion failure on OSX 10.11
== 361351
== 362920
== 366222
354933 Fix documentation of --kernel-variant=android-no-hw-tls option
355188 valgrind should intercept all malloc related global functions
355454 do not intercept malloc related symbols from the runtime linker
355455 stderr.exp of test cases wrapmalloc and wrapmallocstatic overconstrained
356044 Dwarf line info reader misinterprets is_stmt register
356112 mips: replace addi with addiu
356393 valgrind (vex) crashes because isZeroU happened
== 363497
== 364497
356676 arm64-linux: unhandled syscalls 125, 126 (sched_get_priority_max/min)
356678 arm64-linux: unhandled syscall 232 (mincore)
356817 valgrind.h triggers compiler errors on MSVC when defining NVALGRIND
356823 Unsupported ARM instruction: stlex
357059 x86/amd64: SSE cvtpi2ps with memory source does transition to MMX state
357338 Unhandled instruction for SHA instructions libcrypto Boring SSL
357673 crash if I try to run valgrind with a binary link with libcurl
357833 Setting RLIMIT_DATA to zero breaks with linux 4.5+
357871 pthread_spin_destroy not properly wrapped
357887 Calls to VG_(fclose) do not close the file descriptor
357932 amd64->IR: accept redundant REX prefixes for {minsd,maxsd} m128, xmm.
358030 support direct socket calls on x86 32bit (new in linux 4.3)
358478 drd/tests/std_thread.cpp doesn't build with GCC6
359133 Assertion 'eltSzB <= ddpa->poolSzB' failed
359181 Buffer Overflow during Demangling
359201 futex syscall "skips" argument 5 if op is FUTEX_WAIT_BITSET
359289 s390x: popcnt (B9E1) not implemented
359472 The Power PC vsubuqm instruction doesn't always give the correct result
359503 Add missing syscalls for aarch64 (arm64)
359645 "You need libc6-dbg" help message could be more helpful
359703 s390: wire up separate socketcalls system calls
359724 getsockname might crash - deref_UInt should call safe_to_deref
359733 amd64 implement ld.so strchr/index override like x86
359767 Valgrind does not support the IBM POWER ISA 3.0 instructions, part 1/5
359829 Power PC test suite none/tests/ppc64/test_isa_2_07.c uses
uninitialized data
359838 arm64: Unhandled instruction 0xD5033F5F (clrex)
359871 Incorrect mask handling in ppoll
359952 Unrecognised PCMPESTRM variants (0x70, 0x19)
360008 Contents of Power vr registers contents is not printed correctly when
the --vgdb-shadow-registers=yes option is used
360035 POWER PC instruction bcdadd and bcdsubtract generate result with
non-zero shadow bits
360378 arm64: Unhandled instruction 0x5E280844 (sha1h s4, s2)
360425 arm64 unsupported instruction ldpsw
== 364435
360519 none/tests/arm64/memory.vgtest might fail with newer gcc
360571 Error about the Android Runtime reading below the stack pointer on ARM
360574 Wrong parameter type for an ashmem ioctl() call on Android and ARM64
360749 kludge for multiple .rodata sections on Solaris no longer needed
360752 raise the number of reserved fds in m_main.c from 10 to 12
361207 Valgrind does not support the IBM POWER ISA 3.0 instructions, part 2/5
361226 s390x: risbgn (EC59) not implemented
361253 [s390x] ex_clone.c:42: undefined reference to `pthread_create'
361354 ppc64[le]: wire up separate socketcalls system calls
361615 Inconsistent termination for multithreaded process terminated by signal
361926 Unhandled Solaris syscall: sysfs(84)
362009 V dumps core on unimplemented functionality before threads are created
362329 Valgrind does not support the IBM POWER ISA 3.0 instructions, part 3/5
362894 missing (broken) support for wbit field on mtfsfi instruction (ppc64)
362935 [AsusWRT] Assertion 'sizeof(TTEntryC) <= 88' failed
362953 Request for an update to the Valgrind Developers page
363680 add renameat2() support
363705 arm64 missing syscall name_to_handle_at and open_by_handle_at
363714 ppc64 missing syscalls sync, waitid and name_to/open_by_handle_at
363858 Valgrind does not support the IBM POWER ISA 3.0 instructions, part 4/5
364058 clarify in manual limitations of array overruns detections
364413 pselect sycallwrapper mishandles NULL sigmask
364728 Power PC, missing support for several HW registers in
get_otrack_shadow_offset_wrk()
364948 Valgrind does not support the IBM POWER ISA 3.0 instructions, part 5/5
365273 Invalid write to stack location reported after signal handler runs
365912 ppc64BE segfault during jm-insns test (RELRO)
366079 FPXX Support for MIPS32 Valgrind
366138 Fix configure errors out when using Xcode 8 (clang 8.0.0)
366344 Multiple unhandled instruction for Aarch64
(0x0EE0E020, 0x1AC15800, 0x4E284801, 0x5E040023, 0x5E056060)
367995 Integration of memcheck with custom memory allocator
368120 x86_linux asm _start functions do not keep 16-byte aligned stack pointer
368412 False positive result for altivec capability check
368416 Add tc06_two_races_xml.exp output for ppc64
368419 Perf Events ioctls not implemented
368461 mmapunmap test fails on ppc64
368823 run_a_thread_NORETURN assembly code typo for VGP_arm64_linux target
369000 AMD64 fma4 instructions unsupported.
369169 ppc64 fails jm_int_isa_2_07 test
369175 jm_vec_isa_2_07 test crashes on ppc64
369209 valgrind loops and eats up all memory if cwd doesn't exist.
369356 pre_mem_read_sockaddr syscall wrapper can crash with bad sockaddr
369359 msghdr_foreachfield can crash when handling bad iovec
369360 Bad sigprocmask old or new sets can crash valgrind
369361 vmsplice syscall wrapper crashes on bad iovec
369362 Bad sigaction arguments crash valgrind
369383 x86 sys_modify_ldt wrapper crashes on bad ptr
369402 Bad set/get_thread_area pointer crashes valgrind
369441 bad lvec argument crashes process_vm_readv/writev syscall wrappers
369446 valgrind crashes on unknown fcntl command
369439 S390x: Unhandled insns RISBLG/RISBHG and LDE/LDER
369468 Remove quadratic metapool algorithm using VG_(HT_remove_at_Iter)
370265 ISA 3.0 HW cap stuff needs updating
371128 BCD add and subtract instructions on Power BE in 32-bit mode do not work
n-i-bz Fix incorrect (or infinite loop) unwind on RHEL7 x86 and amd64
n-i-bz massif --pages-as-heap=yes does not report peak caused by mmap+munmap
n-i-bz false positive leaks due to aspacemgr merging heap & non heap segments
n-i-bz Fix ppoll_alarm exclusion on OS X
n-i-bz Document brk segment limitation, reference manual in limit reached msg.
n-i-bz Fix clobber list in none/tests/amd64/xacq_xrel.c [valgrind r15737]
n-i-bz Bump allowed shift value for "add.w reg, sp, reg, lsl #N" [vex r3206]
n-i-bz amd64: memcheck false positive with shr %edx
n-i-bz arm3: Allow early writeback of SP base register in "strd rD, [sp, #-16]"
n-i-bz ppc: Fix two cases of PPCAvFpOp vs PPCFpOp enum confusion
n-i-bz arm: Fix incorrect register-number constraint check for LDAEX{,B,H,D}
n-i-bz DHAT: added collection of the metric "tot-blocks-allocd"

(3.12.0.RC1: 20 October 2016, vex r3282, valgrind r16094)
(3.12.0.RC2: 20 October 2016, vex r3282, valgrind r16096)
(3.12.0: 21 October 2016, vex r3282, valgrind r16098)

Bug: http://b/37470713
Bug: http://b/29251682
Test: ran runtests-arm(64)?.sh and the bug reporter's specific binary (32- and 64-bit)
Change-Id: I43ccbea946d89fc4ae9f355181ac5061d6ce4453
akefile.in
llexec.c
nsn_fpu.def
nsn_fpu.stdout.exp
281f0e9c42ddd6e7fd64259da20c7b2ab9065ae9 01-Sep-2015 florian <florian@a5019735-40e9-0310-863c-91ae7b9d1cf9> clang miscompiles faultstatus.c function test5().
First it choses %eax as the 1st operand of the bound insn.
Then it complains that %eax is invalid.


git-svn-id: svn://svn.valgrind.org/valgrind/trunk@15610 a5019735-40e9-0310-863c-91ae7b9d1cf9
akefile.am
681b46684c13289b82caa7d590efe61672ec517e 15-Aug-2015 rhyskidd <rhyskidd@a5019735-40e9-0310-863c-91ae7b9d1cf9> 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 ==


git-svn-id: svn://svn.valgrind.org/valgrind/trunk@15549 a5019735-40e9-0310-863c-91ae7b9d1cf9
akefile.am
ovbe.c
4f2fe912abec53b5ccee80b431d5e946f108d8f0 24-Jul-2015 rhyskidd <rhyskidd@a5019735-40e9-0310-863c-91ae7b9d1cf9> Properly conditionalise these tests, now that they are guarded on certain combinations of operating system and compiler.

git-svn-id: svn://svn.valgrind.org/valgrind/trunk@15446 a5019735-40e9-0310-863c-91ae7b9d1cf9
nsn_sse.vgtest
nsn_sse2.vgtest
nsn_sse3.vgtest
a18a5282938fa0ca4fde9a0df4a1c437a6e78270 23-Jul-2015 rhyskidd <rhyskidd@a5019735-40e9-0310-863c-91ae7b9d1cf9> Resolve makefile consistency error at conclusion of make regtest

git-svn-id: svn://svn.valgrind.org/valgrind/trunk@15443 a5019735-40e9-0310-863c-91ae7b9d1cf9
akefile.am
308a98ce89721751e44324ab1ecf80e1d9736f87 23-Jul-2015 rhyskidd <rhyskidd@a5019735-40e9-0310-863c-91ae7b9d1cf9> Partial fix for bz#344416 - Fix make regtest does not work cleanly on OS X (2).

git-svn-id: svn://svn.valgrind.org/valgrind/trunk@15441 a5019735-40e9-0310-863c-91ae7b9d1cf9
akefile.am
906b2dc3d87609e7a4cd82c661fcb1b0b51f5053 23-Jul-2015 rhyskidd <rhyskidd@a5019735-40e9-0310-863c-91ae7b9d1cf9> Partial fix for bz#344416 - Fix make regtest does not work cleanly on OS X.

git-svn-id: svn://svn.valgrind.org/valgrind/trunk@15440 a5019735-40e9-0310-863c-91ae7b9d1cf9
akefile.am
8eb8bab992e3998c33770b0cdb16059a8b918a06 21-Jul-2015 sewardj <sewardj@a5019735-40e9-0310-863c-91ae7b9d1cf9> Bug 345248 - add support for Solaris OS in valgrind

Authors of this port:
Petr Pavlu setup@dagobah.cz
Ivo Raisr ivosh@ivosh.net
Theo Schlossnagle theo@omniti.com



git-svn-id: svn://svn.valgrind.org/valgrind/trunk@15426 a5019735-40e9-0310-863c-91ae7b9d1cf9
akefile.am
adseg.stdout.exp-solaris
t_everything.c
t_everything.stdout.exp
puid_s.S
ilter_inf_nan
xtract.vgtest
86locked.c
86locked.stdout.exp
f0c61390ae03dcb744aed12c4953194e0ea11c23 23-May-2015 rhyskidd <rhyskidd@a5019735-40e9-0310-863c-91ae7b9d1cf9> Unguard none/tests/x86/cse_fail on OS X, as the test completes. n-i-bz.

git-svn-id: svn://svn.valgrind.org/valgrind/trunk@15281 a5019735-40e9-0310-863c-91ae7b9d1cf9
akefile.am
710d307506542fa87261e95afc32e4cc5a1adafa 06-May-2015 philippe <philippe@a5019735-40e9-0310-863c-91ae7b9d1cf9> Fix also the rm vgcore of a disabled test (also spotted by Matthias Schwarzott)


git-svn-id: svn://svn.valgrind.org/valgrind/trunk@15187 a5019735-40e9-0310-863c-91ae7b9d1cf9
nt.disabled
c4fe430c41766b18dae84cea8bc8f9b8b01e378c 12-Oct-2014 sewardj <sewardj@a5019735-40e9-0310-863c-91ae7b9d1cf9> Hide .version directives in assembly code on Mac, since XCode doesn't
seem to like them. Patch from Rhys Kidd (rhyskidd@gmail.com).
Fixes #339688.


git-svn-id: svn://svn.valgrind.org/valgrind/trunk@14623 a5019735-40e9-0310-863c-91ae7b9d1cf9
puid_s.S
4612846e5f0984904e96650f50e013cb18fa33fb 01-May-2014 sewardj <sewardj@a5019735-40e9-0310-863c-91ae7b9d1cf9> Add test cases for out-of-range argument handling for x87 instructions
FSIN, FCOS, FSINCOS and FPTAN. Mozilla bug 995564.


git-svn-id: svn://svn.valgrind.org/valgrind/trunk@13921 a5019735-40e9-0310-863c-91ae7b9d1cf9
akefile.am
87trigOOR.c
87trigOOR.stderr.exp
87trigOOR.stdout.exp
87trigOOR.vgtest
7c6a0003a9466af7099d30205c25db7328bc1332 27-Aug-2013 mjw <mjw@a5019735-40e9-0310-863c-91ae7b9d1cf9> Support mmxext (integer sse) subset on i386 (athlon). Bug #323713

Some processors like the AMD Athlon "Classic" support mmxext,
a sse1 subset. This subset is not properly detected by VEX.
The subset uses the same encoding as the sse1 instructions.

The subset is described at:
http://support.amd.com/us/Embedded_TechDocs/22466.pdf
https://en.wikipedia.org/wiki/3DNow!#3DNow.21_extensions

Detects mmxext subset from cpuid information (and enables it
when full sse1 is found). Also fixes the prereq of
none/tests/x86/insn_mmxext.vgtest so that it also runs when
full sse1 (and not just the mmxext subset) is found.
It already passed on such configurations. With the VEX patch
(r2745) it also passes with just the mmxext subset.

git-svn-id: svn://svn.valgrind.org/valgrind/trunk@13515 a5019735-40e9-0310-863c-91ae7b9d1cf9
nsn_mmxext.vgtest
b331c1bcc9a1d7171b80d062bd66925181603637 06-Dec-2012 sewardj <sewardj@a5019735-40e9-0310-863c-91ae7b9d1cf9> The Signedness Police visit a couple of outlying systems in the Delta
Quadrant.


git-svn-id: svn://svn.valgrind.org/valgrind/trunk@13166 a5019735-40e9-0310-863c-91ae7b9d1cf9
t_everything.c
t_literal.c
4915c5222df00598ab9a59833267e151afb839aa 24-Aug-2012 sewardj <sewardj@a5019735-40e9-0310-863c-91ae7b9d1cf9> Add tests for MOVBE in 32 bit mode. See 304867. (Ambroz Bizjak,
ambrop7@gmail.com)


git-svn-id: svn://svn.valgrind.org/valgrind/trunk@12889 a5019735-40e9-0310-863c-91ae7b9d1cf9
akefile.am
ovbe.c
ovbe.stderr.exp
ovbe.stdout.exp
ovbe.vgtest
3e1e218a8b3166cdd805d927aba6274f6a65ff4f 28-Jan-2012 bart <bart@a5019735-40e9-0310-863c-91ae7b9d1cf9> none/tests/x86/bug125959-x86 language conformance fix: do not trigger signed integer overflow. Fixes #292628.

git-svn-id: svn://svn.valgrind.org/valgrind/trunk@12358 a5019735-40e9-0310-863c-91ae7b9d1cf9
ug125959-x86.c
2aeaf8e8f171a27a2ca6c2c71df4ba7527099f52 11-Dec-2011 philippe <philippe@a5019735-40e9-0310-863c-91ae7b9d1cf9> fix 286270 VG_(env_remove_valgrind_env_stuff)

rev 12001 has introduced a regression in VG_(env_remove_valgrind_env_stuff):
to avoid modifying a possibly read-only env string, the string is duplicated,
and the copy is modified. However, mash_env_column modifies the string
"in-place". The modified string was not put back in the env (and could not,
because the src string is only partially copied).

This means that the valgrind preload strings were not cleaned up and
when a 32 bit executable execs a 64 bits (or vice versa: 64 bit execs 32 bits),
LD_PRELOAD contains both the 32 bits and 64 bits versions of Valgrind
vgpreload.... => ld.so then gives an error msg, as it can't preload either
the 32 or the 64 bits version.


The patch fixes this by duplicating the whole env string, and passing
to mash_colon_env a pointer to the correct offset in the whole env string.
The duplicated string is replacing the original entry in envp.

This patch adds two regression tests : none/tests/allexec32 and
none/tests/allexec64. On a bi-arch valgrind, these will be 32bits and 64 bits
executables, exec-ing each other. On a single arch, one will be a symlink
to the other (to avoid different .exp files, and still test exec).



git-svn-id: svn://svn.valgrind.org/valgrind/trunk@12287 a5019735-40e9-0310-863c-91ae7b9d1cf9
akefile.am
llexec.c
c443b96204e332af3624bc348c5ee16b33854a38 28-Oct-2011 florian <florian@a5019735-40e9-0310-863c-91ae7b9d1cf9> Fix the configure test for ssse3 support. GCC needs -msse or it
will reject the xmm7 clobber in the code snippet.
Fix the prereqs for the ssse3 tests. It is possible that hardware
supports ssse3 but the tool chain does not. So we need to have the
testcase executable as a prerequisite.


git-svn-id: svn://svn.valgrind.org/valgrind/trunk@12251 a5019735-40e9-0310-863c-91ae7b9d1cf9
nsn_ssse3.vgtest
sse3_misaligned.vgtest
2a8ef7b8d8a1c9653a22f8a02fa95eb00d8ffea6 20-Oct-2011 bart <bart@a5019735-40e9-0310-863c-91ae7b9d1cf9> Remove filter_int because not used anywhere

git-svn-id: svn://svn.valgrind.org/valgrind/trunk@12178 a5019735-40e9-0310-863c-91ae7b9d1cf9
ilter_int
ed52992a2ddc4be505b7a8a93a0b123cdc9a968b 07-Oct-2011 sewardj <sewardj@a5019735-40e9-0310-863c-91ae7b9d1cf9> Add a new .stdout.exp file, for older glibcs that print negative nans
without a minus sign.


git-svn-id: svn://svn.valgrind.org/valgrind/trunk@12119 a5019735-40e9-0310-863c-91ae7b9d1cf9
akefile.am
xtract.stdout.exp-older-glibc
6e9de463ef677f093e9f24f126e1b11c28cf59fd 28-Jun-2011 sewardj <sewardj@a5019735-40e9-0310-863c-91ae7b9d1cf9> Delete the AIX5 port. The last release this worked for is 3.4.1,
and then only on AIX 5.2 and 5.3.


git-svn-id: svn://svn.valgrind.org/valgrind/trunk@11842 a5019735-40e9-0310-863c-91ae7b9d1cf9
add.c
536081d46054dedf00d3264f7e806b412e179fef 15-May-2011 bart <bart@a5019735-40e9-0310-863c-91ae7b9d1cf9> Silence compiler warnings triggered by certain regression tests programs and that we are not interested in.

git-svn-id: svn://svn.valgrind.org/valgrind/trunk@11758 a5019735-40e9-0310-863c-91ae7b9d1cf9
akefile.am
f976f6c216f0cc80e27e1d38e7df5369595aa442 03-Apr-2011 bart <bart@a5019735-40e9-0310-863c-91ae7b9d1cf9> git-svn-id: svn://svn.valgrind.org/valgrind/trunk@11682 a5019735-40e9-0310-863c-91ae7b9d1cf9
ad_aam.c
d5ea6f504536f745bc8cc3b67da837bee6f8de25 28-Mar-2011 tom <tom@a5019735-40e9-0310-863c-91ae7b9d1cf9> Use two separate assembler argument bindings for loading or storing
a value in an xmm register as trying to do it with offsets from a
single argument apparently causes problems in newer gcc versions.

Fix to bug #266931.


git-svn-id: svn://svn.valgrind.org/valgrind/trunk@11672 a5019735-40e9-0310-863c-91ae7b9d1cf9
en_insn_test.pl
6647d5237ae9024c1780546f74275f81fd83c8d9 28-Mar-2011 tom <tom@a5019735-40e9-0310-863c-91ae7b9d1cf9> Fix generated assembler which writes the result to memory to correctly
use an =m constraint to indicate that the address will be written to.

Partial fix to bug #266931.


git-svn-id: svn://svn.valgrind.org/valgrind/trunk@11671 a5019735-40e9-0310-863c-91ae7b9d1cf9
en_insn_test.pl
1b6def82d703a18802c74d9f9a7a9cc35f82ad6a 26-Mar-2011 sewardj <sewardj@a5019735-40e9-0310-863c-91ae7b9d1cf9> Add a test case for non-overwriting of CC_NDEP in shifts by zero.
See #269354. (Stephen McCamant, smcc@CS.Berkeley.EDU)


git-svn-id: svn://svn.valgrind.org/valgrind/trunk@11667 a5019735-40e9-0310-863c-91ae7b9d1cf9
akefile.am
hift_ndep.c
hift_ndep.stderr.exp
hift_ndep.stdout.exp
hift_ndep.vgtest
de486f7b64f21820aaddd2d5b067e12fb6f56107 05-Mar-2011 bart <bart@a5019735-40e9-0310-863c-91ae7b9d1cf9> Skip test programs that do not build on Darwin.

git-svn-id: svn://svn.valgrind.org/valgrind/trunk@11586 a5019735-40e9-0310-863c-91ae7b9d1cf9
akefile.am
7603b6b4a5f7027ed06b2c0cb4bff8c73487a49d 17-Jan-2011 sewardj <sewardj@a5019735-40e9-0310-863c-91ae7b9d1cf9> Add tests for AAD and AAM (base 10 only).
(Vince Weaver, vince@csl.cornell.edu)



git-svn-id: svn://svn.valgrind.org/valgrind/trunk@11502 a5019735-40e9-0310-863c-91ae7b9d1cf9
akefile.am
ad_aam.c
ad_aam.stderr.exp
ad_aam.stdout.exp
ad_aam.vgtest
1e05e894b9ac5fd245d8e884f01b3f55090aa312 28-Sep-2010 sewardj <sewardj@a5019735-40e9-0310-863c-91ae7b9d1cf9> Add test cases for amd64 ADC Iv, eAX and SBB Iv, eAX (Jakub Jelinek,
jakub@redhat.com). See #211410.



git-svn-id: svn://svn.valgrind.org/valgrind/trunk@11385 a5019735-40e9-0310-863c-91ae7b9d1cf9
bbmisc.c
bbmisc.stdout.exp
55e438b24ef4fb7105f9bea85e6fc33b496e8f6c 14-Sep-2010 bart <bart@a5019735-40e9-0310-863c-91ae7b9d1cf9> Added configure test that checks whether the assembler supports the SSE4a instruction lzcnt.

git-svn-id: svn://svn.valgrind.org/valgrind/trunk@11357 a5019735-40e9-0310-863c-91ae7b9d1cf9
akefile.am
fc3ce48fd4585511adfeac8ec0670326b87ca9e3 30-Jul-2010 sewardj <sewardj@a5019735-40e9-0310-863c-91ae7b9d1cf9> Partially connect up the LZCNT tests. What remains to be done is to
make their building conditional on whether the assembler understands
'lzcnt', which is a configure time test. (Probably simpler to do a
single test for SSE4.1, 4.2 and 4a support as that will soon be
required anyway.)



git-svn-id: svn://svn.valgrind.org/valgrind/trunk@11246 a5019735-40e9-0310-863c-91ae7b9d1cf9
akefile.am
zcnt32.c
zcnt32.stderr.exp
zcnt32.stdout.exp
zcnt32.vgtest
est_lzcnt32.c
ab205763b7dbe99878156b21cc24ac36565929e6 29-Jul-2010 sewardj <sewardj@a5019735-40e9-0310-863c-91ae7b9d1cf9> Test cases for LZCNT instruction support. Not wired up yet.


git-svn-id: svn://svn.valgrind.org/valgrind/trunk@11242 a5019735-40e9-0310-863c-91ae7b9d1cf9
est_lzcnt32.c
9cb6475efde4b8c7c462fd2397b9dc5de86c4b3e 29-Jul-2010 sewardj <sewardj@a5019735-40e9-0310-863c-91ae7b9d1cf9> Update expected outputs following vex r1992.


git-svn-id: svn://svn.valgrind.org/valgrind/trunk@11235 a5019735-40e9-0310-863c-91ae7b9d1cf9
xtract.stdout.exp
d59b5697d8b373b7f82b311e404b6de1dd29ef80 10-May-2010 sewardj <sewardj@a5019735-40e9-0310-863c-91ae7b9d1cf9> Add test cases for XADD reg,reg. (Nicolas Sauzede, nicolas.sauzede@st.com).
See #195662.


git-svn-id: svn://svn.valgrind.org/valgrind/trunk@11127 a5019735-40e9-0310-863c-91ae7b9d1cf9
akefile.am
add.c
add.stderr.exp
add.stdout.exp
add.vgtest
0a96643abacc7318d9e193399e57ac5b456c7e42 28-Jul-2009 tom <tom@a5019735-40e9-0310-863c-91ae7b9d1cf9> Make sure the x86 direction flag is cleared again if we set it as part
of a test, as the x86 requires it to be clear when any function is called
and gcc 4.3.0 and later rely on that. Fixes #201708.


git-svn-id: svn://svn.valgrind.org/valgrind/trunk@10642 a5019735-40e9-0310-863c-91ae7b9d1cf9
ug152818-x86.c
en_insn_test.pl
d651d1fe2c2dae5606626445c5a189233afae43e 18-Jul-2009 bart <bart@a5019735-40e9-0310-863c-91ae7b9d1cf9> Fixed the inline assembly code such that it also works correctly with gcc 4.4.0. While accessing stack variables from inline assembly code that modifies the stack pointer works fine with gcc 3.0 - gcc 4.3 with optimization disabled, it gives incorrect results with gcc 4.4.0.

git-svn-id: svn://svn.valgrind.org/valgrind/trunk@10484 a5019735-40e9-0310-863c-91ae7b9d1cf9
ushpopseg.c
ac258d8c9d95b1a69e5f4ce1b68064153675b079 04-Jul-2009 sewardj <sewardj@a5019735-40e9-0310-863c-91ae7b9d1cf9> Add tests to verify behaviour of atomic instruction handling.


git-svn-id: svn://svn.valgrind.org/valgrind/trunk@10410 a5019735-40e9-0310-863c-91ae7b9d1cf9
akefile.am
86locked.c
86locked.stderr.exp
86locked.stdout.exp
86locked.vgtest
8b68b64759254d514d98328c496cbd88cde4c9a5 24-Jun-2009 njn <njn@a5019735-40e9-0310-863c-91ae7b9d1cf9> This commit merges the BUILD_TWEAKS branch onto the trunk. It has the
following improvements:

- Arch/OS/platform-specific files are now included/excluded via the
preprocessor, rather than via the build system. This is more consistent
(we use the pre-processor for small arch/OS/platform-specific chunks
within files) and makes the build system much simpler, as the sources for
all programs are the same on all platforms.

- Vast amounts of cut+paste Makefile.am code has been factored out. If a
new platform is implemented, you need to add 11 extra Makefile.am lines.
Previously it was over 100 lines.

- Vex has been autotoolised. Dependency checking now works in Vex (no more
incomplete builds). Parallel builds now also work. --with-vex no longer
works; it's little use and a pain to support. VEX/Makefile is still in
the Vex repository and gets overwritten at configure-time; it should
probably be renamed Makefile-gcc to avoid possible problems, such as
accidentally committing a generated Makefile. There's a bunch of hacky
copying to deal with the fact that autotools don't handle same-named files
in different directories. Julian plans to rename the files to avoid this
problem.

- Various small Makefile.am things have been made more standard automake
style, eg. the use of pkginclude/pkglib prefixes instead of rolling our
own.

- The existing five top-level Makefile.am include files have been
consolidated into three.

- Most Makefile.am files now are structured more clearly, with comment
headers separating sections, declarations relating to the same things next
to each other, better spacing and layout, etc.

- Removed the unused exp-ptrcheck/tests/x86 directory.

- Renamed some XML files.

- Factored out some duplicated dSYM handling code.

- Split auxprogs/ into auxprogs/ and mpi/, which allowed the resulting
Makefile.am files to be much more standard.

- Cleaned up m_coredump by merging a bunch of files that had been
overzealously separated.

The net result is 630 fewer lines of Makefile.am code, or 897 if you exclude
the added Makefile.vex.am, or 997 once the hacky file copying for Vex is
removed. And the build system is much simpler.


git-svn-id: svn://svn.valgrind.org/valgrind/trunk@10364 a5019735-40e9-0310-863c-91ae7b9d1cf9
akefile.am
f76d27a697a7b0bf3b84490baf60623fc96a23af 28-May-2009 njn <njn@a5019735-40e9-0310-863c-91ae7b9d1cf9> Merge the DARWIN branch onto the trunk.

I tried using 'svn merge' to do the merge but it did a terrible job and
there were bazillions of conflicts. So instead I just took the diff between
the branch and trunk at r10155, applied the diff to the trunk, 'svn add'ed
the added files (no files needed to be 'svn remove'd) and committed.


git-svn-id: svn://svn.valgrind.org/valgrind/trunk@10156 a5019735-40e9-0310-863c-91ae7b9d1cf9
akefile.am
d1173b8e2bd9c10dbe8e6882966721e9f4f62df5 20-May-2009 njn <njn@a5019735-40e9-0310-863c-91ae7b9d1cf9> DARWIN sync: Makefile.am layout, mostly.



git-svn-id: svn://svn.valgrind.org/valgrind/trunk@10016 a5019735-40e9-0310-863c-91ae7b9d1cf9
akefile.am
c8850535a7bbbda330a2218e594d34f5a412d216 29-Apr-2009 njn <njn@a5019735-40e9-0310-863c-91ae7b9d1cf9> Merge r9666 (badseg portability tweak) from the DARWIN branch.



git-svn-id: svn://svn.valgrind.org/valgrind/trunk@9668 a5019735-40e9-0310-863c-91ae7b9d1cf9
adseg.c
adseg.stdout.exp
c9a6f4b6c33014aa3259182b1623a7669011f805 24-Apr-2009 njn <njn@a5019735-40e9-0310-863c-91ae7b9d1cf9> Merge r9610 (AM_CCASFLAGS tweaks for test Makefiles) from the DARWIN branch.



git-svn-id: svn://svn.valgrind.org/valgrind/trunk@9611 a5019735-40e9-0310-863c-91ae7b9d1cf9
akefile.am
52cb75c8055bf17e79c560d2c46471850aa3fcc5 24-Apr-2009 njn <njn@a5019735-40e9-0310-863c-91ae7b9d1cf9> Merged r9602 and r9603 (make cpuid pass on Darwin, rename .s files to .S)
from the DARWIN branch.



git-svn-id: svn://svn.valgrind.org/valgrind/trunk@9604 a5019735-40e9-0310-863c-91ae7b9d1cf9
akefile.am
puid_s.S
puid_s.s
ae508b08777f98325acdae5f19f125b8010aa835 24-Apr-2009 njn <njn@a5019735-40e9-0310-863c-91ae7b9d1cf9> Merged r9596 (build system tweaks, minus the Darwin bits) from the DARWIN
branch.



git-svn-id: svn://svn.valgrind.org/valgrind/trunk@9598 a5019735-40e9-0310-863c-91ae7b9d1cf9
akefile.am
1e97aee7f167861bbc6974af09236082216f5cb1 17-Apr-2009 njn <njn@a5019735-40e9-0310-863c-91ae7b9d1cf9> Merge r9571 (get faultstatus building again) from the DARWIN branch.



git-svn-id: svn://svn.valgrind.org/valgrind/trunk@9572 a5019735-40e9-0310-863c-91ae7b9d1cf9
aultstatus.c
06ca332fc07cd3175e3237a4dcf6d6ab4a658624 16-Apr-2009 njn <njn@a5019735-40e9-0310-863c-91ae7b9d1cf9> Merge r9550..r9552 (move seg_override and sigcontext) from the DARWIN branch.



git-svn-id: svn://svn.valgrind.org/valgrind/trunk@9553 a5019735-40e9-0310-863c-91ae7b9d1cf9
akefile.am
eg_override.c
eg_override.stderr.exp
eg_override.stdout.exp
eg_override.vgtest
igcontext.c
igcontext.stderr.exp
igcontext.stdout.exp
igcontext.vgtest
83b62cbbab29bde83eba40231f307c2a311e73c8 15-Apr-2009 njn <njn@a5019735-40e9-0310-863c-91ae7b9d1cf9> Merge r9533..9536 (add tests/{asm.h,sys_mman.h,malloc.h} from the DARWIN
branch.



git-svn-id: svn://svn.valgrind.org/valgrind/trunk@9537 a5019735-40e9-0310-863c-91ae7b9d1cf9
akefile.am
ug126147-x86.c
mpxchg8b.c
aultstatus.c
cmovnu.c
xtract.c
ncdec_alt.c
cxz.c
ahf.c
ooper.c
bbmisc.c
sse3_misaligned.c
11d59cad6a14ea4ddc61eb1769c146afcda51f20 04-Mar-2009 njn <njn@a5019735-40e9-0310-863c-91ae7b9d1cf9> Roll back accidental change that shouldn't have been in r9316.



git-svn-id: svn://svn.valgrind.org/valgrind/trunk@9318 a5019735-40e9-0310-863c-91ae7b9d1cf9
en_insn_test.pl
61485ab2fb3be07029d03088a5d66eb804e0f535 04-Mar-2009 njn <njn@a5019735-40e9-0310-863c-91ae7b9d1cf9> tests/arch_test is currently being used for two purposes:
- by vg_regtest for determining if a directory name matches an architecture;
- by various .vgtest files for detecting x86/AMD64 features.

This commit splits it in two for the two different purposes, which makes
things clearer.

Specific changes

- Moved the x86/AMD64 feature detection stuff out of arch_test.c, and
into the new x86_amd64_feature.c. Updated the relevant .vgtest files for
the change.

- In vg_regtest, now a prereq command must return 0 (prereq satisfied) or 1
(prereq not satisfied). Anything else makes vg_regtest abort. This
makes obvious any problems with prereq tests rather than just making the
tests skip innocuously. (We previously had exactly such a problem on the
DARWIN branch; the x86 feature detection tests caused segfaults so the
tests were incorrectly skipped. This change will catch any similar future
problem.)

- Changed os_test from a script to a C program, matching cpu_test.

- Removed some unintentional darwin stuff from platform_test.


git-svn-id: svn://svn.valgrind.org/valgrind/trunk@9316 a5019735-40e9-0310-863c-91ae7b9d1cf9
ug137714-x86.vgtest
se_fail.vgtest
en_insn_test.pl
nsn_cmov.vgtest
nsn_fpu.vgtest
nsn_mmx.vgtest
nsn_mmxext.vgtest
nsn_sse.vgtest
nsn_sse2.vgtest
nsn_sse3.vgtest
nsn_ssse3.vgtest
sse3_misaligned.vgtest
64c62d4bc63e93ea311a72199672194b781d45da 23-Feb-2009 njn <njn@a5019735-40e9-0310-863c-91ae7b9d1cf9> Some more test/build cleanups missed in prior commits.



git-svn-id: svn://svn.valgrind.org/valgrind/trunk@9227 a5019735-40e9-0310-863c-91ae7b9d1cf9
akefile.am
53044577de81d6d2d76d51bc5952c7c8cfedd368 19-Feb-2009 njn <njn@a5019735-40e9-0310-863c-91ae7b9d1cf9> Various build system clean-ups and simplifications:
- Created Makefile.tool-tests.am, put standard AM_CFLAGS et al for tests in
it.
- A number of tests are shared between Helgrind and DRD. They used to be
built in both directories. Now they are only built in helgrind/tests/,
and the DRD .vgtest files just point to the executable in helgrind/tests/.
Most of these (about 30) had the source files in helgrind/tests/; I moved
the three that were in drd/tests/ into helgrind/tests/ for consistency.
- Fixed rwlock_test, which was failing to run due to a wrong name in the
.vgtest file.
- Removed remnants of unused 'hello' test for Memcheck.
- Avoided redundant flag specification in various places, esp.
memcheck/tests/Makefile.am.
- Removed unnecessary _AIX guards in some Linux-only tests.


git-svn-id: svn://svn.valgrind.org/valgrind/trunk@9202 a5019735-40e9-0310-863c-91ae7b9d1cf9
akefile.am
107bc570086d154e2be46cf044a8b0f72fb07949 16-Feb-2009 njn <njn@a5019735-40e9-0310-863c-91ae7b9d1cf9> Merge r9175 (don't run inappropriate OS- and platform-specific tests) from
the DARWIN branch.



git-svn-id: svn://svn.valgrind.org/valgrind/trunk@9176 a5019735-40e9-0310-863c-91ae7b9d1cf9
ug137714-x86.vgtest
se_fail.vgtest
nsn_cmov.vgtest
nsn_fpu.vgtest
nsn_mmx.vgtest
nsn_mmxext.vgtest
nsn_sse.vgtest
nsn_sse2.vgtest
nsn_sse3.vgtest
nsn_ssse3.vgtest
sse3_misaligned.vgtest
d3e4dd9f322e1746ee90fb9363d11654c5101502 23-Jan-2009 njn <njn@a5019735-40e9-0310-863c-91ae7b9d1cf9> Merge some minor regtest updates from the DARWIN branch:
- avoid using <malloc.h> where it's not necessary, because on DARWIN it's
called <malloc/malloc.h>
- filter the output of brk2 more, which allows the .stderr.exp2 file to be
removed.



git-svn-id: svn://svn.valgrind.org/valgrind/trunk@9037 a5019735-40e9-0310-863c-91ae7b9d1cf9
ug137714-x86.c
7fd6d389b97fa365e10be68641066970d16cfa5f 22-Jan-2009 njn <njn@a5019735-40e9-0310-863c-91ae7b9d1cf9> Rename all the arch/OS/platform-related variables in configure.in to make it
clearer what they mean:
- They all have VGCONF_ prefixes now, to indicate they come out of
configure.in (and are clearly distinguished from the VGA_/VGO_/VGP_
#defines passed in to C files).
- The ones that refer to the primary *or* secondary platform have _INCLUDES_
in them.
- The ones that are in all-caps have a _CAPS suffix.

So, for example, what was VGP_X86_LINUX is now
VGCONF_PLATFORMS_INCLUDE_X86_LINUX, which is more verbose but also a lot
clearer. The names of the #defines used in the C files (VGA_x86, VGO_linux,
etc) are unchanged.

cputest.c: changed to reflect the Valgrind installation's capabilities,
rather than the machine's capabilities. In particular, if
--enable-only32bit is used on a 64-bit machine, then this program will claim
to only support 32-bits. Also use the VGA/VGO/VGP macros which are clearer
than the __i386__ ones. (This is partially merged from the DARWIN branch.)

configure.in: clean up the comments, distinguish different sections more
clearly, and generally make it more readable.

valgrind.pc.in: try to make this more accurate. I doubt anyone's using it.
It doesn't appear to be set up to handle dual-architecture builds.


git-svn-id: svn://svn.valgrind.org/valgrind/trunk@9031 a5019735-40e9-0310-863c-91ae7b9d1cf9
akefile.am
ield.c
a00febc9d89b25c642e795bb801b826bf1bb9988 12-Jan-2009 tom <tom@a5019735-40e9-0310-863c-91ae7b9d1cf9> SSE3 and SSSE3 are two different things, so add a proper SSSE3 feature
test and use that to guard the SSSE3 tests.


git-svn-id: svn://svn.valgrind.org/valgrind/trunk@8942 a5019735-40e9-0310-863c-91ae7b9d1cf9
nsn_ssse3.vgtest
sse3_misaligned.vgtest
bbf5a2f4ba6e1c2bff36776113e5253a690bd10d 19-Sep-2008 sewardj <sewardj@a5019735-40e9-0310-863c-91ae7b9d1cf9> This should have been committed as part of r8623 (Fix longstanding bug
in dual-arch support).



git-svn-id: svn://svn.valgrind.org/valgrind/trunk@8624 a5019735-40e9-0310-863c-91ae7b9d1cf9
akefile.am
e95d94f29c2aff965125c60194e8808573eb71ab 19-Sep-2008 sewardj <sewardj@a5019735-40e9-0310-863c-91ae7b9d1cf9> Fix longstanding bug in dual-arch support, which originated in
memcheck/tests/Makefile.am and was copied into drd/tests/Makefile.am.

When building regtests for a 32-bit only build on a 64-bit CPU, the
use of $(VG_ARCH) in these Makefiles is incorrect, because VG_ARCH
will be set to the 64-bit architecture, not the 32-bit architecture.

See comments on VG_ARCH_PRI and VG_ARCH_MAX in configure.in for more
details.



git-svn-id: svn://svn.valgrind.org/valgrind/trunk@8623 a5019735-40e9-0310-863c-91ae7b9d1cf9
akefile.am
285ae1c9c33cbbc1526c6419012d2cb5017e965f 12-May-2008 bart <bart@a5019735-40e9-0310-863c-91ae7b9d1cf9> Fixed compiler warnings.

git-svn-id: svn://svn.valgrind.org/valgrind/trunk@8050 a5019735-40e9-0310-863c-91ae7b9d1cf9
ug152818-x86.c
5a544ca588dcb99307639dcd3a0600c62bcdf9bc 11-May-2008 sewardj <sewardj@a5019735-40e9-0310-863c-91ae7b9d1cf9> Add a test case for #152818 (from Sergei Trofimovich)


git-svn-id: svn://svn.valgrind.org/valgrind/trunk@8043 a5019735-40e9-0310-863c-91ae7b9d1cf9
akefile.am
ug152818-x86.c
ug152818-x86.stderr.exp
ug152818-x86.stdout.exp
ug152818-x86.vgtest
03d69006b5f45909a13d9c77216985ebd9f35af8 10-Feb-2008 sewardj <sewardj@a5019735-40e9-0310-863c-91ae7b9d1cf9> Try to fix build system breakage w.r.t. ssse3_misaligned. It isn't
created from a .def file so should not be included in INSN_TESTS.



git-svn-id: svn://svn.valgrind.org/valgrind/trunk@7389 a5019735-40e9-0310-863c-91ae7b9d1cf9
akefile.am
6d6da5b59648097f2d20d882a942a31ed5eb2c7a 09-Feb-2008 sewardj <sewardj@a5019735-40e9-0310-863c-91ae7b9d1cf9> Only build the SSSE3 tests on machines whose assemblers know about
these instructions.



git-svn-id: svn://svn.valgrind.org/valgrind/trunk@7387 a5019735-40e9-0310-863c-91ae7b9d1cf9
akefile.am
8231f329255fe49dbeb494ef79a94a2551008daa 09-Feb-2008 sewardj <sewardj@a5019735-40e9-0310-863c-91ae7b9d1cf9> Add SSSE3 tests.


git-svn-id: svn://svn.valgrind.org/valgrind/trunk@7385 a5019735-40e9-0310-863c-91ae7b9d1cf9
akefile.am
nsn_ssse3.def
nsn_ssse3.stderr.exp
nsn_ssse3.stdout.exp
nsn_ssse3.vgtest
sse3_misaligned.c
sse3_misaligned.stderr.exp
sse3_misaligned.stdout.exp
sse3_misaligned.vgtest
fa18a26e7133d2498180e249010a62e1e6691b40 22-Mar-2007 sewardj <sewardj@a5019735-40e9-0310-863c-91ae7b9d1cf9> Don't build SSE3 tests if the configure test determined that the assembler
does not know about SSE3 instructions.


git-svn-id: svn://svn.valgrind.org/valgrind/trunk@6657 a5019735-40e9-0310-863c-91ae7b9d1cf9
akefile.am
4ad1357fc9b2da7235fed82687ab02a40ce0782d 31-Jan-2007 sewardj <sewardj@a5019735-40e9-0310-863c-91ae7b9d1cf9> Make SSE-1 friendly.


git-svn-id: svn://svn.valgrind.org/valgrind/trunk@6565 a5019735-40e9-0310-863c-91ae7b9d1cf9
se_fail.c
2990a49b0fc5a7a3dbc98c69e39a178c0a3ce65b 29-Jan-2007 sewardj <sewardj@a5019735-40e9-0310-863c-91ae7b9d1cf9> Add regtest against vex cse failure that surfaced in 3.2.2.


git-svn-id: svn://svn.valgrind.org/valgrind/trunk@6557 a5019735-40e9-0310-863c-91ae7b9d1cf9
akefile.am
se_fail.c
se_fail.stderr.exp
se_fail.stdout.exp
se_fail.vgtest
cbe6c57eda607369b109dde52b96901f1ecaad8a 27-Dec-2006 sewardj <sewardj@a5019735-40e9-0310-863c-91ae7b9d1cf9> Regtest for bug 137714 (x86 MASKMOVQ/MASKMOVDQU insns)


git-svn-id: svn://svn.valgrind.org/valgrind/trunk@6443 a5019735-40e9-0310-863c-91ae7b9d1cf9
akefile.am
ug137714-x86.c
ug137714-x86.stderr.exp
ug137714-x86.stdout.exp
ug137714-x86.vgtest
7d47d9e5d3cb998f83f8b604eeee2c364f173fd1 19-Nov-2006 sewardj <sewardj@a5019735-40e9-0310-863c-91ae7b9d1cf9> Regtest for #135421 (long-form encoding of 'push{l,w} %reg')


git-svn-id: svn://svn.valgrind.org/valgrind/trunk@6360 a5019735-40e9-0310-863c-91ae7b9d1cf9
akefile.am
ug135421-x86.c
ug135421-x86.stderr.exp
ug135421-x86.stdout.exp
ug135421-x86.vgtest
8116d7b6bbd16bee5f24ec66ddbfadd5074b022b 16-Nov-2006 sewardj <sewardj@a5019735-40e9-0310-863c-91ae7b9d1cf9> A test for JECXZ and JCXZ.


git-svn-id: svn://svn.valgrind.org/valgrind/trunk@6355 a5019735-40e9-0310-863c-91ae7b9d1cf9
akefile.am
cxz.c
cxz.stderr.exp
cxz.stdout.exp
cxz.vgtest
b95cd589e448ef0bc22f26f2d31a0522df899c23 14-Nov-2006 sewardj <sewardj@a5019735-40e9-0310-863c-91ae7b9d1cf9> Add a regtest for #126147.


git-svn-id: svn://svn.valgrind.org/valgrind/trunk@6352 a5019735-40e9-0310-863c-91ae7b9d1cf9
akefile.am
ug126147-x86.c
ug126147-x86.stderr.exp
ug126147-x86.stdout.exp
ug126147-x86.vgtest
7554cc8ab387055023430e2dc156736620e4e48a 14-Nov-2006 sewardj <sewardj@a5019735-40e9-0310-863c-91ae7b9d1cf9> Add a regtest for #125959.


git-svn-id: svn://svn.valgrind.org/valgrind/trunk@6351 a5019735-40e9-0310-863c-91ae7b9d1cf9
akefile.am
ug125959-x86.c
ug125959-x86.stderr.exp
ug125959-x86.stdout.exp
ug125959-x86.vgtest
56a6f414a03e7086d9a0b8b5390e0479c9ab8ca1 28-Aug-2006 sewardj <sewardj@a5019735-40e9-0310-863c-91ae7b9d1cf9> Regtest for #132813 (Assertion at priv/guest-x86/toIR.c:652 fails)


git-svn-id: svn://svn.valgrind.org/valgrind/trunk@6034 a5019735-40e9-0310-863c-91ae7b9d1cf9
akefile.am
ug132813-x86.c
ug132813-x86.stderr.exp
ug132813-x86.stdout.exp
ug132813-x86.vgtest
c49ae75df828eb6709684e7abb21191cd1ed8cea 05-Aug-2006 sewardj <sewardj@a5019735-40e9-0310-863c-91ae7b9d1cf9> Regression tests for SSE3 support.


git-svn-id: svn://svn.valgrind.org/valgrind/trunk@5997 a5019735-40e9-0310-863c-91ae7b9d1cf9
akefile.am
nsn_sse3.def
nsn_sse3.stderr.exp
nsn_sse3.stdout.exp
nsn_sse3.vgtest
4a99459f1c9d291a399262d7d6ab3e36f056ea21 26-May-2006 sewardj <sewardj@a5019735-40e9-0310-863c-91ae7b9d1cf9> Disable tests none/tests/amd64/faultstatus, none/tests/x86/faultstatus
and none/tests/x86/int. They always fail, the tested functionality
isn't going to get fixed in a hurry, and it's just generally annoying.



git-svn-id: svn://svn.valgrind.org/valgrind/trunk@5933 a5019735-40e9-0310-863c-91ae7b9d1cf9
akefile.am
aultstatus.disabled
aultstatus.vgtest
nt.disabled
nt.vgtest
d7aca4cf89036cbaa080e217c1d2347cb995db6c 03-May-2006 sewardj <sewardj@a5019735-40e9-0310-863c-91ae7b9d1cf9> Tests for the mov{z,s}{bw,bl,wl} instructions.


git-svn-id: svn://svn.valgrind.org/valgrind/trunk@5879 a5019735-40e9-0310-863c-91ae7b9d1cf9
akefile.am
ovx.c
ovx.stderr.exp
ovx.stdout.exp
ovx.vgtest
d37aa772d6ab9b79f04f679e532c96e8c98c712c 06-Mar-2006 sewardj <sewardj@a5019735-40e9-0310-863c-91ae7b9d1cf9> A test for fcmovnu.


git-svn-id: svn://svn.valgrind.org/valgrind/trunk@5715 a5019735-40e9-0310-863c-91ae7b9d1cf9
akefile.am
cmovnu.c
cmovnu.stderr.exp
cmovnu.stdout.exp
cmovnu.vgtest
842c93fa1fd7aeb822eaeb89c788cc1d9c32461a 27-Nov-2005 njn <njn@a5019735-40e9-0310-863c-91ae7b9d1cf9> Disable 'yield' -- it fails so often that it's useless.



git-svn-id: svn://svn.valgrind.org/valgrind/trunk@5241 a5019735-40e9-0310-863c-91ae7b9d1cf9
akefile.am
ield.disabled
ield.vgtest
accb3532c628607c13458f4773cd0b44dcc54a41 12-Nov-2005 tom <tom@a5019735-40e9-0310-863c-91ae7b9d1cf9> Run instruction tests under memcheck as well as none.


git-svn-id: svn://svn.valgrind.org/valgrind/trunk@5094 a5019735-40e9-0310-863c-91ae7b9d1cf9
akefile.am
nsn_basic.stderr.exp
nsn_basic.vgtest
nsn_cmov.stderr.exp
nsn_cmov.vgtest
nsn_fpu.stderr.exp
nsn_fpu.vgtest
nsn_mmx.stderr.exp
nsn_mmx.vgtest
nsn_mmxext.stderr.exp
nsn_mmxext.vgtest
nsn_sse.stderr.exp
nsn_sse.vgtest
nsn_sse2.stderr.exp
nsn_sse2.vgtest
ef567321ae1f6724035645408c3f97a2f965dad7 11-Nov-2005 tom <tom@a5019735-40e9-0310-863c-91ae7b9d1cf9> Allow 32 bit x86 tests to run on amd64 machines.


git-svn-id: svn://svn.valgrind.org/valgrind/trunk@5087 a5019735-40e9-0310-863c-91ae7b9d1cf9
akefile.am
4818d73a255b7b474b670feeb37f83a2c17c401b 10-Nov-2005 njn <njn@a5019735-40e9-0310-863c-91ae7b9d1cf9> Avoid compiler warnings.



git-svn-id: svn://svn.valgrind.org/valgrind/trunk@5071 a5019735-40e9-0310-863c-91ae7b9d1cf9
aultstatus.c
9f98341d6736a54dc9352ff4ce3eaaf24f8fac87 09-Nov-2005 tom <tom@a5019735-40e9-0310-863c-91ae7b9d1cf9> Update results - we now emulate the whole LDT.


git-svn-id: svn://svn.valgrind.org/valgrind/trunk@5050 a5019735-40e9-0310-863c-91ae7b9d1cf9
eg_override.stdout.exp
3a76869c37c01324db1c4bc2b2302eaf47e6c20f 05-Nov-2005 sewardj <sewardj@a5019735-40e9-0310-863c-91ae7b9d1cf9> Oops, this should have been included in r5014.


git-svn-id: svn://svn.valgrind.org/valgrind/trunk@5015 a5019735-40e9-0310-863c-91ae7b9d1cf9
nsn_sse.stdout.exp
nsn_sse2.stdout.exp
dea851c642666d65911440f67d63dc303d24a81f 05-Nov-2005 sewardj <sewardj@a5019735-40e9-0310-863c-91ae7b9d1cf9> Add test cases for SSE unordered-compare instructions.


git-svn-id: svn://svn.valgrind.org/valgrind/trunk@5014 a5019735-40e9-0310-863c-91ae7b9d1cf9
nsn_sse.def
nsn_sse2.def
7563f2beeae10672db44c787b3d190ded672dad0 04-Nov-2005 tom <tom@a5019735-40e9-0310-863c-91ae7b9d1cf9> Re-enable a load of tests for instructions which VEX now implements.


git-svn-id: svn://svn.valgrind.org/valgrind/trunk@5008 a5019735-40e9-0310-863c-91ae7b9d1cf9
nsn_basic.def
nsn_basic.stdout.exp
ae8bce9b296728466bf37e751d7ee4884138d06b 02-Nov-2005 tom <tom@a5019735-40e9-0310-863c-91ae7b9d1cf9> Split faultstatus into the platform independent tests and those
which are x86 specific. The first three x86 specific ones should
work on amd64 as well so I have added those as amd64 tests.

Note that the x86/amd64 tests will still fail as VEX doesn't
always trigger the right sort of signal for faulting instructions
at the moment.


git-svn-id: svn://svn.valgrind.org/valgrind/trunk@4992 a5019735-40e9-0310-863c-91ae7b9d1cf9
akefile.am
aultstatus.c
aultstatus.stderr.exp
aultstatus.vgtest
01a4d87b92224d2507a2097fdcdf2940a3a39444 05-Oct-2005 sewardj <sewardj@a5019735-40e9-0310-863c-91ae7b9d1cf9> Even more regtests


git-svn-id: svn://svn.valgrind.org/valgrind/trunk@4867 a5019735-40e9-0310-863c-91ae7b9d1cf9
akefile.am
ncdec_alt.c
ncdec_alt.stderr.exp
ncdec_alt.stdout.exp
ncdec_alt.vgtest
ahf.c
ahf.stderr.exp
ahf.stdout.exp
ahf.vgtest
b966e55ffbf0c6d17cc28c2fa8407c46993a0e08 04-Oct-2005 sewardj <sewardj@a5019735-40e9-0310-863c-91ae7b9d1cf9> Add regtests for SSE2 pmaddwd.


git-svn-id: svn://svn.valgrind.org/valgrind/trunk@4859 a5019735-40e9-0310-863c-91ae7b9d1cf9
nsn_sse2.def
nsn_sse2.stdout.exp
19cd6b571093217179f6582427b2e5fdd81b72ac 04-Oct-2005 sewardj <sewardj@a5019735-40e9-0310-863c-91ae7b9d1cf9> Reenable SSE2 psadbw test.


git-svn-id: svn://svn.valgrind.org/valgrind/trunk@4851 a5019735-40e9-0310-863c-91ae7b9d1cf9
nsn_sse2.def
nsn_sse2.stdout.exp
343dbe4d1596a5385739acf26e64d71cca3ee0fe 03-Oct-2005 sewardj <sewardj@a5019735-40e9-0310-863c-91ae7b9d1cf9> Test misc sbb/adc insns.


git-svn-id: svn://svn.valgrind.org/valgrind/trunk@4848 a5019735-40e9-0310-863c-91ae7b9d1cf9
akefile.am
bbmisc.c
bbmisc.stderr.exp
bbmisc.stdout.exp
bbmisc.vgtest
050ac283d861146e45273a69a5f592e68585d999 03-Oct-2005 sewardj <sewardj@a5019735-40e9-0310-863c-91ae7b9d1cf9> Test simulation of x86 'fxtract'.


git-svn-id: svn://svn.valgrind.org/valgrind/trunk@4847 a5019735-40e9-0310-863c-91ae7b9d1cf9
akefile.am
xtract.c
xtract.stderr.exp
xtract.stdout.exp
xtract.vgtest
22b8748fd685c8a62ac32df26f63f943c7928e87 26-Aug-2005 tom <tom@a5019735-40e9-0310-863c-91ae7b9d1cf9> Restore %ebx properly instead of restoring %edx twice.


git-svn-id: svn://svn.valgrind.org/valgrind/trunk@4524 a5019735-40e9-0310-863c-91ae7b9d1cf9
mpxchg8b.c
5303d79ffc8d117b2d73d0b1a8f7d017988bac16 23-Aug-2005 sewardj <sewardj@a5019735-40e9-0310-863c-91ae7b9d1cf9> Add regtest for x86 LOOP{,E,NE} insns.


git-svn-id: svn://svn.valgrind.org/valgrind/trunk@4479 a5019735-40e9-0310-863c-91ae7b9d1cf9
akefile.am
ooper.c
ooper.stderr.exp
ooper.stdout.exp
ooper.vgtest
09ea9c4eadaafff7777d6a5af2178603d6eee99f 13-Aug-2005 sewardj <sewardj@a5019735-40e9-0310-863c-91ae7b9d1cf9> Add regtest for x86 cmpxchg8b.


git-svn-id: svn://svn.valgrind.org/valgrind/trunk@4390 a5019735-40e9-0310-863c-91ae7b9d1cf9
akefile.am
mpxchg8b.c
mpxchg8b.stderr.exp
mpxchg8b.stdout.exp
mpxchg8b.vgtest
6c3a219727dead14309abf431f72ca1f99b8ca37 24-Jul-2005 sewardj <sewardj@a5019735-40e9-0310-863c-91ae7b9d1cf9> Rename --smc-support= to --smc-check=.


git-svn-id: svn://svn.valgrind.org/valgrind/trunk@4237 a5019735-40e9-0310-863c-91ae7b9d1cf9
mc1.vgtest
8c30ec2ade2b7f1196760c4db9a8e9fa9a876afe 07-Jul-2005 sewardj <sewardj@a5019735-40e9-0310-863c-91ae7b9d1cf9> Modify this test so it no longer uses client requests, but instead
relies on --smc-support=all to work correctly. Hence it tests the
s-m-c support at least on x86. Jump through various hoops to defeat
vex's basic-block-chasing optimisation, which has an annoying habit of
making this test work correctly even without --smc-support=all.



git-svn-id: svn://svn.valgrind.org/valgrind/trunk@4123 a5019735-40e9-0310-863c-91ae7b9d1cf9
mc1.c
mc1.vgtest
4f38bd9d7e845efac6e685b94aff84dba43e51f3 06-Jul-2005 sewardj <sewardj@a5019735-40e9-0310-863c-91ae7b9d1cf9> This is x86 specific; re-home accordingly.


git-svn-id: svn://svn.valgrind.org/valgrind/trunk@4120 a5019735-40e9-0310-863c-91ae7b9d1cf9
akefile.am
ield.c
ield.stderr.exp
ield.stdout.exp
ield.vgtest
937411f6e8e378bd71288e0f6efcf16892e5acb1 06-Jul-2005 sewardj <sewardj@a5019735-40e9-0310-863c-91ae7b9d1cf9> smc1 is an x86-specific test; re-home it accordingly. (How did this
one evade detection for so long?)



git-svn-id: svn://svn.valgrind.org/valgrind/trunk@4119 a5019735-40e9-0310-863c-91ae7b9d1cf9
akefile.am
mc1.c
mc1.stderr.exp
mc1.stdout.exp
mc1.vgtest
67f1fcc6cd6c0c8117982ba83601c54c57f49803 03-Jul-2005 sewardj <sewardj@a5019735-40e9-0310-863c-91ae7b9d1cf9> gcc-4.0.1 rejects insn_{mmx,sse,sse2}.c despite the fact that
gcc-4.0.0 accepted it. This commit adds flags to placate 4.0.1 (from
Dirk Mueller).



git-svn-id: svn://svn.valgrind.org/valgrind/trunk@4096 a5019735-40e9-0310-863c-91ae7b9d1cf9
akefile.am
5d8a2305d6a8e4715a12be4c4a2d8869866884b1 02-Jul-2005 njn <njn@a5019735-40e9-0310-863c-91ae7b9d1cf9> Don't need a foo_SOURCES line if the program has only a single source file
named foo.c.

Now again using the right flags for building fpu_lazy_eflags.c, too.


git-svn-id: svn://svn.valgrind.org/valgrind/trunk@4086 a5019735-40e9-0310-863c-91ae7b9d1cf9
akefile.am
3d8525df0fc2c865ed589029e74a96e8f47d5f14 02-Jul-2005 njn <njn@a5019735-40e9-0310-863c-91ae7b9d1cf9> Avoid compile warning.



git-svn-id: svn://svn.valgrind.org/valgrind/trunk@4083 a5019735-40e9-0310-863c-91ae7b9d1cf9
igcontext.c
ae71dd4e0071626d9319edb6405f42d8d356ab09 23-Jun-2005 de <de@a5019735-40e9-0310-863c-91ae7b9d1cf9> argh! there were loads of the little beggars ....


git-svn-id: svn://svn.valgrind.org/valgrind/trunk@3999 a5019735-40e9-0310-863c-91ae7b9d1cf9
cvsignore
d39126c5426d8d208e3af2ce567a3d0ef1b1fba6 14-May-2005 sewardj <sewardj@a5019735-40e9-0310-863c-91ae7b9d1cf9> No wonder I couldn't figure out exactly how movq was supposed to
behave .. no test cases! Now fixed.



git-svn-id: svn://svn.valgrind.org/valgrind/trunk@3704 a5019735-40e9-0310-863c-91ae7b9d1cf9
nsn_sse2.def
nsn_sse2.stdout.exp
c7a71b36c81ca3519af95e6b77e9e5d47888ea3c 07-Apr-2005 sewardj <sewardj@a5019735-40e9-0310-863c-91ae7b9d1cf9> Update expected output.


git-svn-id: svn://svn.valgrind.org/valgrind/trunk@3527 a5019735-40e9-0310-863c-91ae7b9d1cf9
nsn_sse2.stdout.exp
2feecc64fba3ae0c356a5d8a5f48a1ebfde413b4 07-Apr-2005 sewardj <sewardj@a5019735-40e9-0310-863c-91ae7b9d1cf9> Add exhaustive tests for pslldq/psrldq.


git-svn-id: svn://svn.valgrind.org/valgrind/trunk@3526 a5019735-40e9-0310-863c-91ae7b9d1cf9
nsn_sse2.def
05c54a7bd19c7e2d847e686848d185a4a16fa465 24-Mar-2005 njn <njn@a5019735-40e9-0310-863c-91ae7b9d1cf9> Remove a couple of compiler warnings.



git-svn-id: svn://svn.valgrind.org/valgrind/trunk@3423 a5019735-40e9-0310-863c-91ae7b9d1cf9
igcontext.c
f3b9d8e92e793c3216939ab75f1853186021e762 23-Mar-2005 sewardj <sewardj@a5019735-40e9-0310-863c-91ae7b9d1cf9> Make the regtests buildable on amd64, by moving various x86 specific
programs to the right place.


git-svn-id: svn://svn.valgrind.org/valgrind/trunk@3416 a5019735-40e9-0310-863c-91ae7b9d1cf9
akefile.am
etseg.c
etseg.stderr.exp
etseg.stdout.exp
etseg.vgtest
igcontext.c
igcontext.stderr.exp
igcontext.stdout.exp
igcontext.vgtest
75a93cf1732ee19c2e306110421c9ecd7bd40ff6 12-Mar-2005 sewardj <sewardj@a5019735-40e9-0310-863c-91ae7b9d1cf9> Followup to rev 3319: remove bits of these tests which 3319 didn't,
for some reason.



git-svn-id: svn://svn.valgrind.org/valgrind/trunk@3320 a5019735-40e9-0310-863c-91ae7b9d1cf9
astest.stderr.exp
astest_c.c
astest_s.s
cl_assert.S
cl_assert.stderr.exp
93aa3620609b126bee6dcfd56a98d9b1b6ec5542 12-Mar-2005 sewardj <sewardj@a5019735-40e9-0310-863c-91ae7b9d1cf9> Get rid of dastest and rcl_assert. These test instructions that are
so obscure that there has been no need to implement them in Vex-x86
despite having run huge programs through Vex.

Besides, rcl_assert was originally included as a result of fixing an
assertion failure in the old UCode machinery, which no longer exists.



git-svn-id: svn://svn.valgrind.org/valgrind/trunk@3319 a5019735-40e9-0310-863c-91ae7b9d1cf9
akefile.am
astest.stdout.exp
astest.vgtest
cl_assert.vgtest
796ad0c647833307654732085026eb95ae4a56f2 11-Mar-2005 njn <njn@a5019735-40e9-0310-863c-91ae7b9d1cf9> Remove messages about not being able to clean up non-existent core files.

MERGED FROM CVS HEAD


git-svn-id: svn://svn.valgrind.org/valgrind/trunk@3277 a5019735-40e9-0310-863c-91ae7b9d1cf9
nt.vgtest
b5f6f51ebcac183818061bf53427a3e7808ef10d 11-Mar-2005 sewardj <sewardj@a5019735-40e9-0310-863c-91ae7b9d1cf9> Merge in changes from the 2.4.0 line. This basically brings in the
overhaul of the thread support. Many things are now probably broken,
but at least with --tool=none, simple and not-so-simple threaded and
non-thread programs work.



git-svn-id: svn://svn.valgrind.org/valgrind/trunk@3265 a5019735-40e9-0310-863c-91ae7b9d1cf9
akefile.am
adseg.c
ilter_cpuid
nsn_sse.def
nsn_sse.stdout.exp
nsn_sse2.def
nsn_sse2.stdout.exp
nt.stderr.exp
nt.vgtest
c258f5e3f7a40e73d2fb66cbc2aa1600c0c8fa97 11-Jan-2005 sewardj <sewardj@a5019735-40e9-0310-863c-91ae7b9d1cf9> Re-enable regression tests for PSLLDQ.


git-svn-id: svn://svn.valgrind.org/valgrind/trunk@3222 a5019735-40e9-0310-863c-91ae7b9d1cf9
nsn_sse2.def
nsn_sse2.stdout.exp
877bc98e517e9599a76c9c6f89cee5c8cd700b92 17-Dec-2004 sewardj <sewardj@a5019735-40e9-0310-863c-91ae7b9d1cf9> Make the insn_ tests work at least for the insns which Vex (x86 guest)
currently implements.



git-svn-id: svn://svn.valgrind.org/valgrind/trunk@3206 a5019735-40e9-0310-863c-91ae7b9d1cf9
nsn_basic.def
nsn_basic.stdout.exp
nsn_sse2.stdout.exp
b31bc183514d133c5ff899df7514dc0a2b764604 15-Dec-2004 sewardj <sewardj@a5019735-40e9-0310-863c-91ae7b9d1cf9> Reinstate tests for psrldq.


git-svn-id: svn://svn.valgrind.org/valgrind/trunk@3203 a5019735-40e9-0310-863c-91ae7b9d1cf9
nsn_sse2.def
ac6bbae0163700d0d0254718dfb308524f5587b2 14-Dec-2004 sewardj <sewardj@a5019735-40e9-0310-863c-91ae7b9d1cf9> Updated expected output.


git-svn-id: svn://svn.valgrind.org/valgrind/trunk@3201 a5019735-40e9-0310-863c-91ae7b9d1cf9
eg_override.stdout.exp
d0ee4f8b89c47952e0bd1af01516ebea448ca7cf 10-Dec-2004 sewardj <sewardj@a5019735-40e9-0310-863c-91ae7b9d1cf9> For now, disable test of: pmaddwd psadbw pslldq psrldq. The x86 front
end doesn't yet handle them (nothing critically difficult), and they
are unlikely to turn up in compiler-generated code.



git-svn-id: svn://svn.valgrind.org/valgrind/trunk@3185 a5019735-40e9-0310-863c-91ae7b9d1cf9
nsn_sse2.def
43cecdfca3463130d4ea0e6494249ac03dea40f1 06-Dec-2004 sewardj <sewardj@a5019735-40e9-0310-863c-91ae7b9d1cf9> Use different register numbers in different register banks, so as to
expose bugs resulting from confusion of which register fields are
which during insn decode.



git-svn-id: svn://svn.valgrind.org/valgrind/trunk@3180 a5019735-40e9-0310-863c-91ae7b9d1cf9
en_insn_test.pl
c5e1d806c4f11f91401be4b9f70ac08b1c9d6f61 18-Nov-2004 nethercote <nethercote@a5019735-40e9-0310-863c-91ae7b9d1cf9> Generalised the reg test script again: replaced the "cpu_test" line,
which caused the test to be skipped if the CPU type wasn't appropriate,
with a "prereq" line, which specifies a command that must succeed before
the test is run.


git-svn-id: svn://svn.valgrind.org/valgrind/trunk@3041 a5019735-40e9-0310-863c-91ae7b9d1cf9
nsn_cmov.vgtest
nsn_fpu.vgtest
nsn_mmx.vgtest
nsn_mmxext.vgtest
nsn_sse.vgtest
nsn_sse2.vgtest
64bc5af199f2b6a12e87d044ed7f9c1244860ad0 18-Nov-2004 nethercote <nethercote@a5019735-40e9-0310-863c-91ae7b9d1cf9> Generalised reg test script: instead of having a "delete:" line, for removing
files once a test has completed, we have a "cleanup:" line, which specifies a
cleanup command.


git-svn-id: svn://svn.valgrind.org/valgrind/trunk@3039 a5019735-40e9-0310-863c-91ae7b9d1cf9
nt.vgtest
f8260d4db92653dfc3b6188eab276260d6a5708e 02-Nov-2004 thughes <thughes@a5019735-40e9-0310-863c-91ae7b9d1cf9> Make sure we are using perl 5.6.0 as earlier versions won't work.


git-svn-id: svn://svn.valgrind.org/valgrind/trunk@2905 a5019735-40e9-0310-863c-91ae7b9d1cf9
en_insn_test.pl
2238750e724bf8c8e99397a71109c3dafc39ddcb 20-Oct-2004 nethercote <nethercote@a5019735-40e9-0310-863c-91ae7b9d1cf9> Make tests that cause coredumps remove them. Don't need the core entries in
.cvsignore any more as a result.


git-svn-id: svn://svn.valgrind.org/valgrind/trunk@2822 a5019735-40e9-0310-863c-91ae7b9d1cf9
nt.vgtest
78dac9d0072b0544bbd25a98c110ae51efd6a3bf 20-Oct-2004 nethercote <nethercote@a5019735-40e9-0310-863c-91ae7b9d1cf9> whoops


git-svn-id: svn://svn.valgrind.org/valgrind/trunk@2820 a5019735-40e9-0310-863c-91ae7b9d1cf9
akefile.am
9b6b74abf0036e75709725036cef2a4f18042ae4 20-Oct-2004 nethercote <nethercote@a5019735-40e9-0310-863c-91ae7b9d1cf9> Arch-abstraction:
- Factor out remaining x86-specific regtests in none/ into an x86/ subdir.


git-svn-id: svn://svn.valgrind.org/valgrind/trunk@2819 a5019735-40e9-0310-863c-91ae7b9d1cf9
cvsignore
akefile.am
adseg.c
adseg.stderr.exp
adseg.stdout.exp
adseg.vgtest
t_everything.c
t_everything.stderr.exp
t_everything.stdout.exp
t_everything.vgtest
t_literal.c
t_literal.stderr.exp
t_literal.stdout.exp
t_literal.vgtest
puid.stderr.exp
puid.stdout.exp
puid.vgtest
puid_c.c
puid_s.s
astest.stderr.exp
astest.stdout.exp
astest.vgtest
astest_c.c
astest_s.s
ilter_cpuid
ilter_int
pu_lazy_eflags.c
pu_lazy_eflags.stderr.exp
pu_lazy_eflags.stdout.exp
pu_lazy_eflags.vgtest
nt.c
nt.stderr.exp
nt.stdout.exp
nt.vgtest
ushpopseg.c
ushpopseg.stderr.exp
ushpopseg.stdout.exp
ushpopseg.vgtest
cl_assert.S
cl_assert.stderr.exp
cl_assert.vgtest
eg_override.c
eg_override.stderr.exp
eg_override.stdout.exp
eg_override.vgtest
25e423126a4cd45c5ad98bf9b2707fbd133c4c5a 19-Oct-2004 nethercote <nethercote@a5019735-40e9-0310-863c-91ae7b9d1cf9> Arch-abstraction:
- Forgot to move the insn_*.def files when moving the insn_* tests.


git-svn-id: svn://svn.valgrind.org/valgrind/trunk@2811 a5019735-40e9-0310-863c-91ae7b9d1cf9
nsn_basic.def
nsn_cmov.def
nsn_fpu.def
nsn_mmx.def
nsn_mmxext.def
nsn_sse.def
nsn_sse2.def
6a67435ebed6f45a17530777be6293ac48b4f80f 19-Oct-2004 nethercote <nethercote@a5019735-40e9-0310-863c-91ae7b9d1cf9> Arch-abstraction:
- things I forgot to do when moving the insn_* tests...


git-svn-id: svn://svn.valgrind.org/valgrind/trunk@2810 a5019735-40e9-0310-863c-91ae7b9d1cf9
en_insn_test.pl
bfd201947a76fd092e7dc2a58951d6d1b0caf557 19-Oct-2004 nethercote <nethercote@a5019735-40e9-0310-863c-91ae7b9d1cf9> Arch-abstraction:
- Moved all the insn_* tests into x86/ subdirectories. What are the chances of
me getting this right on the first attempt?


git-svn-id: svn://svn.valgrind.org/valgrind/trunk@2809 a5019735-40e9-0310-863c-91ae7b9d1cf9
cvsignore
akefile.am
ilter_stderr
nsn_basic.stderr.exp
nsn_basic.stdout.exp
nsn_basic.vgtest
nsn_cmov.stderr.exp
nsn_cmov.stdout.exp
nsn_cmov.vgtest
nsn_fpu.stderr.exp
nsn_fpu.stdout.exp
nsn_fpu.vgtest
nsn_mmx.stderr.exp
nsn_mmx.stdout.exp
nsn_mmx.vgtest
nsn_mmxext.stderr.exp
nsn_mmxext.stdout.exp
nsn_mmxext.vgtest
nsn_sse.stderr.exp
nsn_sse.stdout.exp
nsn_sse.vgtest
nsn_sse2.stderr.exp
nsn_sse2.stdout.exp
nsn_sse2.vgtest