• Home
  • History
  • Annotate
  • only in /external/valgrind/none/tests/
History log of /external/valgrind/none/tests/
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
llexec_prepare_prereq
md64-darwin/Makefile.am
md64-darwin/Makefile.in
md64-darwin/cet_nops_gs.c
md64-darwin/cet_nops_gs.stderr.exp
md64-darwin/cet_nops_gs.stdout.exp
md64-darwin/cet_nops_gs.vgtest
md64-linux/Makefile.am
md64-linux/Makefile.in
md64-linux/cet_nops_fs.c
md64-linux/cet_nops_fs.stderr.exp
md64-linux/cet_nops_fs.stdout.exp
md64-linux/cet_nops_fs.vgtest
md64-linux/cet_nops_gs.c
md64-linux/cet_nops_gs.stderr.exp
md64-linux/cet_nops_gs.stdout.exp
md64-linux/cet_nops_gs.vgtest
md64-solaris/Makefile.am
md64-solaris/Makefile.in
md64-solaris/cet_nops_fs.c
md64-solaris/cet_nops_fs.stderr.exp
md64-solaris/cet_nops_fs.stdout.exp
md64-solaris/cet_nops_fs.vgtest
md64/Makefile.am
md64/Makefile.in
md64/bt_flags.c
md64/bt_flags.stderr.exp
md64/bt_flags.stdout.exp
md64/bt_flags.vgtest
md64/bug132918.c
md64/cet_nops.c
md64/cet_nops.stderr.exp
md64/cet_nops.stdout.exp
md64/cet_nops.vgtest
md64/fb_test_amd64.c
md64/fb_test_amd64.h
md64/fb_test_amd64.stderr.exp
md64/fb_test_amd64.stdout.exp
md64/fb_test_amd64.vgtest
md64/fb_test_amd64_muldiv.h
md64/fb_test_amd64_shift.h
md64/pcmpstr64.c
md64/pcmpstr64.stdout.exp
rm/Makefile.am
rm/Makefile.in
rm/v8fpsimd_a.c
rm/v8fpsimd_a.stderr.exp
rm/v8fpsimd_a.stdout.exp
rm/v8fpsimd_a.vgtest
rm/v8fpsimd_t.c
rm/v8fpsimd_t.stderr.exp
rm/v8fpsimd_t.stdout.exp
rm/v8fpsimd_t.vgtest
rm64/Makefile.in
ug234814.vgtest
mdline1.stdout.exp
mdline2.stdout.exp
arwin/Makefile.in
ilter_timestamp
ibvex_test.c
inux/Makefile.am
inux/Makefile.in
inux/brk-overflow1.stderr.exp
inux/brk-overflow2.stderr.exp
inux/clonev.c
inux/clonev.stderr.exp
inux/clonev.stdout.exp
inux/clonev.vgtest
ips32/LoadStore.c
ips32/LoadStore1.c
ips32/MIPS32int.c
ips32/MIPS32int.stdout.exp-mips32-BE
ips32/MIPS32int.stdout.exp-mips32-LE
ips32/MIPS32int.stdout.exp-mips32r2-BE
ips32/MIPS32int.stdout.exp-mips32r2-LE
ips32/Makefile.in
ips32/MoveIns.c
ips32/MoveIns.stdout.exp-mips32r2-BE
ips32/MoveIns.stdout.exp-mips32r2-LE
ips32/branches.c
ips32/branches.stdout.exp
ips32/round_fpu64.c
ips64/Makefile.am
ips64/Makefile.in
ips64/cvm_atomic.stdout.exp-BE
ips64/cvm_atomic_thread.c
ips64/cvm_atomic_thread.stdout.exp
ips64/cvm_atomic_thread.stdout.exp-LE
ips64/test_math.stdout.exp
ips64/test_math.stdout.exp-older-gcc
ocwd.vgtest
pc32/Makefile.am
pc32/Makefile.in
pc32/jm-insns.c
pc32/jm-int.stdout.exp
pc32/jm-int_other.stderr.exp
pc32/jm-int_other.stdout.exp
pc32/jm-int_other.vgtest
pc32/test_isa_2_06_part2-div.stderr.exp
pc32/test_isa_2_06_part2-div.stdout.exp
pc32/test_isa_2_06_part2-div.vgtest
pc32/test_isa_2_06_part2.c
pc32/test_isa_2_06_part2.stdout.exp
pc32/test_isa_2_06_part2.vgtest
pc32/test_isa_2_06_part3-div.stderr.exp
pc32/test_isa_2_06_part3-div.stdout.exp
pc32/test_isa_2_06_part3-div.vgtest
pc32/test_isa_2_06_part3.c
pc32/test_isa_2_06_part3.stdout.exp
pc32/test_isa_2_06_part3.vgtest
pc64/Makefile.am
pc64/Makefile.in
pc64/jm-insns.c
pc64/jm-int.stdout.exp
pc64/jm-int.stdout.exp-LE-ISA3_0
pc64/jm-int_other.stderr.exp
pc64/jm-int_other.stdout.exp
pc64/jm-int_other.stdout.exp-LE
pc64/jm-int_other.vgtest
pc64/ppc64_helpers.h
pc64/test_isa_2_06_part2-div.stderr.exp
pc64/test_isa_2_06_part2-div.stdout.exp
pc64/test_isa_2_06_part2-div.stdout.exp-LE-ISA3_0
pc64/test_isa_2_06_part2-div.vgtest
pc64/test_isa_2_06_part2.c
pc64/test_isa_2_06_part2.stdout.exp
pc64/test_isa_2_06_part2.vgtest
pc64/test_isa_2_06_part3-div.stderr.exp
pc64/test_isa_2_06_part3-div.stdout.exp
pc64/test_isa_2_06_part3-div.stdout.exp-LE-ISA3_0
pc64/test_isa_2_06_part3-div.vgtest
pc64/test_isa_2_06_part3.c
pc64/test_isa_2_06_part3.stdout.exp
pc64/test_isa_2_06_part3.vgtest
pc64/test_isa_3_0.c
pc64/test_isa_3_0_altivec.stdout.exp-LE
pc64/test_isa_3_0_other.stdout.exp-LE
pc64/test_isa_3_0_other.vgtest
th_2sig.c
th_2sig.stderr.exp-linux
th_2sig.stderr.exp-solaris
th_2sig.vgtest
390x/Makefile.in
390x/op_exception.c
cripts/Makefile.in
igsusp.c
igsusp.stderr.exp
igsusp.vgtest
olaris/Makefile.in
ilegx/Makefile.am
ilegx/Makefile.in
ilegx/allexec.c
ilegx/filter_stderr
ilegx/gen_insn_test.c
ilegx/gen_test.sh
ilegx/insn_test_add_X0.c
ilegx/insn_test_add_X1.c
ilegx/insn_test_add_Y0.c
ilegx/insn_test_add_Y1.c
ilegx/insn_test_addi_X0.c
ilegx/insn_test_addi_X1.c
ilegx/insn_test_addi_Y0.c
ilegx/insn_test_addi_Y1.c
ilegx/insn_test_addli_X0.c
ilegx/insn_test_addli_X1.c
ilegx/insn_test_addx_X0.c
ilegx/insn_test_addx_X1.c
ilegx/insn_test_addx_Y0.c
ilegx/insn_test_addx_Y1.c
ilegx/insn_test_addxi_X0.c
ilegx/insn_test_addxi_X1.c
ilegx/insn_test_addxi_Y0.c
ilegx/insn_test_addxi_Y1.c
ilegx/insn_test_addxli_X0.c
ilegx/insn_test_addxli_X1.c
ilegx/insn_test_addxsc_X0.c
ilegx/insn_test_addxsc_X1.c
ilegx/insn_test_and_X0.c
ilegx/insn_test_and_X1.c
ilegx/insn_test_and_Y0.c
ilegx/insn_test_and_Y1.c
ilegx/insn_test_andi_X0.c
ilegx/insn_test_andi_X1.c
ilegx/insn_test_andi_Y0.c
ilegx/insn_test_andi_Y1.c
ilegx/insn_test_beqz_X1.c
ilegx/insn_test_beqzt_X1.c
ilegx/insn_test_bfexts_X0.c
ilegx/insn_test_bfextu_X0.c
ilegx/insn_test_bfins_X0.c
ilegx/insn_test_bgez_X1.c
ilegx/insn_test_bgezt_X1.c
ilegx/insn_test_bgtz_X1.c
ilegx/insn_test_bgtzt_X1.c
ilegx/insn_test_blbc_X1.c
ilegx/insn_test_blbct_X1.c
ilegx/insn_test_blbs_X1.c
ilegx/insn_test_blbst_X1.c
ilegx/insn_test_blez_X1.c
ilegx/insn_test_blezt_X1.c
ilegx/insn_test_bltz_X1.c
ilegx/insn_test_bltzt_X1.c
ilegx/insn_test_bnez_X1.c
ilegx/insn_test_bnezt_X1.c
ilegx/insn_test_clz_X0.c
ilegx/insn_test_clz_Y0.c
ilegx/insn_test_cmoveqz_X0.c
ilegx/insn_test_cmoveqz_Y0.c
ilegx/insn_test_cmovnez_X0.c
ilegx/insn_test_cmovnez_Y0.c
ilegx/insn_test_cmpeq_X0.c
ilegx/insn_test_cmpeq_X1.c
ilegx/insn_test_cmpeq_Y0.c
ilegx/insn_test_cmpeq_Y1.c
ilegx/insn_test_cmpeqi_X0.c
ilegx/insn_test_cmpeqi_X1.c
ilegx/insn_test_cmpeqi_Y0.c
ilegx/insn_test_cmpeqi_Y1.c
ilegx/insn_test_cmples_X0.c
ilegx/insn_test_cmples_X1.c
ilegx/insn_test_cmples_Y0.c
ilegx/insn_test_cmples_Y1.c
ilegx/insn_test_cmpleu_X0.c
ilegx/insn_test_cmpleu_X1.c
ilegx/insn_test_cmpleu_Y0.c
ilegx/insn_test_cmpleu_Y1.c
ilegx/insn_test_cmplts_X0.c
ilegx/insn_test_cmplts_X1.c
ilegx/insn_test_cmplts_Y0.c
ilegx/insn_test_cmplts_Y1.c
ilegx/insn_test_cmpltsi_X0.c
ilegx/insn_test_cmpltsi_X1.c
ilegx/insn_test_cmpltsi_Y0.c
ilegx/insn_test_cmpltsi_Y1.c
ilegx/insn_test_cmpltu_X0.c
ilegx/insn_test_cmpltu_X1.c
ilegx/insn_test_cmpltu_Y0.c
ilegx/insn_test_cmpltu_Y1.c
ilegx/insn_test_cmpltui_X0.c
ilegx/insn_test_cmpltui_X1.c
ilegx/insn_test_cmpne_X0.c
ilegx/insn_test_cmpne_X1.c
ilegx/insn_test_cmpne_Y0.c
ilegx/insn_test_cmpne_Y1.c
ilegx/insn_test_cmul_X0.c
ilegx/insn_test_cmula_X0.c
ilegx/insn_test_cmulaf_X0.c
ilegx/insn_test_cmulf_X0.c
ilegx/insn_test_cmulfr_X0.c
ilegx/insn_test_cmulh_X0.c
ilegx/insn_test_cmulhr_X0.c
ilegx/insn_test_crc32_32_X0.c
ilegx/insn_test_crc32_8_X0.c
ilegx/insn_test_ctz_X0.c
ilegx/insn_test_ctz_Y0.c
ilegx/insn_test_dblalign2_X0.c
ilegx/insn_test_dblalign2_X1.c
ilegx/insn_test_dblalign4_X0.c
ilegx/insn_test_dblalign4_X1.c
ilegx/insn_test_dblalign6_X0.c
ilegx/insn_test_dblalign6_X1.c
ilegx/insn_test_dblalign_X0.c
ilegx/insn_test_dtlbpr_X1.c
ilegx/insn_test_fdouble_add_flags_X0.c
ilegx/insn_test_fdouble_addsub_X0.c
ilegx/insn_test_fdouble_mul_flags_X0.c
ilegx/insn_test_fdouble_pack1_X0.c
ilegx/insn_test_fdouble_pack2_X0.c
ilegx/insn_test_fdouble_sub_flags_X0.c
ilegx/insn_test_fdouble_unpack_max_X0.c
ilegx/insn_test_fdouble_unpack_min_X0.c
ilegx/insn_test_flushwb_X1.c
ilegx/insn_test_fnop_X0.c
ilegx/insn_test_fnop_X1.c
ilegx/insn_test_fnop_Y0.c
ilegx/insn_test_fnop_Y1.c
ilegx/insn_test_fsingle_add1_X0.c
ilegx/insn_test_fsingle_addsub2_X0.c
ilegx/insn_test_fsingle_mul1_X0.c
ilegx/insn_test_fsingle_mul2_X0.c
ilegx/insn_test_fsingle_pack1_X0.c
ilegx/insn_test_fsingle_pack1_Y0.c
ilegx/insn_test_fsingle_pack2_X0.c
ilegx/insn_test_fsingle_sub1_X0.c
ilegx/insn_test_icoh_X1.c
ilegx/insn_test_j_X1.c
ilegx/insn_test_jal_X1.c
ilegx/insn_test_jalr_X1.c
ilegx/insn_test_jalr_Y1.c
ilegx/insn_test_jalrp_X1.c
ilegx/insn_test_jalrp_Y1.c
ilegx/insn_test_jr_X1.c
ilegx/insn_test_jr_Y1.c
ilegx/insn_test_jrp_X1.c
ilegx/insn_test_jrp_Y1.c
ilegx/insn_test_ld1s_X1.c
ilegx/insn_test_ld1s_Y2.c
ilegx/insn_test_ld1s_add_X1.c
ilegx/insn_test_ld1u_X1.c
ilegx/insn_test_ld1u_Y2.c
ilegx/insn_test_ld1u_add_X1.c
ilegx/insn_test_ld2s_X1.c
ilegx/insn_test_ld2s_Y2.c
ilegx/insn_test_ld2u_X1.c
ilegx/insn_test_ld2u_Y2.c
ilegx/insn_test_ld4s_X1.c
ilegx/insn_test_ld4s_add_X1.c
ilegx/insn_test_ld4u_X1.c
ilegx/insn_test_ld4u_Y2.c
ilegx/insn_test_ld4u_add_X1.c
ilegx/insn_test_ld_X1.c
ilegx/insn_test_ld_Y2.c
ilegx/insn_test_ld_add_X1.c
ilegx/insn_test_ldna_X1.c
ilegx/insn_test_ldna_add_X1.c
ilegx/insn_test_ldnt1s_X1.c
ilegx/insn_test_ldnt1s_add_X1.c
ilegx/insn_test_ldnt1u_X1.c
ilegx/insn_test_ldnt1u_add_X1.c
ilegx/insn_test_ldnt2s_X1.c
ilegx/insn_test_ldnt2s_add_X1.c
ilegx/insn_test_ldnt2u_add_X1.c
ilegx/insn_test_ldnt4s_X1.c
ilegx/insn_test_ldnt4s_add_X1.c
ilegx/insn_test_ldnt4u_X1.c
ilegx/insn_test_ldnt4u_add_X1.c
ilegx/insn_test_ldnt_X1.c
ilegx/insn_test_ldnt_add_X1.c
ilegx/insn_test_lnk_X1.c
ilegx/insn_test_lnk_Y1.c
ilegx/insn_test_mf_X1.c
ilegx/insn_test_mm_X0.c
ilegx/insn_test_mnz_X0.c
ilegx/insn_test_mnz_X1.c
ilegx/insn_test_mnz_Y0.c
ilegx/insn_test_mnz_Y1.c
ilegx/insn_test_move_X0.c
ilegx/insn_test_move_X1.c
ilegx/insn_test_move_Y0.c
ilegx/insn_test_move_Y1.c
ilegx/insn_test_movei_X0.c
ilegx/insn_test_movei_X1.c
ilegx/insn_test_movei_Y0.c
ilegx/insn_test_movei_Y1.c
ilegx/insn_test_moveli_X0.c
ilegx/insn_test_moveli_X1.c
ilegx/insn_test_mul_hs_hs_X0.c
ilegx/insn_test_mul_hs_hs_Y0.c
ilegx/insn_test_mul_hs_hu_X0.c
ilegx/insn_test_mul_hs_ls_X0.c
ilegx/insn_test_mul_hs_lu_X0.c
ilegx/insn_test_mul_hu_hu_X0.c
ilegx/insn_test_mul_hu_hu_Y0.c
ilegx/insn_test_mul_hu_lu_X0.c
ilegx/insn_test_mul_ls_ls_X0.c
ilegx/insn_test_mul_ls_ls_Y0.c
ilegx/insn_test_mul_ls_lu_X0.c
ilegx/insn_test_mul_lu_lu_X0.c
ilegx/insn_test_mul_lu_lu_Y0.c
ilegx/insn_test_mula_hs_hs_X0.c
ilegx/insn_test_mula_hs_hs_Y0.c
ilegx/insn_test_mula_hs_hu_X0.c
ilegx/insn_test_mula_hs_ls_X0.c
ilegx/insn_test_mula_hs_lu_X0.c
ilegx/insn_test_mula_hu_hu_X0.c
ilegx/insn_test_mula_hu_hu_Y0.c
ilegx/insn_test_mula_hu_ls_X0.c
ilegx/insn_test_mula_hu_lu_X0.c
ilegx/insn_test_mula_ls_ls_X0.c
ilegx/insn_test_mula_ls_ls_Y0.c
ilegx/insn_test_mula_ls_lu_X0.c
ilegx/insn_test_mula_lu_lu_X0.c
ilegx/insn_test_mula_lu_lu_Y0.c
ilegx/insn_test_mulax_X0.c
ilegx/insn_test_mulax_Y0.c
ilegx/insn_test_mulx_X0.c
ilegx/insn_test_mulx_Y0.c
ilegx/insn_test_mz_X0.c
ilegx/insn_test_mz_X1.c
ilegx/insn_test_mz_Y0.c
ilegx/insn_test_mz_Y1.c
ilegx/insn_test_nop_X0.c
ilegx/insn_test_nop_X1.c
ilegx/insn_test_nop_Y0.c
ilegx/insn_test_nop_Y1.c
ilegx/insn_test_nor_X0.c
ilegx/insn_test_nor_X1.c
ilegx/insn_test_nor_Y0.c
ilegx/insn_test_nor_Y1.c
ilegx/insn_test_or_X0.c
ilegx/insn_test_or_X1.c
ilegx/insn_test_or_Y0.c
ilegx/insn_test_or_Y1.c
ilegx/insn_test_ori_X0.c
ilegx/insn_test_ori_X1.c
ilegx/insn_test_pcnt_X0.c
ilegx/insn_test_pcnt_Y0.c
ilegx/insn_test_prefetch_X1.c
ilegx/insn_test_prefetch_Y2.c
ilegx/insn_test_prefetch_l1_X1.c
ilegx/insn_test_prefetch_l1_Y2.c
ilegx/insn_test_prefetch_l2_X1.c
ilegx/insn_test_prefetch_l2_Y2.c
ilegx/insn_test_prefetch_l3_X1.c
ilegx/insn_test_prefetch_l3_Y2.c
ilegx/insn_test_revbits_X0.c
ilegx/insn_test_revbits_Y0.c
ilegx/insn_test_revbytes_X0.c
ilegx/insn_test_revbytes_Y0.c
ilegx/insn_test_rotl_X0.c
ilegx/insn_test_rotl_X1.c
ilegx/insn_test_rotl_Y0.c
ilegx/insn_test_rotl_Y1.c
ilegx/insn_test_rotli_X0.c
ilegx/insn_test_rotli_X1.c
ilegx/insn_test_rotli_Y0.c
ilegx/insn_test_rotli_Y1.c
ilegx/insn_test_shl16insli_X0.c
ilegx/insn_test_shl16insli_X1.c
ilegx/insn_test_shl1add_X0.c
ilegx/insn_test_shl1add_X1.c
ilegx/insn_test_shl1add_Y0.c
ilegx/insn_test_shl1add_Y1.c
ilegx/insn_test_shl1addx_X0.c
ilegx/insn_test_shl1addx_X1.c
ilegx/insn_test_shl1addx_Y0.c
ilegx/insn_test_shl1addx_Y1.c
ilegx/insn_test_shl2add_X0.c
ilegx/insn_test_shl2add_X1.c
ilegx/insn_test_shl2add_Y0.c
ilegx/insn_test_shl2add_Y1.c
ilegx/insn_test_shl2addx_X0.c
ilegx/insn_test_shl2addx_X1.c
ilegx/insn_test_shl2addx_Y0.c
ilegx/insn_test_shl2addx_Y1.c
ilegx/insn_test_shl3add_X0.c
ilegx/insn_test_shl3add_X1.c
ilegx/insn_test_shl3add_Y0.c
ilegx/insn_test_shl3add_Y1.c
ilegx/insn_test_shl3addx_X0.c
ilegx/insn_test_shl3addx_X1.c
ilegx/insn_test_shl3addx_Y0.c
ilegx/insn_test_shl3addx_Y1.c
ilegx/insn_test_shl_X0.c
ilegx/insn_test_shl_X1.c
ilegx/insn_test_shl_Y0.c
ilegx/insn_test_shl_Y1.c
ilegx/insn_test_shli_X0.c
ilegx/insn_test_shli_X1.c
ilegx/insn_test_shli_Y0.c
ilegx/insn_test_shli_Y1.c
ilegx/insn_test_shlx_X0.c
ilegx/insn_test_shlx_X1.c
ilegx/insn_test_shlxi_X0.c
ilegx/insn_test_shlxi_X1.c
ilegx/insn_test_shrs_X0.c
ilegx/insn_test_shrs_X1.c
ilegx/insn_test_shrs_Y0.c
ilegx/insn_test_shrs_Y1.c
ilegx/insn_test_shrsi_X0.c
ilegx/insn_test_shrsi_X1.c
ilegx/insn_test_shrsi_Y0.c
ilegx/insn_test_shrsi_Y1.c
ilegx/insn_test_shru_X0.c
ilegx/insn_test_shru_X1.c
ilegx/insn_test_shru_Y0.c
ilegx/insn_test_shru_Y1.c
ilegx/insn_test_shrui_X0.c
ilegx/insn_test_shrui_X1.c
ilegx/insn_test_shrui_Y0.c
ilegx/insn_test_shrui_Y1.c
ilegx/insn_test_shrux_X0.c
ilegx/insn_test_shrux_X1.c
ilegx/insn_test_shufflebytes_X0.c
ilegx/insn_test_st1_X1.c
ilegx/insn_test_st1_Y2.c
ilegx/insn_test_st1_add_X1.c
ilegx/insn_test_st2_X1.c
ilegx/insn_test_st2_Y2.c
ilegx/insn_test_st2_add_X1.c
ilegx/insn_test_st4_X1.c
ilegx/insn_test_st4_Y2.c
ilegx/insn_test_st4_add_X1.c
ilegx/insn_test_st_X1.c
ilegx/insn_test_st_Y2.c
ilegx/insn_test_st_add_X1.c
ilegx/insn_test_stnt1_X1.c
ilegx/insn_test_stnt2_X1.c
ilegx/insn_test_stnt2_add_X1.c
ilegx/insn_test_stnt4_X1.c
ilegx/insn_test_stnt4_add_X1.c
ilegx/insn_test_stnt_X1.c
ilegx/insn_test_stnt_add_X1.c
ilegx/insn_test_sub_X0.c
ilegx/insn_test_sub_X1.c
ilegx/insn_test_sub_Y0.c
ilegx/insn_test_sub_Y1.c
ilegx/insn_test_subx_X0.c
ilegx/insn_test_subx_X1.c
ilegx/insn_test_subx_Y0.c
ilegx/insn_test_subx_Y1.c
ilegx/insn_test_tblidxb0_X0.c
ilegx/insn_test_tblidxb0_Y0.c
ilegx/insn_test_tblidxb1_X0.c
ilegx/insn_test_tblidxb1_Y0.c
ilegx/insn_test_tblidxb2_X0.c
ilegx/insn_test_tblidxb2_Y0.c
ilegx/insn_test_tblidxb3_X0.c
ilegx/insn_test_tblidxb3_Y0.c
ilegx/insn_test_v1add_X0.c
ilegx/insn_test_v1add_X1.c
ilegx/insn_test_v1adduc_X0.c
ilegx/insn_test_v1adduc_X1.c
ilegx/insn_test_v1adiffu_X0.c
ilegx/insn_test_v1avgu_X0.c
ilegx/insn_test_v1cmpeq_X0.c
ilegx/insn_test_v1cmpeq_X1.c
ilegx/insn_test_v1cmpeqi_X0.c
ilegx/insn_test_v1cmpeqi_X1.c
ilegx/insn_test_v1cmples_X0.c
ilegx/insn_test_v1cmples_X1.c
ilegx/insn_test_v1cmpleu_X0.c
ilegx/insn_test_v1cmpleu_X1.c
ilegx/insn_test_v1cmplts_X0.c
ilegx/insn_test_v1cmplts_X1.c
ilegx/insn_test_v1cmpltu_X0.c
ilegx/insn_test_v1cmpltu_X1.c
ilegx/insn_test_v1cmpne_X0.c
ilegx/insn_test_v1cmpne_X1.c
ilegx/insn_test_v1ddotpu_X0.c
ilegx/insn_test_v1ddotpua_X0.c
ilegx/insn_test_v1ddotpus_X0.c
ilegx/insn_test_v1ddotpusa_X0.c
ilegx/insn_test_v1dotp_X0.c
ilegx/insn_test_v1dotpa_X0.c
ilegx/insn_test_v1dotpu_X0.c
ilegx/insn_test_v1dotpua_X0.c
ilegx/insn_test_v1dotpus_X0.c
ilegx/insn_test_v1dotpusa_X0.c
ilegx/insn_test_v1int_h_X0.c
ilegx/insn_test_v1int_h_X1.c
ilegx/insn_test_v1int_l_X0.c
ilegx/insn_test_v1int_l_X1.c
ilegx/insn_test_v1maxu_X0.c
ilegx/insn_test_v1maxu_X1.c
ilegx/insn_test_v1minu_X0.c
ilegx/insn_test_v1minu_X1.c
ilegx/insn_test_v1mnz_X0.c
ilegx/insn_test_v1mnz_X1.c
ilegx/insn_test_v1multu_X0.c
ilegx/insn_test_v1mulu_X0.c
ilegx/insn_test_v1mulus_X0.c
ilegx/insn_test_v1mz_X0.c
ilegx/insn_test_v1mz_X1.c
ilegx/insn_test_v1sadau_X0.c
ilegx/insn_test_v1sadu_X0.c
ilegx/insn_test_v1shl_X0.c
ilegx/insn_test_v1shl_X1.c
ilegx/insn_test_v1shli_X0.c
ilegx/insn_test_v1shli_X1.c
ilegx/insn_test_v1shrs_X0.c
ilegx/insn_test_v1shrs_X1.c
ilegx/insn_test_v1shrsi_X0.c
ilegx/insn_test_v1shrsi_X1.c
ilegx/insn_test_v1shru_X0.c
ilegx/insn_test_v1shru_X1.c
ilegx/insn_test_v1shrui_X0.c
ilegx/insn_test_v1shrui_X1.c
ilegx/insn_test_v1sub_X0.c
ilegx/insn_test_v1sub_X1.c
ilegx/insn_test_v1subuc_X0.c
ilegx/insn_test_v1subuc_X1.c
ilegx/insn_test_v2add_X0.c
ilegx/insn_test_v2add_X1.c
ilegx/insn_test_v2addsc_X0.c
ilegx/insn_test_v2addsc_X1.c
ilegx/insn_test_v2adiffs_X0.c
ilegx/insn_test_v2avgs_X0.c
ilegx/insn_test_v2cmpeq_X0.c
ilegx/insn_test_v2cmpeq_X1.c
ilegx/insn_test_v2cmpeqi_X0.c
ilegx/insn_test_v2cmpeqi_X1.c
ilegx/insn_test_v2cmples_X0.c
ilegx/insn_test_v2cmples_X1.c
ilegx/insn_test_v2cmpleu_X0.c
ilegx/insn_test_v2cmpleu_X1.c
ilegx/insn_test_v2cmplts_X0.c
ilegx/insn_test_v2cmplts_X1.c
ilegx/insn_test_v2cmpltsi_X0.c
ilegx/insn_test_v2cmpltsi_X1.c
ilegx/insn_test_v2cmpltu_X0.c
ilegx/insn_test_v2cmpltu_X1.c
ilegx/insn_test_v2cmpltui_X0.c
ilegx/insn_test_v2cmpltui_X1.c
ilegx/insn_test_v2cmpne_X0.c
ilegx/insn_test_v2cmpne_X1.c
ilegx/insn_test_v2dotp_X0.c
ilegx/insn_test_v2dotpa_X0.c
ilegx/insn_test_v2int_h_X0.c
ilegx/insn_test_v2int_h_X1.c
ilegx/insn_test_v2int_l_X0.c
ilegx/insn_test_v2int_l_X1.c
ilegx/insn_test_v2maxs_X0.c
ilegx/insn_test_v2maxs_X1.c
ilegx/insn_test_v2mins_X0.c
ilegx/insn_test_v2mins_X1.c
ilegx/insn_test_v2mnz_X0.c
ilegx/insn_test_v2mnz_X1.c
ilegx/insn_test_v2mulfsc_X0.c
ilegx/insn_test_v2muls_X0.c
ilegx/insn_test_v2mults_X0.c
ilegx/insn_test_v2mz_X0.c
ilegx/insn_test_v2mz_X1.c
ilegx/insn_test_v2packh_X0.c
ilegx/insn_test_v2packh_X1.c
ilegx/insn_test_v2packl_X0.c
ilegx/insn_test_v2packl_X1.c
ilegx/insn_test_v2packuc_X0.c
ilegx/insn_test_v2packuc_X1.c
ilegx/insn_test_v2sadas_X0.c
ilegx/insn_test_v2sadau_X0.c
ilegx/insn_test_v2sads_X0.c
ilegx/insn_test_v2sadu_X0.c
ilegx/insn_test_v2shl_X0.c
ilegx/insn_test_v2shl_X1.c
ilegx/insn_test_v2shli_X0.c
ilegx/insn_test_v2shli_X1.c
ilegx/insn_test_v2shlsc_X0.c
ilegx/insn_test_v2shlsc_X1.c
ilegx/insn_test_v2shrs_X0.c
ilegx/insn_test_v2shrs_X1.c
ilegx/insn_test_v2shrsi_X0.c
ilegx/insn_test_v2shrsi_X1.c
ilegx/insn_test_v2shru_X0.c
ilegx/insn_test_v2shru_X1.c
ilegx/insn_test_v2shrui_X0.c
ilegx/insn_test_v2shrui_X1.c
ilegx/insn_test_v2sub_X0.c
ilegx/insn_test_v2sub_X1.c
ilegx/insn_test_v2subsc_X0.c
ilegx/insn_test_v2subsc_X1.c
ilegx/insn_test_v4add_X0.c
ilegx/insn_test_v4add_X1.c
ilegx/insn_test_v4addsc_X0.c
ilegx/insn_test_v4addsc_X1.c
ilegx/insn_test_v4int_h_X0.c
ilegx/insn_test_v4int_h_X1.c
ilegx/insn_test_v4int_l_X0.c
ilegx/insn_test_v4int_l_X1.c
ilegx/insn_test_v4packsc_X0.c
ilegx/insn_test_v4packsc_X1.c
ilegx/insn_test_v4shl_X0.c
ilegx/insn_test_v4shl_X1.c
ilegx/insn_test_v4shlsc_X0.c
ilegx/insn_test_v4shlsc_X1.c
ilegx/insn_test_v4shrs_X0.c
ilegx/insn_test_v4shrs_X1.c
ilegx/insn_test_v4shru_X0.c
ilegx/insn_test_v4shru_X1.c
ilegx/insn_test_v4sub_X0.c
ilegx/insn_test_v4sub_X1.c
ilegx/insn_test_v4subsc_X0.c
ilegx/insn_test_v4subsc_X1.c
ilegx/insn_test_wh64_X1.c
ilegx/insn_test_xor_X0.c
ilegx/insn_test_xor_X1.c
ilegx/insn_test_xor_Y0.c
ilegx/insn_test_xor_Y1.c
ilegx/insn_test_xori_X0.c
ilegx/insn_test_xori_X1.c
gprintf_nvalgrind.stderr.exp
gprintf_nvalgrind.vgtest
86-darwin/Makefile.am
86-darwin/Makefile.in
86-darwin/cet_nops_gs.c
86-darwin/cet_nops_gs.stderr.exp
86-darwin/cet_nops_gs.stdout.exp
86-darwin/cet_nops_gs.vgtest
86-linux/Makefile.am
86-linux/Makefile.in
86-linux/cet_nops_fs.c
86-linux/cet_nops_fs.stderr.exp
86-linux/cet_nops_fs.stdout.exp
86-linux/cet_nops_fs.vgtest
86-linux/cet_nops_gs.c
86-linux/cet_nops_gs.stderr.exp
86-linux/cet_nops_gs.stdout.exp
86-linux/cet_nops_gs.vgtest
86-solaris/Makefile.am
86-solaris/Makefile.in
86-solaris/cet_nops_fs.c
86-solaris/cet_nops_fs.stderr.exp
86-solaris/cet_nops_fs.stdout.exp
86-solaris/cet_nops_fs.vgtest
86/Makefile.am
86/Makefile.in
86/cet_nops.c
86/cet_nops.stderr.exp
86/cet_nops.stdout.exp
86/cet_nops.vgtest
86/shift_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.am
akefile.in
llexec.c
md64-darwin/Makefile.in
md64-linux/Makefile.in
md64-solaris/Makefile.in
md64-solaris/coredump_single_thread.post.exp
md64-solaris/coredump_single_thread_mdb
md64-solaris/coredump_single_thread_sse.post.exp
md64-solaris/coredump_single_thread_sse_mdb
md64/Makefile.am
md64/Makefile.in
md64/allexec.c
md64/fma4.c
md64/fma4.stderr.exp
md64/fma4.stdout.exp
md64/fma4.vgtest
md64/insn_fpu.def
md64/insn_fpu.stdout.exp
md64/pcmpstr64.c
md64/pcmpstr64.stdout.exp
md64/pcmpstr64w.c
md64/pcmpstr64w.stdout.exp
md64/x87trigOOR.c
md64/xacq_xrel.c
rm/Makefile.am
rm/Makefile.in
rm/allexec.c
rm/v6intARM.c
rm/v6intThumb.c
rm/v6media.c
rm/v8crypto_a.c
rm/v8crypto_a.stderr.exp
rm/v8crypto_a.stdout.exp
rm/v8crypto_a.vgtest
rm/v8crypto_t.c
rm/v8crypto_t.stderr.exp
rm/v8crypto_t.stdout.exp
rm/v8crypto_t.vgtest
rm/v8memory_a.c
rm/v8memory_a.stderr.exp
rm/v8memory_a.stdout.exp
rm/v8memory_a.vgtest
rm/v8memory_t.c
rm/v8memory_t.stderr.exp
rm/v8memory_t.stdout.exp
rm/v8memory_t.vgtest
rm/vfp.c
rm64/Makefile.am
rm64/Makefile.in
rm64/allexec.c
rm64/crc32.c
rm64/crc32.stderr.exp
rm64/crc32.stdout.exp
rm64/crc32.vgtest
rm64/fp_and_simd.c
rm64/fp_and_simd.stdout.exp
rm64/memory.c
rm64/memory.stdout.exp
ug234814.vgtest
mdline1.stdout.exp
mdline2.stdout.exp
arwin/Makefile.in
octl_moans.c
ibvex_test.c
inux/Makefile.in
inux/brk-overflow1.stderr.exp
inux/brk-overflow2.stderr.exp
ips32/FPUarithmetic.c
ips32/FPUarithmetic.vgtest
ips32/Makefile.am
ips32/Makefile.in
ips32/MoveIns.c
ips32/MoveIns.stdout.exp-mips32r2-BE
ips32/MoveIns.stdout.exp-mips32r2-LE
ips32/MoveIns.vgtest
ips32/allexec.c
ips32/change_fp_mode.c
ips32/change_fp_mode.stderr.exp
ips32/change_fp_mode.stdout.exp
ips32/change_fp_mode.stdout.exp-fpu32
ips32/change_fp_mode.vgtest
ips32/fpu_branches.c
ips32/fpu_branches.vgtest
ips32/round.c
ips32/round.vgtest
ips32/round_fpu64.c
ips32/round_fpu64.vgtest
ips32/test_fcsr.c
ips32/test_fcsr.vgtest
ips32/vfp.c
ips32/vfp.stdout.exp-mips32r2-fpu_64-BE
ips32/vfp.stdout.exp-mips32r2-fpu_64-LE
ips32/vfp.vgtest
ips64/Makefile.am
ips64/Makefile.in
ips64/allexec.c
ips64/change_fp_mode.c
ips64/change_fp_mode.stderr.exp
ips64/change_fp_mode.stdout.exp
ips64/change_fp_mode.vgtest
ips64/round.c
ips64/rounding_mode.h
ips64/test_math.cpp
ips64/test_math.vgtest
ocwd.c
ocwd.stderr.exp
ocwd.stdout.exp
ocwd.vgtest
pc32/Makefile.am
pc32/Makefile.in
pc32/allexec.c
pc32/jm_vec_isa_2_07.stdout.exp
pc32/jm_vec_isa_2_07.stdout.exp-LE
pc32/test_isa_2_07_part1.c
pc32/test_isa_2_07_part2.c
pc32/test_tm.c
pc32/test_touch_tm.c
pc32/tw.c
pc32/twi.c
pc64/Makefile.am
pc64/Makefile.in
pc64/allexec.c
pc64/data-cache-instructions.c
pc64/jm-insns.c
pc64/jm_vec_isa_2_07.stdout.exp
pc64/ldst_multiple.c
pc64/opcodes.h
pc64/ppc64_helpers.h
pc64/round.c
pc64/test_dfp1.c
pc64/test_dfp2.c
pc64/test_dfp2.stdout.exp
pc64/test_dfp2.stdout.exp_Without_dcffix
pc64/test_dfp3.c
pc64/test_dfp3.stdout.exp
pc64/test_dfp4.c
pc64/test_dfp4.stdout.exp
pc64/test_dfp5.c
pc64/test_dfp5.stdout.exp
pc64/test_isa_2_06_part1.c
pc64/test_isa_2_06_part2.c
pc64/test_isa_2_06_part3.c
pc64/test_isa_2_07_part1.c
pc64/test_isa_3_0.c
pc64/test_isa_3_0_altivec.stderr.exp
pc64/test_isa_3_0_altivec.stdout.exp
pc64/test_isa_3_0_altivec.stdout.exp-LE
pc64/test_isa_3_0_altivec.vgtest
pc64/test_isa_3_0_other.stderr.exp
pc64/test_isa_3_0_other.stdout.exp
pc64/test_isa_3_0_other.stdout.exp-LE
pc64/test_isa_3_0_other.vgtest
poll_alarm.c
poll_alarm.stderr.exp
poll_alarm.stdout.exp
poll_alarm.vgtest
select_alarm.c
select_alarm.stderr.exp
select_alarm.stdout.exp
select_alarm.vgtest
select_sigmask_null.c
select_sigmask_null.stderr.exp
select_sigmask_null.stdout.exp
select_sigmask_null.vgtest
th_term_signal.c
th_term_signal.stderr.exp
th_term_signal.vgtest
es_search.vgtest
390x/Makefile.am
390x/Makefile.in
390x/allexec.c
390x/bfp-2.c
390x/bfp-2.stdout.exp
390x/cu12_1.c
390x/cu14_1.c
390x/cu21_1.c
390x/cu24_1.c
390x/high-word.c
390x/high-word.stderr.exp
390x/high-word.stdout.exp
390x/high-word.vgtest
390x/mvc.c
390x/mvc.stdout.exp
390x/opcodes.h
390x/popcnt.c
390x/popcnt.stderr.exp
390x/popcnt.stdout.exp
390x/popcnt.vgtest
390x/rxsbg.c
390x/rxsbg.stdout.exp
cripts/Makefile.in
olaris/Makefile.in
olaris/context_link2.c
olaris/coredump_many_threads.post.exp
olaris/filter_coredump_many_threads_post
olaris/reserve_sysstat_addr.stderr.exp
olaris/reserve_sysstat_zone_addr.stderr.exp
olaris/stack-overflow.c
olaris/stack-overflow.vgtest
ilegx/Makefile.in
ilegx/allexec.c
ilegx/insn_test_add_X0.c
ilegx/insn_test_add_X1.c
ilegx/insn_test_add_Y0.c
ilegx/insn_test_add_Y1.c
ilegx/insn_test_addi_X0.c
ilegx/insn_test_addi_X1.c
ilegx/insn_test_addi_Y0.c
ilegx/insn_test_addi_Y1.c
ilegx/insn_test_addli_X0.c
ilegx/insn_test_addli_X1.c
ilegx/insn_test_addx_X0.c
ilegx/insn_test_addx_X1.c
ilegx/insn_test_addx_Y0.c
ilegx/insn_test_addx_Y1.c
ilegx/insn_test_addxi_X0.c
ilegx/insn_test_addxi_X1.c
ilegx/insn_test_addxi_Y0.c
ilegx/insn_test_addxi_Y1.c
ilegx/insn_test_addxli_X0.c
ilegx/insn_test_addxli_X1.c
ilegx/insn_test_addxsc_X0.c
ilegx/insn_test_addxsc_X1.c
ilegx/insn_test_and_X0.c
ilegx/insn_test_and_X1.c
ilegx/insn_test_and_Y0.c
ilegx/insn_test_and_Y1.c
ilegx/insn_test_andi_X0.c
ilegx/insn_test_andi_X1.c
ilegx/insn_test_andi_Y0.c
ilegx/insn_test_andi_Y1.c
ilegx/insn_test_beqz_X1.c
ilegx/insn_test_beqzt_X1.c
ilegx/insn_test_bfexts_X0.c
ilegx/insn_test_bfextu_X0.c
ilegx/insn_test_bfins_X0.c
ilegx/insn_test_bgez_X1.c
ilegx/insn_test_bgezt_X1.c
ilegx/insn_test_bgtz_X1.c
ilegx/insn_test_bgtzt_X1.c
ilegx/insn_test_blbc_X1.c
ilegx/insn_test_blbct_X1.c
ilegx/insn_test_blbs_X1.c
ilegx/insn_test_blbst_X1.c
ilegx/insn_test_blez_X1.c
ilegx/insn_test_blezt_X1.c
ilegx/insn_test_bltz_X1.c
ilegx/insn_test_bltzt_X1.c
ilegx/insn_test_bnez_X1.c
ilegx/insn_test_bnezt_X1.c
ilegx/insn_test_clz_X0.c
ilegx/insn_test_clz_Y0.c
ilegx/insn_test_cmoveqz_X0.c
ilegx/insn_test_cmoveqz_Y0.c
ilegx/insn_test_cmovnez_X0.c
ilegx/insn_test_cmovnez_Y0.c
ilegx/insn_test_cmpeq_X0.c
ilegx/insn_test_cmpeq_X1.c
ilegx/insn_test_cmpeq_Y0.c
ilegx/insn_test_cmpeq_Y1.c
ilegx/insn_test_cmpeqi_X0.c
ilegx/insn_test_cmpeqi_X1.c
ilegx/insn_test_cmpeqi_Y0.c
ilegx/insn_test_cmpeqi_Y1.c
ilegx/insn_test_cmples_X0.c
ilegx/insn_test_cmples_X1.c
ilegx/insn_test_cmples_Y0.c
ilegx/insn_test_cmples_Y1.c
ilegx/insn_test_cmpleu_X0.c
ilegx/insn_test_cmpleu_X1.c
ilegx/insn_test_cmpleu_Y0.c
ilegx/insn_test_cmpleu_Y1.c
ilegx/insn_test_cmplts_X0.c
ilegx/insn_test_cmplts_X1.c
ilegx/insn_test_cmplts_Y0.c
ilegx/insn_test_cmplts_Y1.c
ilegx/insn_test_cmpltsi_X0.c
ilegx/insn_test_cmpltsi_X1.c
ilegx/insn_test_cmpltsi_Y0.c
ilegx/insn_test_cmpltsi_Y1.c
ilegx/insn_test_cmpltu_X0.c
ilegx/insn_test_cmpltu_X1.c
ilegx/insn_test_cmpltu_Y0.c
ilegx/insn_test_cmpltu_Y1.c
ilegx/insn_test_cmpltui_X0.c
ilegx/insn_test_cmpltui_X1.c
ilegx/insn_test_cmpne_X0.c
ilegx/insn_test_cmpne_X1.c
ilegx/insn_test_cmpne_Y0.c
ilegx/insn_test_cmpne_Y1.c
ilegx/insn_test_cmul_X0.c
ilegx/insn_test_cmula_X0.c
ilegx/insn_test_cmulaf_X0.c
ilegx/insn_test_cmulf_X0.c
ilegx/insn_test_cmulfr_X0.c
ilegx/insn_test_cmulh_X0.c
ilegx/insn_test_cmulhr_X0.c
ilegx/insn_test_crc32_32_X0.c
ilegx/insn_test_crc32_8_X0.c
ilegx/insn_test_ctz_X0.c
ilegx/insn_test_ctz_Y0.c
ilegx/insn_test_dblalign2_X0.c
ilegx/insn_test_dblalign2_X1.c
ilegx/insn_test_dblalign4_X0.c
ilegx/insn_test_dblalign4_X1.c
ilegx/insn_test_dblalign6_X0.c
ilegx/insn_test_dblalign6_X1.c
ilegx/insn_test_dblalign_X0.c
ilegx/insn_test_dtlbpr_X1.c
ilegx/insn_test_fdouble_add_flags_X0.c
ilegx/insn_test_fdouble_addsub_X0.c
ilegx/insn_test_fdouble_mul_flags_X0.c
ilegx/insn_test_fdouble_pack1_X0.c
ilegx/insn_test_fdouble_pack2_X0.c
ilegx/insn_test_fdouble_sub_flags_X0.c
ilegx/insn_test_fdouble_unpack_max_X0.c
ilegx/insn_test_fdouble_unpack_min_X0.c
ilegx/insn_test_flushwb_X1.c
ilegx/insn_test_fnop_X0.c
ilegx/insn_test_fnop_X1.c
ilegx/insn_test_fnop_Y0.c
ilegx/insn_test_fnop_Y1.c
ilegx/insn_test_fsingle_add1_X0.c
ilegx/insn_test_fsingle_addsub2_X0.c
ilegx/insn_test_fsingle_mul1_X0.c
ilegx/insn_test_fsingle_mul2_X0.c
ilegx/insn_test_fsingle_pack1_X0.c
ilegx/insn_test_fsingle_pack1_Y0.c
ilegx/insn_test_fsingle_pack2_X0.c
ilegx/insn_test_fsingle_sub1_X0.c
ilegx/insn_test_icoh_X1.c
ilegx/insn_test_j_X1.c
ilegx/insn_test_jal_X1.c
ilegx/insn_test_jalr_X1.c
ilegx/insn_test_jalr_Y1.c
ilegx/insn_test_jalrp_X1.c
ilegx/insn_test_jalrp_Y1.c
ilegx/insn_test_jr_X1.c
ilegx/insn_test_jr_Y1.c
ilegx/insn_test_jrp_X1.c
ilegx/insn_test_jrp_Y1.c
ilegx/insn_test_ld1s_X1.c
ilegx/insn_test_ld1s_Y2.c
ilegx/insn_test_ld1s_add_X1.c
ilegx/insn_test_ld1u_X1.c
ilegx/insn_test_ld1u_Y2.c
ilegx/insn_test_ld1u_add_X1.c
ilegx/insn_test_ld2s_X1.c
ilegx/insn_test_ld2s_Y2.c
ilegx/insn_test_ld2u_X1.c
ilegx/insn_test_ld2u_Y2.c
ilegx/insn_test_ld4s_X1.c
ilegx/insn_test_ld4s_add_X1.c
ilegx/insn_test_ld4u_X1.c
ilegx/insn_test_ld4u_Y2.c
ilegx/insn_test_ld4u_add_X1.c
ilegx/insn_test_ld_X1.c
ilegx/insn_test_ld_Y2.c
ilegx/insn_test_ld_add_X1.c
ilegx/insn_test_ldna_X1.c
ilegx/insn_test_ldna_add_X1.c
ilegx/insn_test_ldnt1s_X1.c
ilegx/insn_test_ldnt1s_add_X1.c
ilegx/insn_test_ldnt1u_X1.c
ilegx/insn_test_ldnt1u_add_X1.c
ilegx/insn_test_ldnt2s_X1.c
ilegx/insn_test_ldnt2s_add_X1.c
ilegx/insn_test_ldnt2u_add_X1.c
ilegx/insn_test_ldnt4s_X1.c
ilegx/insn_test_ldnt4s_add_X1.c
ilegx/insn_test_ldnt4u_X1.c
ilegx/insn_test_ldnt4u_add_X1.c
ilegx/insn_test_ldnt_X1.c
ilegx/insn_test_ldnt_add_X1.c
ilegx/insn_test_lnk_X1.c
ilegx/insn_test_lnk_Y1.c
ilegx/insn_test_mf_X1.c
ilegx/insn_test_mm_X0.c
ilegx/insn_test_mnz_X0.c
ilegx/insn_test_mnz_X1.c
ilegx/insn_test_mnz_Y0.c
ilegx/insn_test_mnz_Y1.c
ilegx/insn_test_move_X0.c
ilegx/insn_test_move_X1.c
ilegx/insn_test_move_Y0.c
ilegx/insn_test_move_Y1.c
ilegx/insn_test_movei_X0.c
ilegx/insn_test_movei_X1.c
ilegx/insn_test_movei_Y0.c
ilegx/insn_test_movei_Y1.c
ilegx/insn_test_moveli_X0.c
ilegx/insn_test_moveli_X1.c
ilegx/insn_test_mul_hs_hs_X0.c
ilegx/insn_test_mul_hs_hs_Y0.c
ilegx/insn_test_mul_hs_hu_X0.c
ilegx/insn_test_mul_hs_ls_X0.c
ilegx/insn_test_mul_hs_lu_X0.c
ilegx/insn_test_mul_hu_hu_X0.c
ilegx/insn_test_mul_hu_hu_Y0.c
ilegx/insn_test_mul_hu_lu_X0.c
ilegx/insn_test_mul_ls_ls_X0.c
ilegx/insn_test_mul_ls_ls_Y0.c
ilegx/insn_test_mul_ls_lu_X0.c
ilegx/insn_test_mul_lu_lu_X0.c
ilegx/insn_test_mul_lu_lu_Y0.c
ilegx/insn_test_mula_hs_hs_X0.c
ilegx/insn_test_mula_hs_hs_Y0.c
ilegx/insn_test_mula_hs_hu_X0.c
ilegx/insn_test_mula_hs_ls_X0.c
ilegx/insn_test_mula_hs_lu_X0.c
ilegx/insn_test_mula_hu_hu_X0.c
ilegx/insn_test_mula_hu_hu_Y0.c
ilegx/insn_test_mula_hu_ls_X0.c
ilegx/insn_test_mula_hu_lu_X0.c
ilegx/insn_test_mula_ls_ls_X0.c
ilegx/insn_test_mula_ls_ls_Y0.c
ilegx/insn_test_mula_ls_lu_X0.c
ilegx/insn_test_mula_lu_lu_X0.c
ilegx/insn_test_mula_lu_lu_Y0.c
ilegx/insn_test_mulax_X0.c
ilegx/insn_test_mulax_Y0.c
ilegx/insn_test_mulx_X0.c
ilegx/insn_test_mulx_Y0.c
ilegx/insn_test_mz_X0.c
ilegx/insn_test_mz_X1.c
ilegx/insn_test_mz_Y0.c
ilegx/insn_test_mz_Y1.c
ilegx/insn_test_nop_X0.c
ilegx/insn_test_nop_X1.c
ilegx/insn_test_nop_Y0.c
ilegx/insn_test_nop_Y1.c
ilegx/insn_test_nor_X0.c
ilegx/insn_test_nor_X1.c
ilegx/insn_test_nor_Y0.c
ilegx/insn_test_nor_Y1.c
ilegx/insn_test_or_X0.c
ilegx/insn_test_or_X1.c
ilegx/insn_test_or_Y0.c
ilegx/insn_test_or_Y1.c
ilegx/insn_test_ori_X0.c
ilegx/insn_test_ori_X1.c
ilegx/insn_test_pcnt_X0.c
ilegx/insn_test_pcnt_Y0.c
ilegx/insn_test_prefetch_X1.c
ilegx/insn_test_prefetch_Y2.c
ilegx/insn_test_prefetch_l1_X1.c
ilegx/insn_test_prefetch_l1_Y2.c
ilegx/insn_test_prefetch_l2_X1.c
ilegx/insn_test_prefetch_l2_Y2.c
ilegx/insn_test_prefetch_l3_X1.c
ilegx/insn_test_prefetch_l3_Y2.c
ilegx/insn_test_revbits_X0.c
ilegx/insn_test_revbits_Y0.c
ilegx/insn_test_revbytes_X0.c
ilegx/insn_test_revbytes_Y0.c
ilegx/insn_test_rotl_X0.c
ilegx/insn_test_rotl_X1.c
ilegx/insn_test_rotl_Y0.c
ilegx/insn_test_rotl_Y1.c
ilegx/insn_test_rotli_X0.c
ilegx/insn_test_rotli_X1.c
ilegx/insn_test_rotli_Y0.c
ilegx/insn_test_rotli_Y1.c
ilegx/insn_test_shl16insli_X0.c
ilegx/insn_test_shl16insli_X1.c
ilegx/insn_test_shl1add_X0.c
ilegx/insn_test_shl1add_X1.c
ilegx/insn_test_shl1add_Y0.c
ilegx/insn_test_shl1add_Y1.c
ilegx/insn_test_shl1addx_X0.c
ilegx/insn_test_shl1addx_X1.c
ilegx/insn_test_shl1addx_Y0.c
ilegx/insn_test_shl1addx_Y1.c
ilegx/insn_test_shl2add_X0.c
ilegx/insn_test_shl2add_X1.c
ilegx/insn_test_shl2add_Y0.c
ilegx/insn_test_shl2add_Y1.c
ilegx/insn_test_shl2addx_X0.c
ilegx/insn_test_shl2addx_X1.c
ilegx/insn_test_shl2addx_Y0.c
ilegx/insn_test_shl2addx_Y1.c
ilegx/insn_test_shl3add_X0.c
ilegx/insn_test_shl3add_X1.c
ilegx/insn_test_shl3add_Y0.c
ilegx/insn_test_shl3add_Y1.c
ilegx/insn_test_shl3addx_X0.c
ilegx/insn_test_shl3addx_X1.c
ilegx/insn_test_shl3addx_Y0.c
ilegx/insn_test_shl3addx_Y1.c
ilegx/insn_test_shl_X0.c
ilegx/insn_test_shl_X1.c
ilegx/insn_test_shl_Y0.c
ilegx/insn_test_shl_Y1.c
ilegx/insn_test_shli_X0.c
ilegx/insn_test_shli_X1.c
ilegx/insn_test_shli_Y0.c
ilegx/insn_test_shli_Y1.c
ilegx/insn_test_shlx_X0.c
ilegx/insn_test_shlx_X1.c
ilegx/insn_test_shlxi_X0.c
ilegx/insn_test_shlxi_X1.c
ilegx/insn_test_shrs_X0.c
ilegx/insn_test_shrs_X1.c
ilegx/insn_test_shrs_Y0.c
ilegx/insn_test_shrs_Y1.c
ilegx/insn_test_shrsi_X0.c
ilegx/insn_test_shrsi_X1.c
ilegx/insn_test_shrsi_Y0.c
ilegx/insn_test_shrsi_Y1.c
ilegx/insn_test_shru_X0.c
ilegx/insn_test_shru_X1.c
ilegx/insn_test_shru_Y0.c
ilegx/insn_test_shru_Y1.c
ilegx/insn_test_shrui_X0.c
ilegx/insn_test_shrui_X1.c
ilegx/insn_test_shrui_Y0.c
ilegx/insn_test_shrui_Y1.c
ilegx/insn_test_shrux_X0.c
ilegx/insn_test_shrux_X1.c
ilegx/insn_test_shufflebytes_X0.c
ilegx/insn_test_st1_X1.c
ilegx/insn_test_st1_Y2.c
ilegx/insn_test_st1_add_X1.c
ilegx/insn_test_st2_X1.c
ilegx/insn_test_st2_Y2.c
ilegx/insn_test_st2_add_X1.c
ilegx/insn_test_st4_X1.c
ilegx/insn_test_st4_Y2.c
ilegx/insn_test_st4_add_X1.c
ilegx/insn_test_st_X1.c
ilegx/insn_test_st_Y2.c
ilegx/insn_test_st_add_X1.c
ilegx/insn_test_stnt1_X1.c
ilegx/insn_test_stnt2_X1.c
ilegx/insn_test_stnt2_add_X1.c
ilegx/insn_test_stnt4_X1.c
ilegx/insn_test_stnt4_add_X1.c
ilegx/insn_test_stnt_X1.c
ilegx/insn_test_stnt_add_X1.c
ilegx/insn_test_sub_X0.c
ilegx/insn_test_sub_X1.c
ilegx/insn_test_sub_Y0.c
ilegx/insn_test_sub_Y1.c
ilegx/insn_test_subx_X0.c
ilegx/insn_test_subx_X1.c
ilegx/insn_test_subx_Y0.c
ilegx/insn_test_subx_Y1.c
ilegx/insn_test_tblidxb0_X0.c
ilegx/insn_test_tblidxb0_Y0.c
ilegx/insn_test_tblidxb1_X0.c
ilegx/insn_test_tblidxb1_Y0.c
ilegx/insn_test_tblidxb2_X0.c
ilegx/insn_test_tblidxb2_Y0.c
ilegx/insn_test_tblidxb3_X0.c
ilegx/insn_test_tblidxb3_Y0.c
ilegx/insn_test_v1add_X0.c
ilegx/insn_test_v1add_X1.c
ilegx/insn_test_v1adduc_X0.c
ilegx/insn_test_v1adduc_X1.c
ilegx/insn_test_v1adiffu_X0.c
ilegx/insn_test_v1avgu_X0.c
ilegx/insn_test_v1cmpeq_X0.c
ilegx/insn_test_v1cmpeq_X1.c
ilegx/insn_test_v1cmpeqi_X0.c
ilegx/insn_test_v1cmpeqi_X1.c
ilegx/insn_test_v1cmples_X0.c
ilegx/insn_test_v1cmples_X1.c
ilegx/insn_test_v1cmpleu_X0.c
ilegx/insn_test_v1cmpleu_X1.c
ilegx/insn_test_v1cmplts_X0.c
ilegx/insn_test_v1cmplts_X1.c
ilegx/insn_test_v1cmpltu_X0.c
ilegx/insn_test_v1cmpltu_X1.c
ilegx/insn_test_v1cmpne_X0.c
ilegx/insn_test_v1cmpne_X1.c
ilegx/insn_test_v1ddotpu_X0.c
ilegx/insn_test_v1ddotpua_X0.c
ilegx/insn_test_v1ddotpus_X0.c
ilegx/insn_test_v1ddotpusa_X0.c
ilegx/insn_test_v1dotp_X0.c
ilegx/insn_test_v1dotpa_X0.c
ilegx/insn_test_v1dotpu_X0.c
ilegx/insn_test_v1dotpua_X0.c
ilegx/insn_test_v1dotpus_X0.c
ilegx/insn_test_v1dotpusa_X0.c
ilegx/insn_test_v1int_h_X0.c
ilegx/insn_test_v1int_h_X1.c
ilegx/insn_test_v1int_l_X0.c
ilegx/insn_test_v1int_l_X1.c
ilegx/insn_test_v1maxu_X0.c
ilegx/insn_test_v1maxu_X1.c
ilegx/insn_test_v1minu_X0.c
ilegx/insn_test_v1minu_X1.c
ilegx/insn_test_v1mnz_X0.c
ilegx/insn_test_v1mnz_X1.c
ilegx/insn_test_v1multu_X0.c
ilegx/insn_test_v1mulu_X0.c
ilegx/insn_test_v1mulus_X0.c
ilegx/insn_test_v1mz_X0.c
ilegx/insn_test_v1mz_X1.c
ilegx/insn_test_v1sadau_X0.c
ilegx/insn_test_v1sadu_X0.c
ilegx/insn_test_v1shl_X0.c
ilegx/insn_test_v1shl_X1.c
ilegx/insn_test_v1shli_X0.c
ilegx/insn_test_v1shli_X1.c
ilegx/insn_test_v1shrs_X0.c
ilegx/insn_test_v1shrs_X1.c
ilegx/insn_test_v1shrsi_X0.c
ilegx/insn_test_v1shrsi_X1.c
ilegx/insn_test_v1shru_X0.c
ilegx/insn_test_v1shru_X1.c
ilegx/insn_test_v1shrui_X0.c
ilegx/insn_test_v1shrui_X1.c
ilegx/insn_test_v1sub_X0.c
ilegx/insn_test_v1sub_X1.c
ilegx/insn_test_v1subuc_X0.c
ilegx/insn_test_v1subuc_X1.c
ilegx/insn_test_v2add_X0.c
ilegx/insn_test_v2add_X1.c
ilegx/insn_test_v2addsc_X0.c
ilegx/insn_test_v2addsc_X1.c
ilegx/insn_test_v2adiffs_X0.c
ilegx/insn_test_v2avgs_X0.c
ilegx/insn_test_v2cmpeq_X0.c
ilegx/insn_test_v2cmpeq_X1.c
ilegx/insn_test_v2cmpeqi_X0.c
ilegx/insn_test_v2cmpeqi_X1.c
ilegx/insn_test_v2cmples_X0.c
ilegx/insn_test_v2cmples_X1.c
ilegx/insn_test_v2cmpleu_X0.c
ilegx/insn_test_v2cmpleu_X1.c
ilegx/insn_test_v2cmplts_X0.c
ilegx/insn_test_v2cmplts_X1.c
ilegx/insn_test_v2cmpltsi_X0.c
ilegx/insn_test_v2cmpltsi_X1.c
ilegx/insn_test_v2cmpltu_X0.c
ilegx/insn_test_v2cmpltu_X1.c
ilegx/insn_test_v2cmpltui_X0.c
ilegx/insn_test_v2cmpltui_X1.c
ilegx/insn_test_v2cmpne_X0.c
ilegx/insn_test_v2cmpne_X1.c
ilegx/insn_test_v2dotp_X0.c
ilegx/insn_test_v2dotpa_X0.c
ilegx/insn_test_v2int_h_X0.c
ilegx/insn_test_v2int_h_X1.c
ilegx/insn_test_v2int_l_X0.c
ilegx/insn_test_v2int_l_X1.c
ilegx/insn_test_v2maxs_X0.c
ilegx/insn_test_v2maxs_X1.c
ilegx/insn_test_v2mins_X0.c
ilegx/insn_test_v2mins_X1.c
ilegx/insn_test_v2mnz_X0.c
ilegx/insn_test_v2mnz_X1.c
ilegx/insn_test_v2mulfsc_X0.c
ilegx/insn_test_v2muls_X0.c
ilegx/insn_test_v2mults_X0.c
ilegx/insn_test_v2mz_X0.c
ilegx/insn_test_v2mz_X1.c
ilegx/insn_test_v2packh_X0.c
ilegx/insn_test_v2packh_X1.c
ilegx/insn_test_v2packl_X0.c
ilegx/insn_test_v2packl_X1.c
ilegx/insn_test_v2packuc_X0.c
ilegx/insn_test_v2packuc_X1.c
ilegx/insn_test_v2sadas_X0.c
ilegx/insn_test_v2sadau_X0.c
ilegx/insn_test_v2sads_X0.c
ilegx/insn_test_v2sadu_X0.c
ilegx/insn_test_v2shl_X0.c
ilegx/insn_test_v2shl_X1.c
ilegx/insn_test_v2shli_X0.c
ilegx/insn_test_v2shli_X1.c
ilegx/insn_test_v2shlsc_X0.c
ilegx/insn_test_v2shlsc_X1.c
ilegx/insn_test_v2shrs_X0.c
ilegx/insn_test_v2shrs_X1.c
ilegx/insn_test_v2shrsi_X0.c
ilegx/insn_test_v2shrsi_X1.c
ilegx/insn_test_v2shru_X0.c
ilegx/insn_test_v2shru_X1.c
ilegx/insn_test_v2shrui_X0.c
ilegx/insn_test_v2shrui_X1.c
ilegx/insn_test_v2sub_X0.c
ilegx/insn_test_v2sub_X1.c
ilegx/insn_test_v2subsc_X0.c
ilegx/insn_test_v2subsc_X1.c
ilegx/insn_test_v4add_X0.c
ilegx/insn_test_v4add_X1.c
ilegx/insn_test_v4addsc_X0.c
ilegx/insn_test_v4addsc_X1.c
ilegx/insn_test_v4int_h_X0.c
ilegx/insn_test_v4int_h_X1.c
ilegx/insn_test_v4int_l_X0.c
ilegx/insn_test_v4int_l_X1.c
ilegx/insn_test_v4packsc_X0.c
ilegx/insn_test_v4packsc_X1.c
ilegx/insn_test_v4shl_X0.c
ilegx/insn_test_v4shl_X1.c
ilegx/insn_test_v4shlsc_X0.c
ilegx/insn_test_v4shlsc_X1.c
ilegx/insn_test_v4shrs_X0.c
ilegx/insn_test_v4shrs_X1.c
ilegx/insn_test_v4shru_X0.c
ilegx/insn_test_v4shru_X1.c
ilegx/insn_test_v4sub_X0.c
ilegx/insn_test_v4sub_X1.c
ilegx/insn_test_v4subsc_X0.c
ilegx/insn_test_v4subsc_X1.c
ilegx/insn_test_wh64_X1.c
ilegx/insn_test_xor_X0.c
ilegx/insn_test_xor_X1.c
ilegx/insn_test_xor_Y0.c
ilegx/insn_test_xor_Y1.c
ilegx/insn_test_xori_X0.c
ilegx/insn_test_xori_X1.c
86-darwin/Makefile.in
86-linux/Makefile.in
86-solaris/Makefile.in
86-solaris/coredump_single_thread.post.exp
86-solaris/coredump_single_thread_mdb
86-solaris/coredump_single_thread_sse.post.exp
86-solaris/coredump_single_thread_sse_mdb
86/Makefile.in
86/allexec.c
86/insn_fpu.def
86/insn_fpu.stdout.exp
d7440ad4b2d9dccb2342905396b85b40131b3f65 12-Oct-2015 mjw <mjw@a5019735-40e9-0310-863c-91ae7b9d1cf9> Bug #278744 cvtps2pd with redundant RexW.

Add testcase for VEX svn r3198.

git-svn-id: svn://svn.valgrind.org/valgrind/trunk@15699 a5019735-40e9-0310-863c-91ae7b9d1cf9
md64/redundantRexW.c
md64/redundantRexW.stdout.exp
ef4ea0f4974c6a1ee24fe015abfdd99b9b8f960a 03-Oct-2015 rhyskidd <rhyskidd@a5019735-40e9-0310-863c-91ae7b9d1cf9> Follow up to r15628, properly guard none/tests/ansi and fix a typo. n-i-bz.

git-svn-id: svn://svn.valgrind.org/valgrind/trunk@15697 a5019735-40e9-0310-863c-91ae7b9d1cf9
akefile.am
nsi.vgtest
115ffedd1f71b5cb5cb4ae5d0d413149b13b1d8a 10-Sep-2015 florian <florian@a5019735-40e9-0310-863c-91ae7b9d1cf9> Avoid compiler warning about uninitialised variable.
Observed with gcc 5.1


git-svn-id: svn://svn.valgrind.org/valgrind/trunk@15648 a5019735-40e9-0310-863c-91ae7b9d1cf9
390x/fold_And16.c
0bfd39c91c5f973258e88b9f4b597425240de6c4 09-Sep-2015 mjw <mjw@a5019735-40e9-0310-863c-91ae7b9d1cf9> libvex_test: Use arm64_[di]MinLine_lg2_szB values that make libvex happy.

git-svn-id: svn://svn.valgrind.org/valgrind/trunk@15647 a5019735-40e9-0310-863c-91ae7b9d1cf9
ibvex_test.c
4beff580c839249e57b0b36652110e21720da8c3 08-Sep-2015 mjw <mjw@a5019735-40e9-0310-863c-91ae7b9d1cf9> Make distcheck happy. Fix srcdir != builddir in none/tests/tilegx.

git-svn-id: svn://svn.valgrind.org/valgrind/trunk@15641 a5019735-40e9-0310-863c-91ae7b9d1cf9
ilegx/Makefile.am
72e4640ec92ff566dbba01f69197865016cfeb84 05-Sep-2015 florian <florian@a5019735-40e9-0310-863c-91ae7b9d1cf9> Changes related to new IROp Iop_RoundF128toInt. See VEX r3183.
s390: Add testcase for fixbr.
Patch by Andreas Arnez <arnez@linux.vnet.ibm.com>.
Part of fixing BZ #350290.


git-svn-id: svn://svn.valgrind.org/valgrind/trunk@15629 a5019735-40e9-0310-863c-91ae7b9d1cf9
390x/Makefile.am
390x/fixbr.c
390x/fixbr.stderr.exp
390x/fixbr.stdout.exp
390x/fixbr.vgtest
23924e103c325e5e6e0a405f513c1f3746c64a41 05-Sep-2015 florian <florian@a5019735-40e9-0310-863c-91ae7b9d1cf9> Do not compile ansi.c with clang as that compiler does not
recognise the -ansi command line option.


git-svn-id: svn://svn.valgrind.org/valgrind/trunk@15628 a5019735-40e9-0310-863c-91ae7b9d1cf9
akefile.am
ff7469da55e9fbca28e00595ed6fa45bb0269289 05-Sep-2015 florian <florian@a5019735-40e9-0310-863c-91ae7b9d1cf9> Add callgrind.h


git-svn-id: svn://svn.valgrind.org/valgrind/trunk@15627 a5019735-40e9-0310-863c-91ae7b9d1cf9
nsi.c
336b8a097a4ba5de713f1249fc5dcff2d3fdc081 05-Sep-2015 florian <florian@a5019735-40e9-0310-863c-91ae7b9d1cf9> Update line number as a result of r15624.


git-svn-id: svn://svn.valgrind.org/valgrind/trunk@15626 a5019735-40e9-0310-863c-91ae7b9d1cf9
390x/fpext_fail.stderr.exp
f2867129ef717dfec2f4281dfe35e057eccd0f59 04-Sep-2015 florian <florian@a5019735-40e9-0310-863c-91ae7b9d1cf9> Add an assert.


git-svn-id: svn://svn.valgrind.org/valgrind/trunk@15624 a5019735-40e9-0310-863c-91ae7b9d1cf9
390x/fpext.c
743515ccfe0e3d684369fc6aaa010aae12d074f9 04-Sep-2015 florian <florian@a5019735-40e9-0310-863c-91ae7b9d1cf9> To test extended BFP opcodes we need sizeof(long double) == 16.
Certain old versions of GCC don't have that as default. So we must
give -mlong-double-128 on the command line.
Pertains to BZ #352183.


git-svn-id: svn://svn.valgrind.org/valgrind/trunk@15623 a5019735-40e9-0310-863c-91ae7b9d1cf9
390x/Makefile.am
390x/fpext.vgtest
390x/fpext_fail.vgtest
7161e335dafa8c44c7ccd988a2c910eb0da2200a 02-Sep-2015 florian <florian@a5019735-40e9-0310-863c-91ae7b9d1cf9> Suppress unwanted clang 3.7 warnings.
Fix undefined behaviour in perf/tinycc.c


git-svn-id: svn://svn.valgrind.org/valgrind/trunk@15616 a5019735-40e9-0310-863c-91ae7b9d1cf9
inux/Makefile.am
8536a414da87be1af6db64e7b1f7b62fc421661c 02-Sep-2015 mjw <mjw@a5019735-40e9-0310-863c-91ae7b9d1cf9> Bug 351873 Newer gcc doesn't allow __builtin_tabortdc[i] in ppc32 mode.

git-svn-id: svn://svn.valgrind.org/valgrind/trunk@15615 a5019735-40e9-0310-863c-91ae7b9d1cf9
pc64/test_touch_tm.c
4e1d946c86dffc684a6da4215b66f81573512558 01-Sep-2015 iraisr <iraisr@a5019735-40e9-0310-863c-91ae7b9d1cf9> Document that --read-inline-info=yes is the default
even on Solaris for Memcheck, Helgrind and DRD.
n-i-bz


git-svn-id: svn://svn.valgrind.org/valgrind/trunk@15613 a5019735-40e9-0310-863c-91ae7b9d1cf9
mdline1.stdout.exp
mdline2.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
86/Makefile.am
eb6caa388dc4613ae391dfb7c28acac3b0dee0c1 31-Aug-2015 florian <florian@a5019735-40e9-0310-863c-91ae7b9d1cf9> Comment out unused functions to avoid clang warnings.


git-svn-id: svn://svn.valgrind.org/valgrind/trunk@15605 a5019735-40e9-0310-863c-91ae7b9d1cf9
86-linux/seg_override.c
29dd9e62b241efb2c406ed658720e0dd2e68897d 31-Aug-2015 sewardj <sewardj@a5019735-40e9-0310-863c-91ae7b9d1cf9> Change the default setting for --dsymutil from =no to =yes, since
in practice it needs to be permanently enabled on OS X. No change
on other platforms.


git-svn-id: svn://svn.valgrind.org/valgrind/trunk@15603 a5019735-40e9-0310-863c-91ae7b9d1cf9
mdline1.stdout.exp
mdline2.stdout.exp
6d9a33803c50c3bd2593169130382facfbd17521 31-Aug-2015 sewardj <sewardj@a5019735-40e9-0310-863c-91ae7b9d1cf9> Change the --smc-check default value to =all-non-file.


git-svn-id: svn://svn.valgrind.org/valgrind/trunk@15601 a5019735-40e9-0310-863c-91ae7b9d1cf9
mdline1.stdout.exp
mdline2.stdout.exp
03d49dd544dd1b1c8431a2303b4943e6bb4e1937 21-Aug-2015 sewardj <sewardj@a5019735-40e9-0310-863c-91ae7b9d1cf9> More copyright date changes for 2015 (fallout from r15577)


git-svn-id: svn://svn.valgrind.org/valgrind/trunk@15578 a5019735-40e9-0310-863c-91ae7b9d1cf9
mdline1.stdout.exp
mdline2.stdout.exp
c398e51498ef233966e1264b6a244d4ab2953c5d 17-Aug-2015 mjw <mjw@a5019735-40e9-0310-863c-91ae7b9d1cf9> Add bug338606 testfile to none/tests/scripts/Makefile.am EXTRA_DIST.

git-svn-id: svn://svn.valgrind.org/valgrind/trunk@15561 a5019735-40e9-0310-863c-91ae7b9d1cf9
cripts/Makefile.am
b4737fee94376dc3e2651b8f824c6f3f24181f7a 17-Aug-2015 sewardj <sewardj@a5019735-40e9-0310-863c-91ae7b9d1cf9> Add test cases for VCVT.{S,U}32.F32, S[n], S[n], #imm.
Pertains to #342783.


git-svn-id: svn://svn.valgrind.org/valgrind/trunk@15559 a5019735-40e9-0310-863c-91ae7b9d1cf9
rm/vcvt_fixed_float_VFP.c
rm/vcvt_fixed_float_VFP.stdout.exp
cb8dd7612a2790d0a7da40b08db28968da9bdc98 16-Aug-2015 sewardj <sewardj@a5019735-40e9-0310-863c-91ae7b9d1cf9> Enable building of ARMv8 crypto instruction tests, having finally
figured out what the relevant gcc flag is.


git-svn-id: svn://svn.valgrind.org/valgrind/trunk@15557 a5019735-40e9-0310-863c-91ae7b9d1cf9
rm64/Makefile.am
rm64/fp_and_simd.c
83313176feac6516e452fb90254b1a37569f4f14 16-Aug-2015 sewardj <sewardj@a5019735-40e9-0310-863c-91ae7b9d1cf9> Add test cases for PRFM (register). Pertains to #345177.


git-svn-id: svn://svn.valgrind.org/valgrind/trunk@15555 a5019735-40e9-0310-863c-91ae7b9d1cf9
rm64/memory.c
rm64/memory.stdout.exp
7232d21715667faf36d067c75606abecbb85f17f 15-Aug-2015 rhyskidd <rhyskidd@a5019735-40e9-0310-863c-91ae7b9d1cf9> 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 ==


git-svn-id: svn://svn.valgrind.org/valgrind/trunk@15553 a5019735-40e9-0310-863c-91ae7b9d1cf9
md64/Makefile.am
md64/avx2-1.c
917ca31cf6b0d1f92c7168f5557b1dba8fd25253 15-Aug-2015 rhyskidd <rhyskidd@a5019735-40e9-0310-863c-91ae7b9d1cf9> Preliminary OS X memalign() shim work, although this specific regression test remains guarded due to clang build issues with _randArray.

git-svn-id: svn://svn.valgrind.org/valgrind/trunk@15552 a5019735-40e9-0310-863c-91ae7b9d1cf9
md64/avx2-1.c
80100176b341d7aed8ffdec049ce44aeb54032d4 15-Aug-2015 rhyskidd <rhyskidd@a5019735-40e9-0310-863c-91ae7b9d1cf9> 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 ==


git-svn-id: svn://svn.valgrind.org/valgrind/trunk@15550 a5019735-40e9-0310-863c-91ae7b9d1cf9
md64/Makefile.am
md64/avx-1.c
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
md64/Makefile.am
md64/movbe.c
86/Makefile.am
86/movbe.c
7c23ae4b19d203292a2d2509aefa192c7d91ff28 15-Aug-2015 rhyskidd <rhyskidd@a5019735-40e9-0310-863c-91ae7b9d1cf9> Plumb through memalign16() rather than having four implementations of the same code. n-i-bz.

git-svn-id: svn://svn.valgrind.org/valgrind/trunk@15548 a5019735-40e9-0310-863c-91ae7b9d1cf9
md64/sse4-64.c
rm64/fp_and_simd.c
rm64/memory.c
7ad9ba99feaa5e512011f314ab72ea1d9a7d3907 15-Aug-2015 rhyskidd <rhyskidd@a5019735-40e9-0310-863c-91ae7b9d1cf9> Add regression test for bz#350062 - vex x86->IR: unhandled instruction bytes: 0x66 0xF 0x3A 0xB (ROUNDSD) on OS X.

git-svn-id: svn://svn.valgrind.org/valgrind/trunk@15546 a5019735-40e9-0310-863c-91ae7b9d1cf9
86-darwin/Makefile.am
86-darwin/bug350062.c
86-darwin/bug350062.stderr.exp
86-darwin/bug350062.vgtest
23e68cad77b0e793e090a87d18c4681e164fdc56 14-Aug-2015 iraisr <iraisr@a5019735-40e9-0310-863c-91ae7b9d1cf9> Newer Solaris has added /proc/self/cmdline and /proc/<pid>/cmdline.
Add support for it in the syswrap machinery and test it more thoroughly.
n-i-bz


git-svn-id: svn://svn.valgrind.org/valgrind/trunk@15545 a5019735-40e9-0310-863c-91ae7b9d1cf9
rocfs-non-linux.vgtest
olaris/Makefile.am
olaris/proc-cmdline-exe.stderr.exp-with-cmdline
olaris/proc-cmdline-exe.stderr.exp-without-cmdline
olaris/proc-cmdline-exe.vgtest
32f96adc256769662da8de9d02c26bdcc25a012c 13-Aug-2015 sewardj <sewardj@a5019735-40e9-0310-863c-91ae7b9d1cf9> do_cmpxchg8b(): fix incorrect inline assembly (wrong register name)
and updated expected result. n-i-bz.


git-svn-id: svn://svn.valgrind.org/valgrind/trunk@15536 a5019735-40e9-0310-863c-91ae7b9d1cf9
md64/xacq_xrel.c
md64/xacq_xrel.stdout.exp
053f436448ea3f8733f5205226d2989d4de31b66 13-Aug-2015 sewardj <sewardj@a5019735-40e9-0310-863c-91ae7b9d1cf9> Add test cases for PCMPxSTRx case 0x18.
Pertains to #348574, vex r3172.


git-svn-id: svn://svn.valgrind.org/valgrind/trunk@15535 a5019735-40e9-0310-863c-91ae7b9d1cf9
md64/pcmpstr64.c
md64/pcmpstr64.stdout.exp
7f0dfddf4ef62358f2f9ce8648146f2dd6863830 13-Aug-2015 sewardj <sewardj@a5019735-40e9-0310-863c-91ae7b9d1cf9> Add test cases for PCMPxSTRx case 0x42.
Pertains to #339820, vex r3171.


git-svn-id: svn://svn.valgrind.org/valgrind/trunk@15534 a5019735-40e9-0310-863c-91ae7b9d1cf9
md64/pcmpstr64.c
md64/pcmpstr64.stdout.exp
d604d8c8ea61d4a6eed39aeba36d504ec57b71f2 13-Aug-2015 sewardj <sewardj@a5019735-40e9-0310-863c-91ae7b9d1cf9> Add test cases for missing AVX VCMPPD/VCMPPS cases.
Pertains to vex r3170.


git-svn-id: svn://svn.valgrind.org/valgrind/trunk@15532 a5019735-40e9-0310-863c-91ae7b9d1cf9
md64/avx-1.c
md64/avx-1.stdout.exp
d8a344462b927015e8c93e462f95aa940555a1ae 11-Aug-2015 florian <florian@a5019735-40e9-0310-863c-91ae7b9d1cf9> For those testcases that crash one way or another
remove any core files after running the test.
Patch by Matthias Schwarzott <zzam@gentoo.org>


git-svn-id: svn://svn.valgrind.org/valgrind/trunk@15520 a5019735-40e9-0310-863c-91ae7b9d1cf9
inux/blockfault.vgtest
inux/stack-overflow.vgtest
390x/op00.vgtest
86-linux/hang.vgtest
10ae6ad4a4fc46127cab3a3942fa1efb8dbb0a60 11-Aug-2015 florian <florian@a5019735-40e9-0310-863c-91ae7b9d1cf9> In filter_stderr_basic do not remove lines beginning with
--pid:
i.e. debug output. Asserts originating from the address space
manager look exactly like that and we do not want to filter those
out by default.
Remove some specialised filter scripts that are no longer needed
and update a few .vgtest files accordingly.


git-svn-id: svn://svn.valgrind.org/valgrind/trunk@15519 a5019735-40e9-0310-863c-91ae7b9d1cf9
md64-linux/Makefile.am
md64-linux/bug345887.vgtest
md64-linux/filter_minimal
md64-linux/filter_stderr
md64-linux/map_32bits.vgtest
86-linux/Makefile.am
86-linux/bug345887.vgtest
86-linux/filter_minimal
82be88d63a10ba92d75a419b6932b09d3863d1cd 09-Aug-2015 florian <florian@a5019735-40e9-0310-863c-91ae7b9d1cf9> Fix another GCC 5.1 warning.


git-svn-id: svn://svn.valgrind.org/valgrind/trunk@15512 a5019735-40e9-0310-863c-91ae7b9d1cf9
inux/Makefile.am
9618859e485d8542a8b3dadb6a89cea9f4ac72c0 05-Aug-2015 philippe <philippe@a5019735-40e9-0310-863c-91ae7b9d1cf9> Fix typo: add missing space between $(AM_CFLAGS) and @FLAG_FSANITIZE@
(spotted by Bart and Florian).



git-svn-id: svn://svn.valgrind.org/valgrind/trunk@15496 a5019735-40e9-0310-863c-91ae7b9d1cf9
akefile.am
e8e8df5cdcb01f7230eb79d418f59462170b0a9c 05-Aug-2015 zliu <zliu@a5019735-40e9-0310-863c-91ae7b9d1cf9> Let "make distclean" remove generated tilegx instruction test files



git-svn-id: svn://svn.valgrind.org/valgrind/trunk@15488 a5019735-40e9-0310-863c-91ae7b9d1cf9
ilegx/Makefile.am
ilegx/gen_test.sh
7291814e71360643ca77e33ce7572ff6d6585049 05-Aug-2015 zliu <zliu@a5019735-40e9-0310-863c-91ae7b9d1cf9> Fix issue of "make dist BUILD_ALL_DOCS=no"




git-svn-id: svn://svn.valgrind.org/valgrind/trunk@15487 a5019735-40e9-0310-863c-91ae7b9d1cf9
ilegx/Makefile.am
ilegx/gen_test.sh
b637cd443ec781bcd30fc73f10cfacaaac8df814 04-Aug-2015 philippe <philippe@a5019735-40e9-0310-863c-91ae7b9d1cf9> Ensure libvex tests in none are compiling on amd64, when configuring for 32 bits only
Patch from Matthias Schwarzott



git-svn-id: svn://svn.valgrind.org/valgrind/trunk@15485 a5019735-40e9-0310-863c-91ae7b9d1cf9
akefile.am
82b558ebaeadf4af030d79ba6dda1545200f3efb 04-Aug-2015 zliu <zliu@a5019735-40e9-0310-863c-91ae7b9d1cf9> Fix the "make regtest" error caused by the new tilegx instruction tests



git-svn-id: svn://svn.valgrind.org/valgrind/trunk@15481 a5019735-40e9-0310-863c-91ae7b9d1cf9
ilegx/Makefile.am
f03f9f32ec166fa871fe62f0f12216e1413ffb75 03-Aug-2015 rhyskidd <rhyskidd@a5019735-40e9-0310-863c-91ae7b9d1cf9> Guard two hanging tests on OS X 10.11, which otherwise prevent regression test suite from running in automated manner. n-i-bz

git-svn-id: svn://svn.valgrind.org/valgrind/trunk@15474 a5019735-40e9-0310-863c-91ae7b9d1cf9
es_search.vgtest
esolv.vgtest
fa0a7f4269d9eab3731ff1f6fc7b9e4145087d43 01-Aug-2015 iraisr <iraisr@a5019735-40e9-0310-863c-91ae7b9d1cf9> Check for Solaris specific program headers PT_SUNW_SYSSTAT and PT_SUNW_SYSSTAT_ZONE;
and act accordingly. Test cases provided. n-i-bz


git-svn-id: svn://svn.valgrind.org/valgrind/trunk@15469 a5019735-40e9-0310-863c-91ae7b9d1cf9
olaris/Makefile.am
olaris/reserve_sysstat_addr.c
olaris/reserve_sysstat_addr.map
olaris/reserve_sysstat_addr.stderr.exp
olaris/reserve_sysstat_addr.vgtest
olaris/reserve_sysstat_zone_addr.c
olaris/reserve_sysstat_zone_addr.map
olaris/reserve_sysstat_zone_addr.stderr.exp
olaris/reserve_sysstat_zone_addr.vgtest
65105dca6ed62d3002b19d0a97fba0a242bd83dc 01-Aug-2015 zliu <zliu@a5019735-40e9-0310-863c-91ae7b9d1cf9> Merge tilegx instruction test patch "valgrind-tilegx-instruction-test.patch"
in Bug 345921 - Add TileGX instruction set test in none/tests/tilegx
Submitted by Liming Sun, lsun@ezchip.com



git-svn-id: svn://svn.valgrind.org/valgrind/trunk@15466 a5019735-40e9-0310-863c-91ae7b9d1cf9
ilegx/Makefile.am
ilegx/filter_stderr
ilegx/gen_insn_test.c
ilegx/gen_test.sh
07c41c2f3df95acbeb52abbedab8b618c78ec827 31-Jul-2015 rhyskidd <rhyskidd@a5019735-40e9-0310-863c-91ae7b9d1cf9> Properly guard none/tests/amd64/avx-1. This resolves one failing regression test on OS X with modern hardware. n-i-bz.

git-svn-id: svn://svn.valgrind.org/valgrind/trunk@15463 a5019735-40e9-0310-863c-91ae7b9d1cf9
md64/avx-1.vgtest
cb301491010188bbc3e1c064d3e58ceb5c9ab1e6 31-Jul-2015 florian <florian@a5019735-40e9-0310-863c-91ae7b9d1cf9> Fix testcase such that it can be run under cron on Solaris.
The tescase depends on SIGHUP to be delivered but cron on Solaris
ignored the signal. So it needs to be enabled in child processes
after fork.
Patch by Ivo Raisr <ivosh@ivosh.net>. Fixes BZ #350809.


git-svn-id: svn://svn.valgrind.org/valgrind/trunk@15462 a5019735-40e9-0310-863c-91ae7b9d1cf9
sync-sigs.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
86/insn_sse.vgtest
86/insn_sse2.vgtest
86/insn_sse3.vgtest
b9749a5a1fcf2ce8dc4a145f6037821f2a4c1252 24-Jul-2015 florian <florian@a5019735-40e9-0310-863c-91ae7b9d1cf9> Remove command line options --db-attach and --db-command which were
deprecated in 3.10.0


git-svn-id: svn://svn.valgrind.org/valgrind/trunk@15445 a5019735-40e9-0310-863c-91ae7b9d1cf9
mdline1.stdout.exp
mdline2.stdout.exp
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
86/Makefile.am
d20c762b9a27e915901a0a49da42c7f89def6b0a 23-Jul-2015 rhyskidd <rhyskidd@a5019735-40e9-0310-863c-91ae7b9d1cf9> Complete fix for bz#344416 - Fix make regtest does not work cleanly on OS X (3).

git-svn-id: svn://svn.valgrind.org/valgrind/trunk@15442 a5019735-40e9-0310-863c-91ae7b9d1cf9
md64/Makefile.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
86/Makefile.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
md64/Makefile.am
86/Makefile.am
b63380ab70afb75b49992b064c4d223a5db51f75 22-Jul-2015 florian <florian@a5019735-40e9-0310-863c-91ae7b9d1cf9> Add two more tests with missing interpreter names.
Consolidate 'nointerp' testcase file names.


git-svn-id: svn://svn.valgrind.org/valgrind/trunk@15432 a5019735-40e9-0310-863c-91ae7b9d1cf9
cripts/Makefile.am
cripts/nointerp1
cripts/nointerp1.stderr.exp
cripts/nointerp1.stdout.exp
cripts/nointerp1.vgtest
cripts/nointerp2
cripts/nointerp2.stderr.exp
cripts/nointerp2.stdout.exp
cripts/nointerp2.vgtest
cripts/nointerp3
cripts/nointerp3.stderr.exp
cripts/nointerp3.stdout.exp
cripts/nointerp3.vgtest
cripts/nointerp4
cripts/nointerp4.stderr.exp
cripts/nointerp4.vgtest
cripts/nointerp5
cripts/nointerp5.stderr.exp
cripts/nointerp5.vgtest
cripts/shell
cripts/shell_nointerp1
cripts/shell_nointerp1.stderr.exp
cripts/shell_nointerp1.stdout.exp
cripts/shell_nointerp1.vgtest
cripts/shell_nointerp2
cripts/shell_nointerp2.stderr.exp
cripts/shell_nointerp2.stdout.exp
cripts/shell_nointerp2.vgtest
cripts/shell_nointerp3
cripts/shell_nointerp3.stderr.exp
cripts/shell_nointerp3.stdout.exp
cripts/shell_nointerp3.vgtest
55084cf008b2b2119ae9d45dbcef131e44a8ba73 21-Jul-2015 florian <florian@a5019735-40e9-0310-863c-91ae7b9d1cf9> Add testcase. Should have been in r15429.


git-svn-id: svn://svn.valgrind.org/valgrind/trunk@15431 a5019735-40e9-0310-863c-91ae7b9d1cf9
cripts/bug338606
cripts/bug338606.stderr.exp
cripts/bug338606.vgtest
512f27e1bb3d630a0244911e543280593babd2a5 21-Jul-2015 florian <florian@a5019735-40e9-0310-863c-91ae7b9d1cf9> Fix BZ #338606. Basically, the bug was that it was believed that
the interpreter following the #! has to be an absolute path name.
Not so; relative path works just fine.


git-svn-id: svn://svn.valgrind.org/valgrind/trunk@15429 a5019735-40e9-0310-863c-91ae7b9d1cf9
cripts/Makefile.am
cripts/relative1
cripts/relative1.stderr.exp
cripts/relative1.stdout.exp
cripts/relative1.vgtest
cripts/relative2
cripts/relative2.stderr.exp
cripts/relative2.stdout.exp
cripts/relative2.vgtest
cripts/say-hello.helper
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
llexec.c
md64-solaris/Makefile.am
md64-solaris/coredump_single_thread.c
md64-solaris/coredump_single_thread.post.exp
md64-solaris/coredump_single_thread.stderr.exp
md64-solaris/coredump_single_thread.stdout.exp
md64-solaris/coredump_single_thread.vgtest
md64-solaris/coredump_single_thread_mdb
md64-solaris/coredump_single_thread_sse.c
md64-solaris/coredump_single_thread_sse.post.exp
md64-solaris/coredump_single_thread_sse.stderr.exp
md64-solaris/coredump_single_thread_sse.stdout.exp
md64-solaris/coredump_single_thread_sse.vgtest
md64-solaris/coredump_single_thread_sse_mdb
md64-solaris/filter_stderr
md64-solaris/syscall_return_args.c
md64-solaris/syscall_return_args.stderr.exp
md64-solaris/syscall_return_args.vgtest
md64/Makefile.am
md64/amd64locked.c
md64/amd64locked.stdout.exp
md64/bug132918.vgtest
md64/bug156404-amd64.c
md64/filter_inf_nan
md64/fxtract.vgtest
md64/getseg.c
md64/getseg.stderr.exp
md64/getseg.stdout.exp
md64/getseg.vgtest
md64/sse4-64.vgtest
sync-sigs.c
sync-sigs.vgtest
mdline1.stdout.exp
mdline2.stdout.exp
oolo_sigaction.vgtest
xec-sigmask.c
xec-sigmask.stdout.exp-solaris
xecve.c
aultstatus.c
dleak_creat.c
ilter_fdleak
octl_moans.c
ibvex_test.c
ap_unmap.c
q.c
rocfs-cmdline-exe.c
th_atfork1.c
equire-text-symbol-2.stderr.exp-libcso1
esolv.vgtest
limit64_nofile.vgtest
cripts/Makefile.am
cripts/shell.stderr.exp-illumos
cripts/shell.stderr.exp-solaris
cripts/shell.stderr.exp-solaris-spawn
olaris/Makefile.am
olaris/block_all_signals.c
olaris/block_all_signals.stderr.exp
olaris/block_all_signals.stdout.exp
olaris/block_all_signals.vgtest
olaris/blockfault.c
olaris/blockfault.stderr.exp
olaris/blockfault.vgtest
olaris/context_link.c
olaris/context_link.stderr.exp
olaris/context_link.stdout.exp
olaris/context_link.vgtest
olaris/context_link2.c
olaris/context_link2.stderr.exp
olaris/context_link2.stdout.exp
olaris/context_link2.vgtest
olaris/context_null.c
olaris/context_null.stderr.exp
olaris/context_null.stdout.exp
olaris/context_null.vgtest
olaris/context_stack.c
olaris/context_stack.stderr.exp
olaris/context_stack.stdout.exp
olaris/context_stack.vgtest
olaris/coredump_many_segments.c
olaris/coredump_many_threads.c
olaris/coredump_many_threads.post.exp
olaris/coredump_many_threads.stderr.exp
olaris/coredump_many_threads.vgtest
olaris/filter_coredump_many_threads_post
olaris/filter_coredump_many_threads_stderr
olaris/filter_stderr
olaris/mmap_noreserve.c
olaris/mmap_noreserve.stderr.exp
olaris/mmap_noreserve.stdout.exp
olaris/mmap_noreserve.vgtest
olaris/posix_spawn.c
olaris/posix_spawn.stderr.exp
olaris/posix_spawn.stdout.exp
olaris/posix_spawn.vgtest
olaris/proc_aout.c
olaris/proc_aout.stderr.exp
olaris/proc_aout.stdout.exp
olaris/proc_aout.vgtest
olaris/proc_auxv.c
olaris/proc_auxv.stderr.exp
olaris/proc_auxv.stdout.exp
olaris/proc_auxv.vgtest
olaris/proc_auxv_multiple.c
olaris/proc_auxv_multiple.stderr.exp
olaris/proc_auxv_multiple.stdout.exp
olaris/proc_auxv_multiple.vgtest
olaris/proc_psinfo.c
olaris/proc_psinfo.stderr.exp
olaris/proc_psinfo.stdout.exp
olaris/proc_psinfo.vgtest
olaris/pthread-stack.c
olaris/pthread-stack.stderr.exp
olaris/pthread-stack.vgtest
olaris/resolv.c
olaris/resolv.stderr.exp
olaris/resolv.stdout.exp
olaris/resolv.vgtest
olaris/sigresend.c
olaris/sigresend.stderr.exp
olaris/sigresend.stdout.exp
olaris/sigresend.vgtest
olaris/stack-overflow.c
olaris/stack-overflow.stderr.exp
olaris/stack-overflow.vgtest
olaris/stack_prot.c
olaris/stack_prot.stderr.exp
olaris/stack_prot.stdout.exp
olaris/stack_prot.vgtest
olaris/threads_exitall.c
olaris/threads_exitall.stderr.exp
olaris/threads_exitall.stdout.exp
olaris/threads_exitall.vgtest
hreadederrno.c
86-solaris/Makefile.am
86-solaris/coredump_single_thread.c
86-solaris/coredump_single_thread.post.exp
86-solaris/coredump_single_thread.stderr.exp
86-solaris/coredump_single_thread.stdout.exp
86-solaris/coredump_single_thread.vgtest
86-solaris/coredump_single_thread_mdb
86-solaris/coredump_single_thread_sse.c
86-solaris/coredump_single_thread_sse.post.exp
86-solaris/coredump_single_thread_sse.stderr.exp
86-solaris/coredump_single_thread_sse.stdout.exp
86-solaris/coredump_single_thread_sse.vgtest
86-solaris/coredump_single_thread_sse_mdb
86-solaris/filter_stderr
86-solaris/syscalls.c
86-solaris/syscalls.stderr.exp
86-solaris/syscalls.stdout.exp
86-solaris/syscalls.vgtest
86/Makefile.am
86/badseg.stdout.exp-solaris
86/bt_everything.c
86/bt_everything.stdout.exp
86/cpuid_s.S
86/filter_inf_nan
86/fxtract.vgtest
86/x86locked.c
86/x86locked.stdout.exp
4793735f59210994bff651ae828b8ddfeef1c4a4 21-Jul-2015 carll <carll@a5019735-40e9-0310-863c-91ae7b9d1cf9> Patch 7 of 7, improve PPC HW capabiltiy checking.

The patch was submitted by Will Schmidt (will_schmidt@vnet.ibm.com).

A handful of cosmetic changes to the ppc32 and ppc64 makefiles.
Cleans up some whitespace issues, spaces/tabs/etc,
Rearranges some of the contents so they are logically group, and
more consistent between the 32- and 64- bit versions of the same.

Bugzilla 34979


git-svn-id: svn://svn.valgrind.org/valgrind/trunk@15425 a5019735-40e9-0310-863c-91ae7b9d1cf9
pc32/Makefile.am
pc64/Makefile.am
5bd4f6d6531cfa8534d063e2a5adc43cbcd343e1 20-Jul-2015 carll <carll@a5019735-40e9-0310-863c-91ae7b9d1cf9> Patch 4 and 5 of 7, improve PPC HW capabiltiy checking.

The patch was submitted by Will Schmidt (will_schmidt@vnet.ibm.com).

Patches 4 and 5 need to be applied together. Add convenience function
for processing hwcap entries. Add logic to check for HTM support in compiler.

Bugzilla 34979


git-svn-id: svn://svn.valgrind.org/valgrind/trunk@15423 a5019735-40e9-0310-863c-91ae7b9d1cf9
pc32/Makefile.am
pc64/Makefile.am
pc64/test_tm.c
pc64/test_touch_tm.c
17e3da70d15e5223306fa32728211c0e1e204ad8 20-Jul-2015 carll <carll@a5019735-40e9-0310-863c-91ae7b9d1cf9> Patch 2 of 7, improve PPC HW capabiltiy checking.

The patch was submitted by Will Schmidt (will_schmidt@vnet.ibm.com).

Update all vgtest files to reference the new capability check helper.
This includes a few adjustments to ensure the test is checking for
the specific capability. I.e. isa_2_07 is a requirement for htm, but
does not indicate htm support is actually present.

Bugzilla 34979


git-svn-id: svn://svn.valgrind.org/valgrind/trunk@15421 a5019735-40e9-0310-863c-91ae7b9d1cf9
pc32/bug129390-ppc32.vgtest
pc32/jm-vmx.vgtest
pc32/jm_fp_isa_2_07.vgtest
pc32/jm_int_isa_2_07.vgtest
pc32/jm_vec_isa_2_07.vgtest
pc32/testVMX.vgtest
pc32/test_dfp1.vgtest
pc32/test_dfp2.vgtest
pc32/test_dfp3.vgtest
pc32/test_dfp4.vgtest
pc32/test_dfp5.vgtest
pc32/test_isa_2_06_part1.vgtest
pc32/test_isa_2_06_part2.vgtest
pc32/test_isa_2_06_part3.vgtest
pc32/test_isa_2_07_part2.vgtest
pc32/test_tm.vgtest
pc32/test_touch_tm.vgtest
pc64/jm-vmx.vgtest
pc64/jm_fp_isa_2_07.vgtest
pc64/jm_int_isa_2_07.vgtest
pc64/jm_vec_isa_2_07.vgtest
pc64/test_dfp1.vgtest
pc64/test_dfp2.vgtest
pc64/test_dfp3.vgtest
pc64/test_dfp4.vgtest
pc64/test_dfp5.vgtest
pc64/test_isa_2_06_part1.vgtest
pc64/test_isa_2_06_part2.vgtest
pc64/test_isa_2_06_part3.vgtest
pc64/test_isa_2_07_part2.vgtest
pc64/test_tm.vgtest
pc64/test_touch_tm.vgtest
0a52ee20ec8420430046930da6bb0caec8ab96cb 10-Jul-2015 florian <florian@a5019735-40e9-0310-863c-91ae7b9d1cf9> Fix syntax error;
Certain GCC versions do not accept empty clobber lists.
Patch by Andreas Arnez (arnez@linux.vnet.ibm.com). Part of
fixing BZ #342841.


git-svn-id: svn://svn.valgrind.org/valgrind/trunk@15409 a5019735-40e9-0310-863c-91ae7b9d1cf9
390x/rounding-6.c
b9e129be15f4289c8382d2af2443571d45dd09cd 09-Jul-2015 cborntra <cborntra@a5019735-40e9-0310-863c-91ae7b9d1cf9> Fix from Andreas Arnez for bug 342841 s390x unrecognized instruction fiebra


git-svn-id: svn://svn.valgrind.org/valgrind/trunk@15406 a5019735-40e9-0310-863c-91ae7b9d1cf9
390x/rounding-6.c
390x/rounding-6.stdout.exp
ad4e979f408239dabbaae955d8ffcb84a51a5c85 05-Jul-2015 florian <florian@a5019735-40e9-0310-863c-91ae7b9d1cf9> Fix typos in source code. Patch by Dmitriy (olshevskiy87@bk.ru).
Fixes BZ #349874


git-svn-id: svn://svn.valgrind.org/valgrind/trunk@15394 a5019735-40e9-0310-863c-91ae7b9d1cf9
map_fcntl_bug.c
748ba7a1c0f92a938d0371983aa063c83e1f347f 01-Jul-2015 carll <carll@a5019735-40e9-0310-863c-91ae7b9d1cf9> Backing out patch 1 and 2 from Bugzilla 349790.

The new script (tests/check_ppc64_auxv_cap) in the first patch was
written for the bash shell. I was told by fkrohm that there was an
issue with bash sometime ago and the decision was to use sh instead.
sh maps to bash on a lot of systems but on some it maps to dash. The
script is not compatible with dash.

In retesting the second patch with a fresh svn pull, I found that I
forgot to do the svn add for the new script file. Which causes the
regression test to fail with the second patch applied.

So, I have decided it will be best to just back out patch 1 and 2 for now.
I will fix the script and do this again.




git-svn-id: svn://svn.valgrind.org/valgrind/trunk@15390 a5019735-40e9-0310-863c-91ae7b9d1cf9
pc32/bug129390-ppc32.vgtest
pc32/jm-vmx.vgtest
pc32/jm_fp_isa_2_07.vgtest
pc32/jm_int_isa_2_07.vgtest
pc32/jm_vec_isa_2_07.vgtest
pc32/testVMX.vgtest
pc32/test_dfp1.vgtest
pc32/test_dfp2.vgtest
pc32/test_dfp3.vgtest
pc32/test_dfp4.vgtest
pc32/test_dfp5.vgtest
pc32/test_isa_2_06_part1.vgtest
pc32/test_isa_2_06_part2.vgtest
pc32/test_isa_2_06_part3.vgtest
pc32/test_isa_2_07_part2.vgtest
pc32/test_tm.vgtest
pc32/test_touch_tm.vgtest
pc64/jm-vmx.vgtest
pc64/jm_fp_isa_2_07.vgtest
pc64/jm_int_isa_2_07.vgtest
pc64/jm_vec_isa_2_07.vgtest
pc64/test_dfp1.vgtest
pc64/test_dfp2.vgtest
pc64/test_dfp3.vgtest
pc64/test_dfp4.vgtest
pc64/test_dfp5.vgtest
pc64/test_isa_2_06_part1.vgtest
pc64/test_isa_2_06_part2.vgtest
pc64/test_isa_2_06_part3.vgtest
pc64/test_isa_2_07_part2.vgtest
pc64/test_tm.vgtest
pc64/test_touch_tm.vgtest
65044950b4f56e85a3fd5c419d909624389a65d4 01-Jul-2015 carll <carll@a5019735-40e9-0310-863c-91ae7b9d1cf9> Patch 2 of 6

Update all vgtest files to reference the new capability check helper.
This includes a few adjustments to ensure the test is checking for
the proper capability. (i.e. htm versus isa_2_07).

Patch 1 valgrind commit id 15388.

The bugzilla for this commit is 349790

Patch submitted by Will Schmidt <will_schmidt@vnet.ibm.com>
Reviewed and tested by Carl Love <cel@ibm.com>

git-svn-id: svn://svn.valgrind.org/valgrind/trunk@15389 a5019735-40e9-0310-863c-91ae7b9d1cf9
pc32/bug129390-ppc32.vgtest
pc32/jm-vmx.vgtest
pc32/jm_fp_isa_2_07.vgtest
pc32/jm_int_isa_2_07.vgtest
pc32/jm_vec_isa_2_07.vgtest
pc32/testVMX.vgtest
pc32/test_dfp1.vgtest
pc32/test_dfp2.vgtest
pc32/test_dfp3.vgtest
pc32/test_dfp4.vgtest
pc32/test_dfp5.vgtest
pc32/test_isa_2_06_part1.vgtest
pc32/test_isa_2_06_part2.vgtest
pc32/test_isa_2_06_part3.vgtest
pc32/test_isa_2_07_part2.vgtest
pc32/test_tm.vgtest
pc32/test_touch_tm.vgtest
pc64/jm-vmx.vgtest
pc64/jm_fp_isa_2_07.vgtest
pc64/jm_int_isa_2_07.vgtest
pc64/jm_vec_isa_2_07.vgtest
pc64/test_dfp1.vgtest
pc64/test_dfp2.vgtest
pc64/test_dfp3.vgtest
pc64/test_dfp4.vgtest
pc64/test_dfp5.vgtest
pc64/test_isa_2_06_part1.vgtest
pc64/test_isa_2_06_part2.vgtest
pc64/test_isa_2_06_part3.vgtest
pc64/test_isa_2_07_part2.vgtest
pc64/test_tm.vgtest
pc64/test_touch_tm.vgtest
47a17e8bf69014324022e48d8b4cbe48e0d241d4 21-Jun-2015 florian <florian@a5019735-40e9-0310-863c-91ae7b9d1cf9> Fix two testcase builds so they work when linked against a VEX
that was compiled with -fsanitize=undefined


git-svn-id: svn://svn.valgrind.org/valgrind/trunk@15348 a5019735-40e9-0310-863c-91ae7b9d1cf9
akefile.am
da0a8cbb4ac39570584ddf4f4708d6b45cea08b8 17-Jun-2015 philippe <philippe@a5019735-40e9-0310-863c-91ae7b9d1cf9> 324181 mmap does not handle MAP_32BIT (handle it now, rather than fail it)
324181 was previously closed with a solution to always make
MAP_32BIT fail. This is technically correct/according to the doc,
but is not very usable.
This patch ensures that MAP_32BIT mmap is succesful, as long as
aspacemgr gives a range in the first 2GB
(so, compared to a native run, MAP_32BIT will fail much more quickly
as aspacemgr does not reserve the address space below 2GB on a 64 bits).

Far to be perfect, but this is better than nothing.

Added a regression test that test succesful mmap 32 bits till
the 2GB limit is reached.




git-svn-id: svn://svn.valgrind.org/valgrind/trunk@15341 a5019735-40e9-0310-863c-91ae7b9d1cf9
md64-linux/Makefile.am
md64-linux/map_32bits.c
md64-linux/map_32bits.stderr.exp
md64-linux/map_32bits.vgtest
4544de9599572a4f642b413770f576fce207b6f9 17-Jun-2015 petarj <petarj@a5019735-40e9-0310-863c-91ae7b9d1cf9> mips64: modify load_indexed_instructions test

A little style improvement for load_indexed_instructions test including
addition of new instruction to be tested - lhx (supported as of VEX r3152).

Related issue - BZ #345987.


git-svn-id: svn://svn.valgrind.org/valgrind/trunk@15340 a5019735-40e9-0310-863c-91ae7b9d1cf9
ips64/load_indexed_instructions.c
ips64/load_indexed_instructions.stdout.exp-BE
ips64/load_indexed_instructions.stdout.exp-LE
fbfd7c6fdda008c6543c63d4ade222730d821edf 05-Jun-2015 rhyskidd <rhyskidd@a5019735-40e9-0310-863c-91ae7b9d1cf9> Fix r15302 for early gcc compilers on OS X. Cannot declare variable in for loop pre C99. n-i-bz.

git-svn-id: svn://svn.valgrind.org/valgrind/trunk@15310 a5019735-40e9-0310-863c-91ae7b9d1cf9
arwin/bug228343.c
f6a6380f9bdf543b597a2739eca81d0bf148c255 02-Jun-2015 rhyskidd <rhyskidd@a5019735-40e9-0310-863c-91ae7b9d1cf9> Add regression test for bz#228343.

git-svn-id: svn://svn.valgrind.org/valgrind/trunk@15302 a5019735-40e9-0310-863c-91ae7b9d1cf9
arwin/Makefile.am
arwin/bug228343.c
arwin/bug228343.stderr.exp
arwin/bug228343.stdout.exp
arwin/bug228343.vgtest
0dc35261140f7612f1e516a9fa2a977f4e30e04e 28-May-2015 rhyskidd <rhyskidd@a5019735-40e9-0310-863c-91ae7b9d1cf9> Signal handler ucontext_t not filled out correctly on OS X
bz#341419

Before:

== 589 tests, 220 stderr failures, 15 stdout failures, 0 stderrB failures, 0 stdoutB failures, 30 post failures ==

After:

== 591 tests, 220 stderr failures, 15 stdout failures, 0 stderrB failures, 0 stdoutB failures, 30 post failures ==


git-svn-id: svn://svn.valgrind.org/valgrind/trunk@15296 a5019735-40e9-0310-863c-91ae7b9d1cf9
akefile.am
md64-darwin/Makefile.am
md64-darwin/bug341419.c
md64-darwin/bug341419.stderr.exp
md64-darwin/bug341419.vgtest
md64-darwin/filter_minimal
md64-darwin/filter_stderr
86-darwin/Makefile.am
86-darwin/bug341419.c
86-darwin/bug341419.stderr.exp
86-darwin/bug341419.vgtest
86-darwin/filter_stderr
07a167cabd8264da254bcb38e233f29c8faa0f96 25-May-2015 rhyskidd <rhyskidd@a5019735-40e9-0310-863c-91ae7b9d1cf9> Fix regression test added in r15282.

git-svn-id: svn://svn.valgrind.org/valgrind/trunk@15287 a5019735-40e9-0310-863c-91ae7b9d1cf9
ug234814.c
ug234814.stderr.exp
49af592f7a9944d8d60a93a407c46521578170cf 23-May-2015 rhyskidd <rhyskidd@a5019735-40e9-0310-863c-91ae7b9d1cf9> Add (presently) failing test case for bz#234814.

git-svn-id: svn://svn.valgrind.org/valgrind/trunk@15282 a5019735-40e9-0310-863c-91ae7b9d1cf9
akefile.am
ug234814.c
ug234814.stderr.exp
ug234814.stdout.exp
ug234814.vgtest
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
86/Makefile.am
1dfa412f00f1e9b24903fea32867556398d9a130 22-May-2015 rhyskidd <rhyskidd@a5019735-40e9-0310-863c-91ae7b9d1cf9> Re-enable functioning none/tests/amd64/bug137714-amd64 on OS X
n-i-bz

Before:

== 588 tests, 221 stderr failures, 16 stdout failures, 0 stderrB failures, 0 stdoutB failures, 30 post failures ==

After:

== 588 tests, 220 stderr failures, 15 stdout failures, 0 stderrB failures, 0 stdoutB failures, 30 post failures ==


git-svn-id: svn://svn.valgrind.org/valgrind/trunk@15280 a5019735-40e9-0310-863c-91ae7b9d1cf9
md64/Makefile.am
c97b61f849f2d5e54ad5840f79a94a9aaed08818 22-May-2015 rhyskidd <rhyskidd@a5019735-40e9-0310-863c-91ae7b9d1cf9> Properly guard none/tests/amd64/*.vgtest on OS X for tests not compiled
n-i-bz

Before:

== 595 tests, 228 stderr failures, 23 stdout failures, 0 stderrB failure, 0 stdoutB failure, 30 post failures ==

After:

== 595 tests, 221 stderr failures, 16 stdout failures, 0 stderrB failure, 0 stdoutB failure, 30 post failures ==


git-svn-id: svn://svn.valgrind.org/valgrind/trunk@15279 a5019735-40e9-0310-863c-91ae7b9d1cf9
md64/bug156404-amd64.vgtest
md64/fcmovnu.vgtest
md64/fxtract.vgtest
md64/jrcxz.vgtest
md64/looper.vgtest
md64/shrld.vgtest
md64/slahf-amd64.vgtest
830198216d4aeb46e693d9d6f9d94548f7418cd1 22-May-2015 mjw <mjw@a5019735-40e9-0310-863c-91ae7b9d1cf9> Add procfs-non-linux.stderr.exp variants to EXTRA_DIST.

For bz#344936 procfs-non-linux.stderr.exp was renamed and split into
procfs-non-linux.stderr.exp-with-readlinkat and
procfs-non-linux.stderr.exp-without-readlinkat add both to EXTRA_DIST.
Fixes make post-regtest-checks.

git-svn-id: svn://svn.valgrind.org/valgrind/trunk@15271 a5019735-40e9-0310-863c-91ae7b9d1cf9
akefile.am
423b52b405cc7dfa6fa46f60969f87e55774d9e9 22-May-2015 florian <florian@a5019735-40e9-0310-863c-91ae7b9d1cf9> Remove an incorrect assertion. Need to consider SkShmC segments as well.


git-svn-id: svn://svn.valgrind.org/valgrind/trunk@15269 a5019735-40e9-0310-863c-91ae7b9d1cf9
inux/Makefile.am
inux/mremap6.c
inux/mremap6.stderr.exp
inux/mremap6.vgtest
6a4c682824ed13aad1f6cdcba01efca412222089 21-May-2015 rhyskidd <rhyskidd@a5019735-40e9-0310-863c-91ae7b9d1cf9> Follow-up bz#344936: Distinguish readlinkat tests for OS X platforms that do or do not support the readlinkat syscall.

git-svn-id: svn://svn.valgrind.org/valgrind/trunk@15265 a5019735-40e9-0310-863c-91ae7b9d1cf9
rocfs-non-linux.stderr.exp
rocfs-non-linux.stderr.exp-with-readlinkat
rocfs-non-linux.stderr.exp-without-readlinkat
e72941d971389b49ba52e1b389eb713bd043ac13 20-May-2015 florian <florian@a5019735-40e9-0310-863c-91ae7b9d1cf9> Fix rounding when printing floating point numbers.


git-svn-id: svn://svn.valgrind.org/valgrind/trunk@15264 a5019735-40e9-0310-863c-91ae7b9d1cf9
nit_debuglog.c
nit_debuglog.stderr.exp
416bb8bc0193cc3a880741a72486ad89e365b750 20-May-2015 rhyskidd <rhyskidd@a5019735-40e9-0310-863c-91ae7b9d1cf9> Fix unhandled syscall: unix:473 (readlinkat) on OS X 10.10
bz#344936

Before:

== 595 tests, 229 stderr failures, 23 stdout failures, 1 stderrB failure, 1 stdoutB failure, 30 post failures ==

After:

== 595 tests, 228 stderr failures, 23 stdout failures, 1 stderrB failure, 1 stdoutB failure, 30 post failures ==


git-svn-id: svn://svn.valgrind.org/valgrind/trunk@15260 a5019735-40e9-0310-863c-91ae7b9d1cf9
rocfs-non-linux.stderr.exp
7a5681fd96d9ccf3527daf6a32a0378fe2ca7fae 12-May-2015 florian <florian@a5019735-40e9-0310-863c-91ae7b9d1cf9> In functions VG_(am_relocate_nooverlap_client) and VG_(am_extend_map_client)
need to allow SkShmC segments, too.


git-svn-id: svn://svn.valgrind.org/valgrind/trunk@15221 a5019735-40e9-0310-863c-91ae7b9d1cf9
inux/Makefile.am
inux/mremap5.c
inux/mremap5.stderr.exp
inux/mremap5.vgtest
050c8f7e7e8f5472344334dd857806a4ba53b5e4 12-May-2015 florian <florian@a5019735-40e9-0310-863c-91ae7b9d1cf9> Get prototype from system header.


git-svn-id: svn://svn.valgrind.org/valgrind/trunk@15220 a5019735-40e9-0310-863c-91ae7b9d1cf9
inux/mremap4.c
c290b883f9a9386a925a8c24f4dc2e59a8851c5a 12-May-2015 florian <florian@a5019735-40e9-0310-863c-91ae7b9d1cf9> Fix bug in do_mremap. Also need to allow SkShmC segments.


git-svn-id: svn://svn.valgrind.org/valgrind/trunk@15219 a5019735-40e9-0310-863c-91ae7b9d1cf9
inux/Makefile.am
inux/mremap4.c
inux/mremap4.stderr.exp
inux/mremap4.vgtest
aa19e15b64ddf41485d4e9a87103e09059f990c4 10-May-2015 rhyskidd <rhyskidd@a5019735-40e9-0310-863c-91ae7b9d1cf9> Add (presently) failing test case for bz#254164.

git-svn-id: svn://svn.valgrind.org/valgrind/trunk@15205 a5019735-40e9-0310-863c-91ae7b9d1cf9
arwin/Makefile.am
arwin/bug254164.c
arwin/bug254164.stderr.exp
arwin/bug254164.vgtest
452fe80c4711096385d3a9558ce4d478f53f0b3a 06-May-2015 carll <carll@a5019735-40e9-0310-863c-91ae7b9d1cf9> Patch 8 in a series of cleanup patches from Will Schmidt

Add a helper script to determine if the platform is ppc64le.
This is specifically used to help exclude the 32-bit tests from being
run on a ppc64LE (ABIV2) platform. The 32-bit targets, specifically ppc32/*
is not built on LE.

This patch fixes Vagrind bugzilla 347322.


git-svn-id: svn://svn.valgrind.org/valgrind/trunk@15188 a5019735-40e9-0310-863c-91ae7b9d1cf9
pc32/jm_vec_isa_2_07.vgtest
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
86/int.disabled
76e04ec54e802d0953e01bd8f55d8bd95add2723 01-May-2015 rhyskidd <rhyskidd@a5019735-40e9-0310-863c-91ae7b9d1cf9> Fix regression test compile issue on OS X platform, introduced in r15113. n-i-bz

git-svn-id: svn://svn.valgrind.org/valgrind/trunk@15170 a5019735-40e9-0310-863c-91ae7b9d1cf9
ibvex_test.c
981abb5e4a0f43049ed7efac90cfa52ac61b5140 29-Apr-2015 florian <florian@a5019735-40e9-0310-863c-91ae7b9d1cf9> Issue an error message if then brk segment overflows.


git-svn-id: svn://svn.valgrind.org/valgrind/trunk@15155 a5019735-40e9-0310-863c-91ae7b9d1cf9
inux/Makefile.am
inux/brk-overflow1.c
inux/brk-overflow1.stderr.exp
inux/brk-overflow1.vgtest
inux/brk-overflow2.c
inux/brk-overflow2.stderr.exp
inux/brk-overflow2.vgtest
7d4a28b986eaf98814c530a2074e117145b14d1f 23-Apr-2015 florian <florian@a5019735-40e9-0310-863c-91ae7b9d1cf9> Fix an assertion in the address space manager. BZ #345887.
The VG_(extend_stack) call needs to be properly guarded because the
passed-in address is not necessarily part of an extensible stack
segment. And an extensible stack segment is the only thing that
function should have to deal with.
Previously, the function VG_(am_addr_is_in_extensible_client_stack)
was introduced to guard VG_(extend_stack) but it was not added in all
places it should have been.

Also, extending the client stack during signal delivery (in sigframe-common.c)
was simply calling VG_(extend_stack) hoping it would do the right thing.
But that was not always the case. The new testcase
none/tests/linux/pthread-stack.c exercises this (3.10.1 errors out on it).

Renamed ML_(sf_extend_stack) to ML_(sf_maybe_extend_stack) and add
proper guard logic for VG_(extend_stack).

Testcases none/tests/{amd64|x86}-linux/bug345887.c by Ivo Raisr.


git-svn-id: svn://svn.valgrind.org/valgrind/trunk@15138 a5019735-40e9-0310-863c-91ae7b9d1cf9
akefile.am
md64-linux/Makefile.am
md64-linux/bug345887.c
md64-linux/bug345887.stderr.exp
md64-linux/bug345887.vgtest
md64-linux/filter_minimal
md64-linux/filter_stderr
inux/Makefile.am
inux/pthread-stack.c
inux/pthread-stack.stderr.exp
inux/pthread-stack.vgtest
86-linux/Makefile.am
86-linux/bug345887.c
86-linux/bug345887.stderr.exp
86-linux/bug345887.vgtest
86-linux/filter_minimal
256a6dab94dbd947cb1a9310e6c7b58261eddf29 22-Apr-2015 carll <carll@a5019735-40e9-0310-863c-91ae7b9d1cf9> There is an ABI change in how the PPC64 gcc compiler handles 128 bit arguments
are aligned with GCC 5.0. The compiler generates a "note" about this starting
with GCC 4.9. To avoid generating the "note", the passing of the arguments
were changed to a pointer to make it pass by reference rather then pass by
value.

bugzilla 346487.

git-svn-id: svn://svn.valgrind.org/valgrind/trunk@15136 a5019735-40e9-0310-863c-91ae7b9d1cf9
pc32/test_dfp4.c
pc32/test_dfp5.c
395c2c74f73d6eefd42eff7821b5c34df7c77a99 21-Apr-2015 carll <carll@a5019735-40e9-0310-863c-91ae7b9d1cf9> Update the expected output file none/tests/ppc64/jm_int_isa_2_07.stdout.exp
for PPC64 big endian.




git-svn-id: svn://svn.valgrind.org/valgrind/trunk@15124 a5019735-40e9-0310-863c-91ae7b9d1cf9
pc64/jm_int_isa_2_07.stdout.exp
d6096605a740039d8c4ede0935638653075174df 21-Apr-2015 carll <carll@a5019735-40e9-0310-863c-91ae7b9d1cf9> Add support for the lbarx, lharx, stbcx and sthcs instructions.

One of the expect files was missing. Also found that there
was a bug in the stq, stqcx, lq and lqarx instructions for LE.
The VEX commit for the instruction fix was 3138.

This commit updates the expect files for the corrected instructions
and adds the missing expect files.

The bugzilla for the orginal issue of the missing instructions
is 346324.

git-svn-id: svn://svn.valgrind.org/valgrind/trunk@15120 a5019735-40e9-0310-863c-91ae7b9d1cf9
pc32/Makefile.am
pc64/jm_int_isa_2_07.stdout.exp
pc64/jm_int_isa_2_07.stdout.exp-LE
203a35d0f61eb77142f528b476f2fdb7c656bd0c 19-Apr-2015 philippe <philippe@a5019735-40e9-0310-863c-91ae7b9d1cf9> For ppc64, use the endianess of the running program, rather
than an harcoded endness.
(this is because ppc64 supports 2 endness, decided at runtime)

For mips, use BE if running on a non mips system, otherwise
use the endness of the running program
(this is because mips supports 2 endness, but decided at compile time).



git-svn-id: svn://svn.valgrind.org/valgrind/trunk@15113 a5019735-40e9-0310-863c-91ae7b9d1cf9
ibvex_test.c
a89b04673925f2b40bbc8e060c8aa9f5d451b680 18-Apr-2015 carll <carll@a5019735-40e9-0310-863c-91ae7b9d1cf9> Add support for the lbarx, lharx, stbcx and sthcs instructions.

The instructions are part of the ISA 2.06 but were not implemented
in all versions of hardware. The four instructions are all supported
in ISA 2.07. The instructions were put under the ISA 2.07 category
of supported instructions in this patch.

The VEX commit for this fix is r3137.

The bugzilla for this issue is 346324.


git-svn-id: svn://svn.valgrind.org/valgrind/trunk@15106 a5019735-40e9-0310-863c-91ae7b9d1cf9
pc32/Makefile.am
pc32/jm_int_isa_2_07.stdout.exp
pc64/Makefile.am
pc64/jm_int_isa_2_07.stdout.exp
pc64/test_isa_2_07_part1.c
cb46d25973fb0ba2c672382ed75a26f49eece15b 15-Apr-2015 philippe <philippe@a5019735-40e9-0310-863c-91ae7b9d1cf9> Following fix done in tilegx host in vex: r3130, reenable tilegx as host
in libvexmultiarch_test



git-svn-id: svn://svn.valgrind.org/valgrind/trunk@15099 a5019735-40e9-0310-863c-91ae7b9d1cf9
ibvex_test.c
548863e0c9a1e3991cb84ee0902433fc1ae92bc6 15-Apr-2015 zliu <zliu@a5019735-40e9-0310-863c-91ae7b9d1cf9> Add 'allexec.c' in "none/tests/tilegx"

The symbolic link 'allexec.c' -> ../allecec.c

By: Zhi-Gang Liu
zhg.liu@gmail.com



git-svn-id: svn://svn.valgrind.org/valgrind/trunk@15093 a5019735-40e9-0310-863c-91ae7b9d1cf9
ilegx/allexec.c
03aba744efb4ccbb870f44c25e6d6f6c3ea23cd7 15-Apr-2015 zliu <zliu@a5019735-40e9-0310-863c-91ae7b9d1cf9> Remove allecec.c from none/tests/tilegx

Will add a symbolic link for that file next.

Zhi-Gang Liu



git-svn-id: svn://svn.valgrind.org/valgrind/trunk@15092 a5019735-40e9-0310-863c-91ae7b9d1cf9
ilegx/allexec.c
4465bd57367575b7c1016f3b802df100f89f1e67 14-Apr-2015 florian <florian@a5019735-40e9-0310-863c-91ae7b9d1cf9> Followup to r14974. That revision oversimplified a condition, part
of which was presumed to be redundant but wasn't. This caused code
to hang due to an infinite signal-delivery loop. Observed and
tracked down by Austin English.


git-svn-id: svn://svn.valgrind.org/valgrind/trunk@15091 a5019735-40e9-0310-863c-91ae7b9d1cf9
86-linux/Makefile.am
86-linux/hang.c
86-linux/hang.stderr.exp
86-linux/hang.vgtest
ffcfa7a385434c3b2e9cd541530c02d19523c481 11-Apr-2015 philippe <philippe@a5019735-40e9-0310-863c-91ae7b9d1cf9> Add 2 tests none/tests/libvex_test and libvexmultiarch_test

The objective of libvex_test is to verify that the VEX lib
can be used in 'single arch mode' (host == guest).

The objective of libvexmultiarch_test is to verify that the VEX lib
can be used in 'multi arch mode' (freely choose host and guest).
(but not many combinations are working: if wordsize or endianess
differs, then libVEX quickly asserts somewhere).

libvex_test.c is somewhat bizarre, as it uses the architecture
for which we have compiled as the guest, and use a 'foreign' arch
as the host.
That allows to avoid having to define in the test a bunch
of arch specific asm instructions : the test just decode a part
of its own code, and translate it to other archs.

By default, only the combination host == guest is run.
Arguments must be given to run other combinations.
See libvex_test.c for a description on how to specify which combinations
to run.

LibVEX host != guest does not (yet?) work when endianess or word size differs
between host and guest.

Also, currently, TILEGX host is not working properly (unless guest is also
TILEGX), as the evcheck instructions generated differs according to
the offset of the host_EvC_{FAILADDR,COUNTER}.

So, using TILEGX as host is only done when guest is also TILEGX.

Note that it is possible to specify a specific host arch to use.
For example, to force TILEGX to be used, do:
./none/tests/libvexmultiarch_test 1034
(where 1034 is the decimal value corresponding to the enum VexArchTILEGX.
This currently aborts with:
...
------------------------ Assembly ------------------------

EvCheck (evCheck) ld r11, 8(r50); addli r11, r11, -1; st r11, 8(r50); bgez r11, nofail; jalr *(r50); nofail:

vex: priv/host_tilegx_defs.c:2353 (emit_TILEGXInstr): Assertion `evCheckSzB_TILEGX() == (UChar*)p - (UChar*)p0' failed.
//// failure exit called by libVEX
Whe TILEGX is fixed, we can remove the specific condition that avoids using
TILEGX as host.


Small changes have been done on VEX to allow more combinations
to work:
* host_mips_defs.c : when not compiled on mips,
a lot of mips specific code is not compiled at all, because
one of _MIPSEL or _MIPSEB must be defined to have either the
little endian code or big endian code.
emit32 function must however work to use mips as host.
So, for this function, if _MIPSEL is not defined, then
the big endian code is compiled in by default.
(the mips endianess should probably be handled like the ppc
endianess, for which the endianness to use is decided at runtime).

* host_arm64_isel.c : addition of a 'do not emit anything' for
ABI HINT (avoid an assert e.g. for amd64 guest, arm64 host)

* libvex_guest_amd64.h : when I was still hoping mixing amd64 and x86,
a first assert was firing up due to size/alignment
of VexGuestAMD64State when compiled in 32 bits.
=> addition of pad elements to ensure the size and alignment
of VexGuestAMD64State stays the same when compiled in 32 and
64 bits (the 64 bits layout is unchanged).


The new tests have been run on x86/amd64/ppc64/s390x.
It is very well possible that the tests will fail on untested archs
(ppc32 or mips* or arm* or tilegx)
(e.g. because the hardcoded hwcaps in libvex_test.c are not ok).
It should be relatively trivial to fix these hwcaps problems.
Some other problems might be less easy to understand and fix
(e.g. similar to the TILEGX evcheck or mips emit32 problem).



git-svn-id: svn://svn.valgrind.org/valgrind/trunk@15084 a5019735-40e9-0310-863c-91ae7b9d1cf9
akefile.am
ibvex_test.c
ibvex_test.stderr.exp
ibvex_test.vgtest
ibvexmultiarch_test.stderr.exp
ibvexmultiarch_test.vgtest
112711afefcfcd43680c7c4aa8d38ef180e8811e 10-Apr-2015 sewardj <sewardj@a5019735-40e9-0310-863c-91ae7b9d1cf9> Add a port to Linux/TileGx. Zhi-Gang Liu (zliu@tilera.com)
Valgrind aspects, to match vex r3124.

See bug 339778 - Linux/TileGx platform support to Valgrind



git-svn-id: svn://svn.valgrind.org/valgrind/trunk@15080 a5019735-40e9-0310-863c-91ae7b9d1cf9
akefile.am
llexec_prepare_prereq
ilegx/Makefile.am
ilegx/allexec.c
5370de0069f9f5f21bf3cebb9b27dfacd86f5c89 09-Apr-2015 philippe <philippe@a5019735-40e9-0310-863c-91ae7b9d1cf9> Add missing stdout.exp file


git-svn-id: svn://svn.valgrind.org/valgrind/trunk@15079 a5019735-40e9-0310-863c-91ae7b9d1cf9
cripts/shell_nointerp1.stdout.exp
1fe64fd820eac65bd9b2f6d0986ca4f0a51ac76d 08-Apr-2015 florian <florian@a5019735-40e9-0310-863c-91ae7b9d1cf9> Consolidate shell script testcases without interpreter.


git-svn-id: svn://svn.valgrind.org/valgrind/trunk@15076 a5019735-40e9-0310-863c-91ae7b9d1cf9
cripts/Makefile.am
cripts/shell
cripts/shell.stdout.exp
cripts/shell_nointerp1
cripts/shell_nointerp1.stderr.exp
cripts/shell_nointerp1.vgtest
cripts/shell_nointerp2
cripts/shell_nointerp2.stderr.exp
cripts/shell_nointerp2.stdout.exp
cripts/shell_nointerp2.vgtest
cripts/shell_nointerp3
cripts/shell_nointerp3.stderr.exp
cripts/shell_nointerp3.stdout.exp
cripts/shell_nointerp3.vgtest
cripts/shell_valid2
cripts/shell_valid2.stderr.exp
cripts/shell_valid2.vgtest
cripts/shell_valid3
cripts/shell_valid3.stderr.exp
cripts/shell_valid3.vgtest
677b6f59a5047cc139d680e50d6a66394fd12779 06-Apr-2015 sewardj <sewardj@a5019735-40e9-0310-863c-91ae7b9d1cf9> arm64: remove redundant comment on test cases for FSQRT 2d_2d, 4s_4s, 2s_2s
(should have been included in r15071). No functional change.


git-svn-id: svn://svn.valgrind.org/valgrind/trunk@15072 a5019735-40e9-0310-863c-91ae7b9d1cf9
rm64/fp_and_simd.c
251e18023932f68b1eab98b297645ae231ebb635 06-Apr-2015 sewardj <sewardj@a5019735-40e9-0310-863c-91ae7b9d1cf9> arm64: enable test cases for
FSQRT 2d_2d, 4s_4s, 2s_2s


git-svn-id: svn://svn.valgrind.org/valgrind/trunk@15071 a5019735-40e9-0310-863c-91ae7b9d1cf9
rm64/fp_and_simd.c
rm64/fp_and_simd.stdout.exp
a09a725e07a74a5f152fd6868ac72eb80e9a6952 06-Apr-2015 sewardj <sewardj@a5019735-40e9-0310-863c-91ae7b9d1cf9> arm64: enable test cases for

SCVTF d_d_imm, s_s_imm
UCVTF d_d_imm, s_s_imm
FCVTZS d_d_imm, s_s_imm
FCVTZU d_d_imm, s_s_imm
FCVTXN s_d
SCVTF d_d, s_s
UCVTF d_d, s_s
SCVTF {2d_2d,4s_4s,2s_2s}_imm
UCVTF {2d_2d,4s_4s,2s_2s}_imm
FCVTZS {2d_2d,4s_4s,2s_2s}_imm
FCVTZU {2d_2d,4s_4s,2s_2s}_imm
FCVTXN 2s/4s_2d
FCVTZ{S,U} {w,x}_{s,x}_#fbits



git-svn-id: svn://svn.valgrind.org/valgrind/trunk@15069 a5019735-40e9-0310-863c-91ae7b9d1cf9
rm64/fp_and_simd.c
rm64/fp_and_simd.stdout.exp
0a6d897db6b16a7ef73040a67638d29fa3a42199 03-Apr-2015 florian <florian@a5019735-40e9-0310-863c-91ae7b9d1cf9> New directory: none/tests/scripts
Move corresponding testcases there.


git-svn-id: svn://svn.valgrind.org/valgrind/trunk@15065 a5019735-40e9-0310-863c-91ae7b9d1cf9
akefile.am
ug231357.stderr.exp
ug231357.stdout.exp
ug231357.vgtest
ilter_linenos
ilter_shell_output
cripts/Makefile.am
cripts/bug231357.stderr.exp
cripts/bug231357.stdout.exp
cripts/bug231357.vgtest
cripts/filter_linenos
cripts/filter_shell_output
cripts/filter_stderr
cripts/shell
cripts/shell.stderr.exp
cripts/shell.stderr.exp-dash
cripts/shell.stderr.exp-dash2
cripts/shell.stdout.exp
cripts/shell.vgtest
cripts/shell_badinterp
cripts/shell_badinterp.stderr.exp
cripts/shell_badinterp.vgtest
cripts/shell_binaryfile
cripts/shell_binaryfile.stderr.exp
cripts/shell_binaryfile.vgtest
cripts/shell_dir.stderr.exp
cripts/shell_dir.vgtest
cripts/shell_nonexec.stderr.exp
cripts/shell_nonexec.vgtest
cripts/shell_nosuchfile.stderr.exp
cripts/shell_nosuchfile.vgtest
cripts/shell_valid1
cripts/shell_valid1.stderr.exp
cripts/shell_valid1.vgtest
cripts/shell_valid2
cripts/shell_valid2.stderr.exp
cripts/shell_valid2.vgtest
cripts/shell_valid3
cripts/shell_valid3.stderr.exp
cripts/shell_valid3.vgtest
cripts/shell_valid4
cripts/shell_valid4.stderr.exp
cripts/shell_valid4.stdout.exp
cripts/shell_valid4.vgtest
cripts/shell_zerolength
cripts/shell_zerolength.stderr.exp
cripts/shell_zerolength.stderr.exp-dash
cripts/shell_zerolength.vgtest
hell
hell.stderr.exp
hell.stderr.exp-dash
hell.stderr.exp-dash2
hell.stdout.exp
hell.vgtest
hell_badinterp
hell_badinterp.stderr.exp
hell_badinterp.vgtest
hell_binaryfile
hell_binaryfile.stderr.exp
hell_binaryfile.vgtest
hell_dir.stderr.exp
hell_dir.vgtest
hell_nonexec.stderr.exp
hell_nonexec.vgtest
hell_nosuchfile.stderr.exp
hell_nosuchfile.vgtest
hell_valid1
hell_valid1.stderr.exp
hell_valid1.vgtest
hell_valid2
hell_valid2.stderr.exp
hell_valid2.vgtest
hell_valid3
hell_valid3.stderr.exp
hell_valid3.vgtest
hell_valid4
hell_valid4.stderr.exp
hell_valid4.stdout.exp
hell_valid4.vgtest
hell_zerolength
hell_zerolength.stderr.exp
hell_zerolength.stderr.exp-dash
hell_zerolength.vgtest
8d22844dfa3625689d53e1ed0e471329de0f4c1e 03-Apr-2015 florian <florian@a5019735-40e9-0310-863c-91ae7b9d1cf9> Add testcase for BZ 231357.
To do that a small enhancement to vg_regtest was needed:
(1) New declaration to allow specifying an environemnt variable
that is set prior to invoking valgrind.
eg: env: VAR=VAL
There can be more than one such declaration
(2) prog-asis: program_name
This is like prog: except the program name is not prefixed with
the testdir.


git-svn-id: svn://svn.valgrind.org/valgrind/trunk@15064 a5019735-40e9-0310-863c-91ae7b9d1cf9
akefile.am
ug231357.stderr.exp
ug231357.stdout.exp
ug231357.vgtest
e4a4c57aad400232ff99672d840878c1c3b492b2 02-Apr-2015 florian <florian@a5019735-40e9-0310-863c-91ae7b9d1cf9> When skipping white space after #! to find the interpreter
only skip ' ' and tabs.


git-svn-id: svn://svn.valgrind.org/valgrind/trunk@15063 a5019735-40e9-0310-863c-91ae7b9d1cf9
akefile.am
hell_valid4
hell_valid4.stderr.exp
hell_valid4.stdout.exp
hell_valid4.vgtest
38152594cbcf574fda2adc2f9afe850d9ca8dd7d 02-Apr-2015 philippe <philippe@a5019735-40e9-0310-863c-91ae7b9d1cf9> Add a test that triggers sector recycling
(cfr bug fix in revision 15058: without 15058, the below test
loops for ever).


git-svn-id: svn://svn.valgrind.org/valgrind/trunk@15062 a5019735-40e9-0310-863c-91ae7b9d1cf9
akefile.am
igcode.stderr.exp
igcode.stdout.exp
igcode.vgtest
1a877fd6e438000d6e2ad2271f9eba9178652495 30-Mar-2015 sewardj <sewardj@a5019735-40e9-0310-863c-91ae7b9d1cf9> arm64: enable test cases for
FCVT{N,M,A,P,Z}{S,U} 2d_2d, 4s_4s, 2s_2s


git-svn-id: svn://svn.valgrind.org/valgrind/trunk@15051 a5019735-40e9-0310-863c-91ae7b9d1cf9
rm64/fp_and_simd.c
rm64/fp_and_simd.stdout.exp
a840bc07e61e992baa0e610f5eb095a854550981 30-Mar-2015 sewardj <sewardj@a5019735-40e9-0310-863c-91ae7b9d1cf9> arm64: add test cases for
FCVT{N,M,A,P,Z}{S,U} d_d, s_s
FCVTN 4h/8h_4s, 2s/4s_2d
FCVTL 4s_4h/8h, 2d_2s/4s
FCVT Sd, Hn
FCVT Dd, Hn
FCVT Hd, Sn
FCVT Hd, Dn


git-svn-id: svn://svn.valgrind.org/valgrind/trunk@15050 a5019735-40e9-0310-863c-91ae7b9d1cf9
rm64/fp_and_simd.c
rm64/fp_and_simd.stdout.exp
6aacb0658170343d3dcf531b4682e5460b421955 28-Mar-2015 petarj <petarj@a5019735-40e9-0310-863c-91ae7b9d1cf9> mips64: extend the test with new cases for Cavium SEQI and SNEI

Extend the test to introduce cases for SEQI and SNEI when immediate is
equal to the content of the GPR rs. Minor code style changes added.

Patch by Maran Pakkirisamy.

Related issue - BZ #341997.


git-svn-id: svn://svn.valgrind.org/valgrind/trunk@15043 a5019735-40e9-0310-863c-91ae7b9d1cf9
ips64/cvm_ins.c
ips64/cvm_ins.stdout.exp
05d2cab679c2462f2071ef152820c2b5c1a118fd 21-Mar-2015 rhyskidd <rhyskidd@a5019735-40e9-0310-863c-91ae7b9d1cf9> Address darwin compile issue introduced in r15013, due to _IOC_NONE

git-svn-id: svn://svn.valgrind.org/valgrind/trunk@15028 a5019735-40e9-0310-863c-91ae7b9d1cf9
octl_moans.c
cac2b54840d95469b571d814e08aeeeb1f2622f3 20-Mar-2015 florian <florian@a5019735-40e9-0310-863c-91ae7b9d1cf9> Add ecag.stdout.exp-z13.


git-svn-id: svn://svn.valgrind.org/valgrind/trunk@15026 a5019735-40e9-0310-863c-91ae7b9d1cf9
390x/Makefile.am
e50e2202e614478dcc3b114f9c56c59a995cc637 17-Mar-2015 cborntra <cborntra@a5019735-40e9-0310-863c-91ae7b9d1cf9> add cache info for z13


git-svn-id: svn://svn.valgrind.org/valgrind/trunk@15021 a5019735-40e9-0310-863c-91ae7b9d1cf9
390x/ecag.stdout.exp-z13
924c852b5883a7b42298dc8c7542116bd9a8a485 15-Mar-2015 philippe <philippe@a5019735-40e9-0310-863c-91ae7b9d1cf9> New Option --avg-transtab-entry-size=<number> can be used to tune
the size of the translation table sectors, either to gain memory
or to avoid too many retranslations.



git-svn-id: svn://svn.valgrind.org/valgrind/trunk@15016 a5019735-40e9-0310-863c-91ae7b9d1cf9
mdline1.stdout.exp
mdline2.stdout.exp
21628d252bf5413a2e4331ec7cc48ca0c690bb9c 14-Mar-2015 florian <florian@a5019735-40e9-0310-863c-91ae7b9d1cf9> Fix the testcase so it works on platforms where _IOC_NONE != 0
Filtering script and expected output file adapted.


git-svn-id: svn://svn.valgrind.org/valgrind/trunk@15013 a5019735-40e9-0310-863c-91ae7b9d1cf9
ilter_ioctl_moans
octl_moans.c
octl_moans.stderr.exp
d0720e4a624bdfe7ce2494d690e7a88f986b93c1 12-Mar-2015 philippe <philippe@a5019735-40e9-0310-863c-91ae7b9d1cf9> Implement command line option --valgrind-stacksize=<number>

This allows to decrease memory usage when using many threads,
if no big stacksize is needed by Valgrind.
If needed (e.g. for demangling big c++ symbols), the V stacksize
can be increased.



git-svn-id: svn://svn.valgrind.org/valgrind/trunk@15004 a5019735-40e9-0310-863c-91ae7b9d1cf9
mdline1.stdout.exp
mdline2.stdout.exp
846691e698003377f997ecb21a7d6053a6bb97ae 07-Mar-2015 florian <florian@a5019735-40e9-0310-863c-91ae7b9d1cf9> Rewritten to use a single line instead of line splicing
to avoid line number differences in the reported error.


git-svn-id: svn://svn.valgrind.org/valgrind/trunk@14988 a5019735-40e9-0310-863c-91ae7b9d1cf9
inux/stack-overflow.c
inux/stack-overflow.stderr.exp
15fa8a2f9b64e24c76ef88d8bf660ea2296f0c36 03-Mar-2015 florian <florian@a5019735-40e9-0310-863c-91ae7b9d1cf9> Produce a user message in case of stack overflow.
Change VG_(extend_stack) and VG_(am_extend_into_adjacent_reservation_client)
accordingly.
Remove some redundant checking.
Add testcase.


git-svn-id: svn://svn.valgrind.org/valgrind/trunk@14974 a5019735-40e9-0310-863c-91ae7b9d1cf9
inux/Makefile.am
inux/stack-overflow.c
inux/stack-overflow.stderr.exp
inux/stack-overflow.vgtest
10e7c67029f2c082b1b182606bbe106fdd9a8296 01-Mar-2015 florian <florian@a5019735-40e9-0310-863c-91ae7b9d1cf9> Change the testcase such that the output matches the intended output.


git-svn-id: svn://svn.valgrind.org/valgrind/trunk@14971 a5019735-40e9-0310-863c-91ae7b9d1cf9
390x/stmg.c
390x/stmg.stdout.exp
7f3e0bccd178edd3245a2e31a2c79d15f6f7f553 24-Feb-2015 florian <florian@a5019735-40e9-0310-863c-91ae7b9d1cf9> Add a comment explaining why there are only 3 emulation warnings
and not 4 as one would expect.
Update the .exp file to show correct line numbers.


git-svn-id: svn://svn.valgrind.org/valgrind/trunk@14962 a5019735-40e9-0310-863c-91ae7b9d1cf9
390x/fpext_warn.c
390x/fpext_warn.stderr.exp
e19e2ae3aa2e5fd709a7a62b8ce8dc460096a4da 24-Feb-2015 sewardj <sewardj@a5019735-40e9-0310-863c-91ae7b9d1cf9> arm64: enable test cases for conversion instructions which are
in fact implemented at this point.


git-svn-id: svn://svn.valgrind.org/valgrind/trunk@14960 a5019735-40e9-0310-863c-91ae7b9d1cf9
rm64/fp_and_simd.c
rm64/fp_and_simd.stdout.exp
2e0da2af913e4826e31d992702a57a8d9e3f6194 24-Feb-2015 sewardj <sewardj@a5019735-40e9-0310-863c-91ae7b9d1cf9> arm64: enable test cases for
FRECPS d_d_d, s_s_s
FRSQRTS d_d_d, s_s_s
FRECPE d_d, s_s
FRSQRTE d_d, s_s
FRECPX d_d, s_s
FRECPS 2d_2d_2d, 4s_4s_4s, 2s_2s_2s
FRSQRTS 2d_2d_2d, 4s_4s_4s, 2s_2s_2s
FRECPE 2d_2d, 4s_4s, 2s_2s
FRSQRTE 2d_2d, 4s_4s, 2s_2s
--This line, and those below, will be ignored--

M none/tests/arm64/fp_and_simd.c
M none/tests/arm64/fp_and_simd.stdout.exp


git-svn-id: svn://svn.valgrind.org/valgrind/trunk@14958 a5019735-40e9-0310-863c-91ae7b9d1cf9
rm64/fp_and_simd.c
rm64/fp_and_simd.stdout.exp
1e802b6a8d0d4b7b630d2a1dd9683c7c889b01a3 13-Feb-2015 florian <florian@a5019735-40e9-0310-863c-91ae7b9d1cf9> Add command line flag --max-threads=<integer> to increase the number of
threads that valgrind can handle. No recompile is needed.
Part of fixing BZ #337869.


git-svn-id: svn://svn.valgrind.org/valgrind/trunk@14932 a5019735-40e9-0310-863c-91ae7b9d1cf9
mdline1.stdout.exp
mdline2.stdout.exp
4d50c2fc60124d46c208d0e64705dca46de1831c 09-Feb-2015 sewardj <sewardj@a5019735-40e9-0310-863c-91ae7b9d1cf9> Enable test cases for
FMOV (vector, immediate, single precision)
{FRINTN,FRINTM,FRINTP,FRINTZ,FRINTA,FRINTX,FRINTI} 2d_2d, 4s_4s, 2s_2s
{FRINTN,FRINTM,FRINTP,FRINTZ,FRINTA,FRINTX,FRINTI} d_d, s_s


git-svn-id: svn://svn.valgrind.org/valgrind/trunk@14920 a5019735-40e9-0310-863c-91ae7b9d1cf9
rm64/fp_and_simd.c
rm64/fp_and_simd.stdout.exp
7483ef334670f8d3bacb1ba101417f2053fc8ff2 08-Feb-2015 sewardj <sewardj@a5019735-40e9-0310-863c-91ae7b9d1cf9> Enable test cases for all remaining FP multiply instructions:
FMULX d_d_d, s_s_s
FMLA d_d_d[], s_s_s[]
FMLS d_d_d[], s_s_s[]
FMUL d_d_d[], s_s_s[]
FMULX d_d_d[], s_s_s[]
FMULX 2d_2d_2d, 4s_4s_4s, 2s_2s_2s
FMULX 2d_2d_d[], 4s_4s_s[], 2s_2s_s[]
and possibly more.



git-svn-id: svn://svn.valgrind.org/valgrind/trunk@14919 a5019735-40e9-0310-863c-91ae7b9d1cf9
rm64/fp_and_simd.c
rm64/fp_and_simd.stdout.exp
679e410fa0f05d672e89b28628c8b3e30a76d5f1 08-Feb-2015 sewardj <sewardj@a5019735-40e9-0310-863c-91ae7b9d1cf9> Enable test cases:
{FMADD,FNMADD,FMSUB,FNMSUB} d_d_d_d, s_s_s_s
{FMAXMNV,FMINMNV,FMAXV,FMINV} s_4s
{FMAXNMP,FMINNMP,FMAXP,FMINP} d_2d, s_2s
{FMAXNM,FMINNM,FMAX,FMIN} 2d_2d_2d, 4s_4s_4s, 2s_2s_2s
{FMAXNMP,FMINNMP,FMAXP,FMINP} 2d_2d_2d, 4s_4s_4s, 2s_2s_2s


git-svn-id: svn://svn.valgrind.org/valgrind/trunk@14918 a5019735-40e9-0310-863c-91ae7b9d1cf9
rm64/fp_and_simd.c
rm64/fp_and_simd.stdout.exp
5905222b1143defa914429b193ccc30531754810 07-Feb-2015 sewardj <sewardj@a5019735-40e9-0310-863c-91ae7b9d1cf9> Enable test cases for all FP compare instructions:
{FCMEQ,FCMGE,FCMGT,FACGE,FACGT} d_d_d, s_s_s
{FCMEQ,FCMGE,FCMGT,FACGE,FACGT} d_d_#0.0, s_s_#0.0
{FCMEQ,FCMGE,FCMGT,FACGE,FACGT} 2d_2d_#0.0, 4s_4s_#0.0, 2s_2s_#0.0
{FCCMP,FCCMPE} s_s, d_d
{FCMP,FCMPE} d_d, s_s
{FCMP,FCMPE} d_#0.0, s_#0.0



git-svn-id: svn://svn.valgrind.org/valgrind/trunk@14915 a5019735-40e9-0310-863c-91ae7b9d1cf9
rm64/fp_and_simd.c
rm64/fp_and_simd.stdout.exp
8d47a61e503b69ffbc783717f5faf09d0bbc4723 05-Feb-2015 sewardj <sewardj@a5019735-40e9-0310-863c-91ae7b9d1cf9> Allow the user to specify precise-exception behaviour for translations
made from file-backed mappings (AOT code, basically) that is different
from the default behaviour as specified by --vex-iropt-register-updates.

New flag is --px-file-backed=, with the same possible args as
--vex-iropt-register-updates has.

Add a new flag --px-default, which is a short alias for
--vex-iropt-register-updates.

Add one line of stats output when --stats=yes, showing counts of how
many translations have been made under each of the 4 different PX
optimisation settings.

No user-visible change if you don't use the new flags.

Relies on VEX API change in r3084.



git-svn-id: svn://svn.valgrind.org/valgrind/trunk@14906 a5019735-40e9-0310-863c-91ae7b9d1cf9
mdline2.stdout.exp
f01eaf248ee0f8d4114d30908d95426473ccb3a7 28-Jan-2015 sewardj <sewardj@a5019735-40e9-0310-863c-91ae7b9d1cf9> Add test cases for AVX-1 conditional vector stores:
VMASKMOVP{D,S} xmm/ymm to memory. Pertains to #335785.


git-svn-id: svn://svn.valgrind.org/valgrind/trunk@14894 a5019735-40e9-0310-863c-91ae7b9d1cf9
md64/avx-1.c
md64/avx-1.stdout.exp
44e53760bdf68e7e895306f564c7d22f6070abb8 28-Jan-2015 sewardj <sewardj@a5019735-40e9-0310-863c-91ae7b9d1cf9> Add test cases for VPMASKMOV{D,Q} xmm/ymm to memory.


git-svn-id: svn://svn.valgrind.org/valgrind/trunk@14893 a5019735-40e9-0310-863c-91ae7b9d1cf9
md64/avx2-1.c
md64/avx2-1.stdout.exp
1b14466b15ab56a4afbac366ea3b8cc692038de5 09-Jan-2015 rhyskidd <rhyskidd@a5019735-40e9-0310-863c-91ae7b9d1cf9> Re-enable building of manythreads and thread-exits tests. Patch and discussion per BZ #341613.

git-svn-id: svn://svn.valgrind.org/valgrind/trunk@14861 a5019735-40e9-0310-863c-91ae7b9d1cf9
akefile.am
866862a87a06a70e2e0c0d7e5c773e252db8ecdd 13-Dec-2014 florian <florian@a5019735-40e9-0310-863c-91ae7b9d1cf9> Fix BZ #116002.
Left justification of strings in myvprintf_str was mixed up.
Now fixed and %s formats changed accordingly.
In function myvprintf_int64: the local buffer was not large
enough to hold ULONG_MAX in binary notation. Numbers were
truncated at 39 digits.
Testcases added.


git-svn-id: svn://svn.valgrind.org/valgrind/trunk@14808 a5019735-40e9-0310-863c-91ae7b9d1cf9
nit_debuglog.c
nit_debuglog.stderr.exp
227a1ecca7f44cb07e74aa8f1bd24b29df629499 12-Dec-2014 florian <florian@a5019735-40e9-0310-863c-91ae7b9d1cf9> Add limited support for printing floating point numbers to
VG_(debugLog_vprintf).
Remove function VG_(percentify) and fix up its call sites (part of
fixing BZ #337869.
Allow the width in a format specification to be '*', i.e. the width is
given as an additional function argument.

The limitations for printing floating point numbers are:
(1) %f is the only supported format. Width and precision can be
specified.
(2) Funny numbers (NaN and such) are not supported.
(3) Floating point numbers need to be benign in the sense that their
integral part fits into an ULong.
This is good enough for our purposes.


git-svn-id: svn://svn.valgrind.org/valgrind/trunk@14806 a5019735-40e9-0310-863c-91ae7b9d1cf9
akefile.am
nit_debuglog.c
nit_debuglog.stderr.exp
nit_debuglog.vgtest
a5dc2fd1e077465d2289fe09b8e6c74c83c3277a 09-Dec-2014 sewardj <sewardj@a5019735-40e9-0310-863c-91ae7b9d1cf9> Update expected output for none/tests/darwin/access_extended.
Fixes #341615. (Rhys Kidd, rhyskidd@gmail.com)


git-svn-id: svn://svn.valgrind.org/valgrind/trunk@14804 a5019735-40e9-0310-863c-91ae7b9d1cf9
arwin/access_extended.stderr.exp
5313495813fd242bb7b480142c04348090ee688d 05-Dec-2014 florian <florian@a5019735-40e9-0310-863c-91ae7b9d1cf9> Update test result following VEX r3029.


git-svn-id: svn://svn.valgrind.org/valgrind/trunk@14799 a5019735-40e9-0310-863c-91ae7b9d1cf9
390x/fpext_warn.stderr.exp
5b99e6669a0b2a925bb3fb2604259cc317963b6d 29-Nov-2014 florian <florian@a5019735-40e9-0310-863c-91ae7b9d1cf9> Fix BZ 334802. Patch by Mark Wielaard with a few mods to make it apply.
r14794 is related as well.
Also: remove -Wno-format-zero-length from compile options.


git-svn-id: svn://svn.valgrind.org/valgrind/trunk@14795 a5019735-40e9-0310-863c-91ae7b9d1cf9
mdline4.stderr.exp
465adfd4c7776a768a7919e6119d0c144ae1aaee 28-Nov-2014 florian <florian@a5019735-40e9-0310-863c-91ae7b9d1cf9> Add an early-clobber constraint. Otherwise, it will segfault when compiled
with gcc 4.9.2


git-svn-id: svn://svn.valgrind.org/valgrind/trunk@14793 a5019735-40e9-0310-863c-91ae7b9d1cf9
390x/flogr.c
1e407ccffed9fd4992b8747f872e9ae91d5344b4 27-Nov-2014 petarj <petarj@a5019735-40e9-0310-863c-91ae7b9d1cf9> mips64: add test cases for Cavium BBIT032 and BBIT132

This is a follow up to VEX r3028. This change adds two test cases
for Cavium instructions BBIT032 and BBIT132.

Issue tracked in BZ #339288.

Patch by Maran Pakkirisamy.


git-svn-id: svn://svn.valgrind.org/valgrind/trunk@14792 a5019735-40e9-0310-863c-91ae7b9d1cf9
ips64/cvm_bbit.c
ips64/cvm_bbit.stdout.exp
d0d42bf3fa1ed2a0ed4e7d275d59c6e331270b71 25-Nov-2014 sewardj <sewardj@a5019735-40e9-0310-863c-91ae7b9d1cf9> Add test cases for RORV x_x_x, w_w_w.


git-svn-id: svn://svn.valgrind.org/valgrind/trunk@14784 a5019735-40e9-0310-863c-91ae7b9d1cf9
rm64/integer.c
rm64/integer.stdout.exp
a9e7d88e9a2d49c16d22e8bdafd2eb2bab64e3e0 25-Nov-2014 sewardj <sewardj@a5019735-40e9-0310-863c-91ae7b9d1cf9> Add test cases for CLS x_x, w_w.


git-svn-id: svn://svn.valgrind.org/valgrind/trunk@14783 a5019735-40e9-0310-863c-91ae7b9d1cf9
rm64/integer.c
rm64/integer.stdout.exp
897483566360f51817a69562e64b463813ba4238 20-Nov-2014 sewardj <sewardj@a5019735-40e9-0310-863c-91ae7b9d1cf9> Update mysteriously out-of-date fp_and_simd.stdout.exp.


git-svn-id: svn://svn.valgrind.org/valgrind/trunk@14739 a5019735-40e9-0310-863c-91ae7b9d1cf9
rm64/fp_and_simd.stdout.exp
807d35f8f2e7f40549a52f8d2c269922035b363d 20-Nov-2014 sewardj <sewardj@a5019735-40e9-0310-863c-91ae7b9d1cf9> Add test cases for {S,U}CVTF fixedpt-to-fp.


git-svn-id: svn://svn.valgrind.org/valgrind/trunk@14738 a5019735-40e9-0310-863c-91ae7b9d1cf9
rm64/Makefile.am
rm64/cvtf_imm.c
rm64/cvtf_imm.stderr.exp
rm64/cvtf_imm.stdout.exp
rm64/cvtf_imm.vgtest
a9e964d9fd186721e0b7f9c07f7b8bd3ee2e2a38 19-Nov-2014 sewardj <sewardj@a5019735-40e9-0310-863c-91ae7b9d1cf9> Add test cases for VFPv4 VFNMA, VFNMS added in vex r2995.
Pertains to #340807.


git-svn-id: svn://svn.valgrind.org/valgrind/trunk@14736 a5019735-40e9-0310-863c-91ae7b9d1cf9
rm/vfpv4_fma.c
rm/vfpv4_fma.stdout.exp
44d8ec9cfb9d6a1ae74eb0426dd08c2fc680c6e6 17-Nov-2014 sewardj <sewardj@a5019735-40e9-0310-863c-91ae7b9d1cf9> Enable test cases for r2993, viz:
FADDP s_2s, d_2d
FADDP 2d_2d_2d, 4s_4s_4s, 2s_2s_2s
FMAX d_d, s_s
FMIN d_d, s_s
FMAXNM d_d, s_s (not really correct)
FMINNM d_d, s_s (not really correct)



git-svn-id: svn://svn.valgrind.org/valgrind/trunk@14730 a5019735-40e9-0310-863c-91ae7b9d1cf9
rm64/fp_and_simd.c
rm64/fp_and_simd.stdout.exp
d42615a3165c6ad4181ec09dbb267ca46343ee08 15-Nov-2014 sewardj <sewardj@a5019735-40e9-0310-863c-91ae7b9d1cf9> Add test cases for all remaining AArch64 ARMv8 SIMD and FP instructions.


git-svn-id: svn://svn.valgrind.org/valgrind/trunk@14728 a5019735-40e9-0310-863c-91ae7b9d1cf9
rm64/fp_and_simd.c
rm64/fp_and_simd.stdout.exp
7b3d3565c1559b88c67f629bd6613c8b1a89691b 12-Nov-2014 philippe <philippe@a5019735-40e9-0310-863c-91ae7b9d1cf9> Implement Option --error-markers=<begin>,<end>

* This option can be used to mark the begin/end of errors in textual
output mode, to facilitate searching/extracting errors in output files
mixing valgrind errors with program output.

* Use the new option in various existing regtests to test the various
possible usage.



git-svn-id: svn://svn.valgrind.org/valgrind/trunk@14714 a5019735-40e9-0310-863c-91ae7b9d1cf9
mdline1.stdout.exp
mdline2.stdout.exp
7d8e0a86c474dc56f84e986cc51759293ec9e343 03-Nov-2014 sewardj <sewardj@a5019735-40e9-0310-863c-91ae7b9d1cf9> Add tests for all SIMD FP instructions, except int<->fp conversions.


git-svn-id: svn://svn.valgrind.org/valgrind/trunk@14684 a5019735-40e9-0310-863c-91ae7b9d1cf9
rm64/fp_and_simd.c
rm64/fp_and_simd.stdout.exp
1399481803e6031ceff0324641b4c52aab0ff23f 01-Nov-2014 philippe <philippe@a5019735-40e9-0310-863c-91ae7b9d1cf9> fix 338995 shmat with hugepages (SHM_HUGETLB) fails with EINVAL

Bug is not really fixed, instead the SHM_HUGETLB flag is ignored.
Note that it is not straightforward to properly fix this,
as this implies either to learn aspacemgr what huge pages are.
Also, the trick used in the fix for 333051 cannot be used easily,
because the SHM_HUGETLB flag is given in shmget, while the mmap
is done in shmat.

So, the easiest is to just ignore the SHM_HUGETLB flag.

SHM_HUGETLB is supposed to only give a performance impact.
Ignoring it should be benign.
Theoretically, the caller might expect a sucessful shmget(SHM_HUGETLB)+shmat
to give pages aligned on e.g. 1MB.
In this case, bad luck, the program will misbehave under valgrind.
To warn of this, a warning is given (once) when SHM_HUGETLB is seen.

The map_unmap.c test has been restructured somewaht to allow
TEST_SHM_HUGETLB to be tested independently (or not) of the TEST_MAP_HUGETLB.

Note also that by default, testing MAP_HUGETLB and SHM_HUGETLB
is disabled as usually, huge pages are not enabled.




git-svn-id: svn://svn.valgrind.org/valgrind/trunk@14683 a5019735-40e9-0310-863c-91ae7b9d1cf9
ap_unmap.c
98d6b25e8ce18fe287b1fc9d0c46e963d622cf3d 01-Nov-2014 philippe <philippe@a5019735-40e9-0310-863c-91ae7b9d1cf9> Fix 333051 mmap of huge pages fails due to incorrect alignment

Learning aspacemgr to handle huge page is too difficult.
So, huge page requests that fails due to bad advice by aspacemgr
will (we hope) succeed if a mmap retry is done with the kernel,
without any constraints.



git-svn-id: svn://svn.valgrind.org/valgrind/trunk@14682 a5019735-40e9-0310-863c-91ae7b9d1cf9
ap_unmap.c
31cf66604789e22717cef05978390129ed032c3a 01-Nov-2014 sewardj <sewardj@a5019735-40e9-0310-863c-91ae7b9d1cf9> Rearrange the test case generators to be exactly in the same order
that they are called, so as to make future editing easier. And
generally tidy up. No functional change.



git-svn-id: svn://svn.valgrind.org/valgrind/trunk@14681 a5019735-40e9-0310-863c-91ae7b9d1cf9
rm64/fp_and_simd.c
rm64/fp_and_simd.stdout.exp
71982253f53cf33d72d5f0d5d22ee9d3055de7ae 31-Oct-2014 sewardj <sewardj@a5019735-40e9-0310-863c-91ae7b9d1cf9> Add test cases and expected outputs for
FMLA 2d_2d_d[], 4s_4s_s[], 2s_2s_s[]
FMLS 2d_2d_d[], 4s_4s_s[], 2s_2s_s[]
PRFM (immediate)

Unfortunately huge diff for arm64/fp_and_simd.stdout.exp because the
new cases are not at the end, and the random data for all after it is
different. ToDo: reset RNG after each test.



git-svn-id: svn://svn.valgrind.org/valgrind/trunk@14679 a5019735-40e9-0310-863c-91ae7b9d1cf9
rm64/fp_and_simd.c
rm64/fp_and_simd.stdout.exp
rm64/memory.c
rm64/memory.stdout.exp
4e94bda370ef084f365f6adee42102eeb8832d4f 29-Oct-2014 florian <florian@a5019735-40e9-0310-863c-91ae7b9d1cf9> Configury and Makefile tweaks to support compilation with Intel's
ICC Compiler. Patch mostly by Gregory Czajkowski <gregczajkowski@yahoo.com>.
Fixes BZ #339542.


git-svn-id: svn://svn.valgrind.org/valgrind/trunk@14674 a5019735-40e9-0310-863c-91ae7b9d1cf9
md64/Makefile.am
f45e93c4f239d5e136e5275aca53ef91633257d0 27-Oct-2014 sewardj <sewardj@a5019735-40e9-0310-863c-91ae7b9d1cf9> Enable test cases for

LD1/ST1 (multiple 1-elem structs to/from 2 regs
LD1/ST1 (multiple 1-elem structs to/from 3 regs
LD1/ST1 (multiple 1-elem structs to/from 4 regs
LD1R (single structure, replicate)
LD2R (single structure, replicate)
LD3R (single structure, replicate)
LD4R (single structure, replicate)
LD1/ST1 (single structure, to/from one lane)
LD2/ST2 (single structure, to/from one lane)
LD3/ST3 (single structure, to/from one lane)
LD4/ST4 (single structure, to/from one lane)



git-svn-id: svn://svn.valgrind.org/valgrind/trunk@14667 a5019735-40e9-0310-863c-91ae7b9d1cf9
rm64/memory.c
rm64/memory.stdout.exp
2f87090a21801a0e1ef26369172095d5f86318c7 23-Oct-2014 sewardj <sewardj@a5019735-40e9-0310-863c-91ae7b9d1cf9> Add --resync-filter to the --help output.


git-svn-id: svn://svn.valgrind.org/valgrind/trunk@14662 a5019735-40e9-0310-863c-91ae7b9d1cf9
mdline1.stdout.exp
mdline2.stdout.exp
011dafb61cf25ff3337043315b2975986af226cf 22-Oct-2014 sewardj <sewardj@a5019735-40e9-0310-863c-91ae7b9d1cf9> Add test cases for all known arm64 load/store instructions.


git-svn-id: svn://svn.valgrind.org/valgrind/trunk@14653 a5019735-40e9-0310-863c-91ae7b9d1cf9
rm64/memory.c
rm64/memory.stdout.exp
d0940354ab5d8f2500e3c060addde325a72cde97 20-Oct-2014 florian <florian@a5019735-40e9-0310-863c-91ae7b9d1cf9> Fix BZ 339789. /bin/true does not exist on Darwin.
Patch by rhyskidd@gmail.com.


git-svn-id: svn://svn.valgrind.org/valgrind/trunk@14645 a5019735-40e9-0310-863c-91ae7b9d1cf9
xecve.c
d3f6f3eec26a3b49207ad269c7d5f77c0ac5186a 20-Oct-2014 florian <florian@a5019735-40e9-0310-863c-91ae7b9d1cf9> Fix the prerequisite of the none/tests/rlimit64_nofile testcase.
Patch by rhyskidd@gmail.com. Fixes BZ 339808.


git-svn-id: svn://svn.valgrind.org/valgrind/trunk@14644 a5019735-40e9-0310-863c-91ae7b9d1cf9
limit64_nofile.vgtest
5d00ec66e9d8510b8dbed896df64acc3c7772504 20-Oct-2014 florian <florian@a5019735-40e9-0310-863c-91ae7b9d1cf9> Fix some testcases which implicitly assumed that TMPDIR was either
not set or set to /tmp This is not always true. Fixes BZ 340115.
Patch by rhyskidd@gmail.com.


git-svn-id: svn://svn.valgrind.org/valgrind/trunk@14643 a5019735-40e9-0310-863c-91ae7b9d1cf9
mdline1.stdout.exp
mdline2.stdout.exp
ilter_cmdline1
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
86/cpuid_s.S
1dade8e2779ef99f57655a8913138709986ea9d0 27-Sep-2014 petarj <petarj@a5019735-40e9-0310-863c-91ae7b9d1cf9> mips64: enable soft-float build of the tests

Cavium toolchain defaults to soft-float, so it is important to enable full
build of the test suite to work in that case as well.

This boils down to protecting FPU-specific code segments with

#if defined(__mips_hard_float)
#endif


git-svn-id: svn://svn.valgrind.org/valgrind/trunk@14572 a5019735-40e9-0310-863c-91ae7b9d1cf9
ips64/fpu_arithmetic.c
ips64/fpu_branches.c
ips64/fpu_control_word.c
ips64/fpu_load_store.c
ips64/load_store_unaligned.c
ips64/macro_fpu.h
ips64/move_instructions.c
ips64/round.c
ips64/rounding_mode.h
ips64/test_fcsr.c
4110f6a5a1e39d5cd6f59a80874394116f41aa41 27-Sep-2014 petarj <petarj@a5019735-40e9-0310-863c-91ae7b9d1cf9> mips64: run FPU tests only when FPU is available

Check whether the target platform is meant to have an FPU before executing
tests that make use of a floating-point unit.


git-svn-id: svn://svn.valgrind.org/valgrind/trunk@14571 a5019735-40e9-0310-863c-91ae7b9d1cf9
ips64/fpu_arithmetic.vgtest
ips64/fpu_branches.vgtest
ips64/fpu_control_word.vgtest
ips64/fpu_load_store.vgtest
ips64/load_store_unaligned.vgtest
ips64/move_instructions.vgtest
ips64/round.vgtest
ips64/test_fcsr.vgtest
b5b755f908b4f235028e1a6b883f723451835236 25-Sep-2014 florian <florian@a5019735-40e9-0310-863c-91ae7b9d1cf9> The testbuckets none/tests/ppc{32,64} did not build in case the
toolchain did not support -maltivec -mabi=altivec.
This should work now. Fixes BZ #338731


git-svn-id: svn://svn.valgrind.org/valgrind/trunk@14566 a5019735-40e9-0310-863c-91ae7b9d1cf9
pc32/Makefile.am
pc64/Makefile.am
db16f835c79e8f5167b4aff9ee1ddf72637ef605 19-Sep-2014 philippe <philippe@a5019735-40e9-0310-863c-91ae7b9d1cf9> Fix wrong checking of ARG2 of getrlimit
(spotted by Florian Krohm/IBM's BEAM checker)



git-svn-id: svn://svn.valgrind.org/valgrind/trunk@14559 a5019735-40e9-0310-863c-91ae7b9d1cf9
limit_nofile.c
47c6d14dc05ff276692294ebc29070401ab588af 12-Sep-2014 sewardj <sewardj@a5019735-40e9-0310-863c-91ae7b9d1cf9> Merge r14513 from 3_10_BRANCH (Update docs w.r.t. status of
partially-enabled --read-inline-info.)



git-svn-id: svn://svn.valgrind.org/valgrind/trunk@14520 a5019735-40e9-0310-863c-91ae7b9d1cf9
mdline1.stdout.exp
mdline2.stdout.exp
124e56d42ca77510244fedc937057bd291faa039 06-Sep-2014 sewardj <sewardj@a5019735-40e9-0310-863c-91ae7b9d1cf9> Rename "--kernel-variant=android-emulator-no-hw-tls" to
"=android-no-hw-tls" per suggestion from Philippe.


git-svn-id: svn://svn.valgrind.org/valgrind/trunk@14479 a5019735-40e9-0310-863c-91ae7b9d1cf9
mdline1.stdout.exp
mdline2.stdout.exp
0b91943658e3ba9a7a9c4f1ee011572f2db59d58 05-Sep-2014 florian <florian@a5019735-40e9-0310-863c-91ae7b9d1cf9> The purpose of the test is to see whether the exported header files
compile OK with gcc -ansi. Therefore, add drd.h


git-svn-id: svn://svn.valgrind.org/valgrind/trunk@14468 a5019735-40e9-0310-863c-91ae7b9d1cf9
nsi.c
25fc405cf79c5b1c0a3fa13c40d0909863062245 05-Sep-2014 carll <carll@a5019735-40e9-0310-863c-91ae7b9d1cf9> The update fixes a format issue in the PPC test
none/tests/ppc32/jm-insns.c and none/tests/ppc64/jm-insns.c.
The BE and LE output expect files are updated as well.

There is no Bugzilla related to this update. The issue
was found and the initial patch and BE output update
was done by Florian Krohm <florian@eich-krohm.de>.
Carl Love <cel@us.ibm.com> added the LE output update.


git-svn-id: svn://svn.valgrind.org/valgrind/trunk@14466 a5019735-40e9-0310-863c-91ae7b9d1cf9
pc32/jm-insns.c
pc64/jm-int.stdout.exp
pc64/jm-int.stdout.exp-LE
269069e8731146ea245c2819d4c7bf5b7294a7a4 04-Sep-2014 sewardj <sewardj@a5019735-40e9-0310-863c-91ae7b9d1cf9> arm64: enable test cases for str bN, [reg, reg etc] and str hN, [reg,
reg etc]. Pertaining to #337762, vex r2943.


git-svn-id: svn://svn.valgrind.org/valgrind/trunk@14458 a5019735-40e9-0310-863c-91ae7b9d1cf9
rm64/memory.c
rm64/memory.stdout.exp
0cf63b01409c2f316c82efd1c01c76724adc423b 04-Sep-2014 petarj <petarj@a5019735-40e9-0310-863c-91ae7b9d1cf9> mips64: add tests for Cavium BBIT0 and BBIT1

Follow up to VEX r2942 in which support for Cavium BBIT0/1 instructions
has been added.


git-svn-id: svn://svn.valgrind.org/valgrind/trunk@14449 a5019735-40e9-0310-863c-91ae7b9d1cf9
ips64/Makefile.am
ips64/cvm_bbit.c
ips64/cvm_bbit.stderr.exp
ips64/cvm_bbit.stdout.exp
ips64/cvm_bbit.stdout.exp-non-octeon
ips64/cvm_bbit.vgtest
122f6afaa5c29d933907e21f5a993e072a3c5745 03-Sep-2014 sewardj <sewardj@a5019735-40e9-0310-863c-91ae7b9d1cf9> Slightly change the help text for some options that involve
user-supplied enumeration values.


git-svn-id: svn://svn.valgrind.org/valgrind/trunk@14447 a5019735-40e9-0310-863c-91ae7b9d1cf9
mdline1.stdout.exp
mdline2.stdout.exp
4450a0efab6e08dc7e40a4dfb5dda7214edb557d 03-Sep-2014 sewardj <sewardj@a5019735-40e9-0310-863c-91ae7b9d1cf9> Improvements for Android:

* All Linux targets: add minimal ioctl support for the ION_IOC family

* Android targets: change proprietary-ioctl support for GPUs from
being a build-time #define kludge to being controlled by --kernel-variant,
as it should be. Update documentation accordingly.



git-svn-id: svn://svn.valgrind.org/valgrind/trunk@14440 a5019735-40e9-0310-863c-91ae7b9d1cf9
mdline1.stdout.exp
mdline2.stdout.exp
65f1f2de6427ff357cc780d8c7e0b0e819a95def 01-Sep-2014 mjw <mjw@a5019735-40e9-0310-863c-91ae7b9d1cf9> Adjust cmdline expected test output after r14401 BZ#337871.

git-svn-id: svn://svn.valgrind.org/valgrind/trunk@14405 a5019735-40e9-0310-863c-91ae7b9d1cf9
mdline1.stdout.exp
mdline2.stdout.exp
52bae2fcc174535edd254f8a9b6d0af908a76480 01-Sep-2014 sewardj <sewardj@a5019735-40e9-0310-863c-91ae7b9d1cf9> Remove memory (load/store) tests from integer.c and move them
into their own file, memory.c.


git-svn-id: svn://svn.valgrind.org/valgrind/trunk@14403 a5019735-40e9-0310-863c-91ae7b9d1cf9
rm64/Makefile.am
rm64/integer.c
rm64/integer.stdout.exp
rm64/memory.c
rm64/memory.stderr.exp
rm64/memory.stdout.exp
rm64/memory.vgtest
5508468fc317a0a85d1bac9e4c5bbeb0c1b4782a 30-Aug-2014 philippe <philippe@a5019735-40e9-0310-863c-91ae7b9d1cf9> make prereq fail with 1 if host command not installed
as prereq must return 0 or 1. Any other return value aborts the regtests.



git-svn-id: svn://svn.valgrind.org/valgrind/trunk@14391 a5019735-40e9-0310-863c-91ae7b9d1cf9
es_search.vgtest
77ba302a6dfa722c3ad8c8658804790c43e9fcbc 29-Aug-2014 mjw <mjw@a5019735-40e9-0310-863c-91ae7b9d1cf9> none/tests/res_search.vgtest: Add prereq that domain can be resolved.

Some autobuilders/testers don't allow network access.

git-svn-id: svn://svn.valgrind.org/valgrind/trunk@14385 a5019735-40e9-0310-863c-91ae7b9d1cf9
es_search.vgtest
abd6d6c32f6a35f37435475af1308b319ef8ca5d 29-Aug-2014 mjw <mjw@a5019735-40e9-0310-863c-91ae7b9d1cf9> Hook up allexec tests for arm64.

git-svn-id: svn://svn.valgrind.org/valgrind/trunk@14382 a5019735-40e9-0310-863c-91ae7b9d1cf9
rm64/Makefile.am
rm64/allexec.c
061ad2265f38197ff470a171df58f6075a040b5f 27-Aug-2014 mjw <mjw@a5019735-40e9-0310-863c-91ae7b9d1cf9> none/tests/Makefile.am (DIST_SUBDIRS): Add arm64.

git-svn-id: svn://svn.valgrind.org/valgrind/trunk@14371 a5019735-40e9-0310-863c-91ae7b9d1cf9
akefile.am
d173f80715b5e8eb694216b3cb1690e480171dbf 26-Aug-2014 sewardj <sewardj@a5019735-40e9-0310-863c-91ae7b9d1cf9> Add test config files and expected outputs.


git-svn-id: svn://svn.valgrind.org/valgrind/trunk@14365 a5019735-40e9-0310-863c-91ae7b9d1cf9
rm64/fp_and_simd.stderr.exp
rm64/fp_and_simd.stdout.exp
rm64/fp_and_simd.vgtest
rm64/integer.stderr.exp
rm64/integer.stdout.exp
rm64/integer.vgtest
f02d2ec5cfb003c405b722c99e270d838c4bd6f0 26-Aug-2014 sewardj <sewardj@a5019735-40e9-0310-863c-91ae7b9d1cf9> Build system stuff, to hook the tests in none/tests/arm64
to the build system.


git-svn-id: svn://svn.valgrind.org/valgrind/trunk@14363 a5019735-40e9-0310-863c-91ae7b9d1cf9
akefile.am
rm64/Makefile.am
rm64/filter_stderr
77de31cd4bb20b16edf7bbc01b4901d4d86dc174 24-Aug-2014 sewardj <sewardj@a5019735-40e9-0310-863c-91ae7b9d1cf9> arm64: enable test cases for:
{zip,uzp,trn}{1,2} (vector)
urecpe, ursqrte (vector)


git-svn-id: svn://svn.valgrind.org/valgrind/trunk@14353 a5019735-40e9-0310-863c-91ae7b9d1cf9
rm64/fp_and_simd.c
d011646c52f9745f7308b53f89303c4ce45cb20b 23-Aug-2014 mjw <mjw@a5019735-40e9-0310-863c-91ae7b9d1cf9> filter_shell_output: filter out "Exec format error" added by newer bash.

git-svn-id: svn://svn.valgrind.org/valgrind/trunk@14343 a5019735-40e9-0310-863c-91ae7b9d1cf9
ilter_shell_output
9848690cfe9c59a8a92d4be6e5b43c77786066ee 20-Aug-2014 philippe <philippe@a5019735-40e9-0310-863c-91ae7b9d1cf9> Add option a new sim-hint no-nptl-pthread-stackcache.

Activating this hint using --sim-hints=no-nptl-pthread-stackcache
means the glibc nptl stack cache will be disabled.

Disabling this stack/tls cache avoids helgrind false positive race conditions
errors when using __thread variables.

Note: disabling the stack cache is done by a kludge, dependent on
internal knowledge of glibc code, and using libpthread debug info.
So, this kludge might be broken with newer glibc version.
This has been tested on various platforms and various
glibc versions 2.11, 2.16 and 2.18

To check if the disabling works, you can do:
valgrind --tool=helgrind --sim-hints=no-nptl-pthread-stackcache -d -v ./helgrind/tests/tls_threads |& grep kludge

If you see the below 2 lines, then hopefully the stack cache has been disabled.
--12624-- deactivate nptl pthread stackcache via kludge: found symbol stack_cache_actsize at addr 0x3AF178
--12624:1:sched pthread stack cache size disabling done via kludge




git-svn-id: svn://svn.valgrind.org/valgrind/trunk@14313 a5019735-40e9-0310-863c-91ae7b9d1cf9
mdline1.stdout.exp
mdline2.stdout.exp
61d16fb377cb9fe0f1da6a4712a820e2d6575491 18-Aug-2014 sewardj <sewardj@a5019735-40e9-0310-863c-91ae7b9d1cf9> arm64: enable test cases for
srhadd, urhadd (vector)
suqadd, usqadd (scalar)
suqadd, usqadd (vector)


git-svn-id: svn://svn.valgrind.org/valgrind/trunk@14303 a5019735-40e9-0310-863c-91ae7b9d1cf9
rm64/fp_and_simd.c
ec905f7ed1659f2251045114c785659fbb11ea88 17-Aug-2014 philippe <philippe@a5019735-40e9-0310-863c-91ae7b9d1cf9> The attached patch cleanups the clo processing
of clo which are (or should be) 'enum set'.

* pub_tool_options.h : add new macrox VG_USET_CLO and VG_USETX_CLO to
parse an 'enum set' command line option (with or without "all" keyword).

* use VG_USET_CLO for existing enum set clo options:
memcheck --errors-for-leak-kinds, --show-leak-kinds, --leak-check-heuristics
coregrind --vgdb-stop-at

* change --sim-hints and --kernel-variants to enum set
(this allows to detect user typos: currently, a typo in a sim-hint
or kernel variant is silently ignored. Now, an error will be given
to the user)

* The 2 new sets (--sim-hints and --kernel-variants) should not make
use of the 'all' keyword => VG_(parse_enum_set) has a new argument
to enable/disable the use of the "all" keyword.

* The macros defining an 'all enum' set definition was duplicating
all enum values (so addition of a new enum value could easily
give a bug). Removing these macros as they are unused
(to the exception of the leak-kind set).
For this set, the 'all macro' has been replaced by an 'all function',
coded using parse_enum_set parsing the "all" keyword.



git-svn-id: svn://svn.valgrind.org/valgrind/trunk@14301 a5019735-40e9-0310-863c-91ae7b9d1cf9
mdline1.stdout.exp
mdline2.stdout.exp
4d87d238ff337c4d577189cf6dc79a1a443c447b 17-Aug-2014 sewardj <sewardj@a5019735-40e9-0310-863c-91ae7b9d1cf9> arm64: enable test cases for
sshr, ushr, ssra, usra (scalar, imm)
srshr, urshr, srsra, ursra (scalar, imm)
srshr, urshr, srsra, ursra (vector, imm)
sshl, srshl, ushl, urshl (scalar, imm)
sshl, srshl, ushl, urshl (vector, vector)
ssra, usra (vector, imm)


git-svn-id: svn://svn.valgrind.org/valgrind/trunk@14300 a5019735-40e9-0310-863c-91ae7b9d1cf9
rm64/fp_and_simd.c
77749ddf99fe8b72566a6457ba06a05fd2b76498 15-Aug-2014 carll <carll@a5019735-40e9-0310-863c-91ae7b9d1cf9> creating the lind from none/tests/ppc64/round.c to none/tests/ppc32/round.c




git-svn-id: svn://svn.valgrind.org/valgrind/trunk@14291 a5019735-40e9-0310-863c-91ae7b9d1cf9
pc64/round.c
e6a3dfd6e72ba0538ff532f56dc8f07710a499de 15-Aug-2014 carll <carll@a5019735-40e9-0310-863c-91ae7b9d1cf9> Removing the file none/tests/ppc64/round.c so I can change it to a link.



git-svn-id: svn://svn.valgrind.org/valgrind/trunk@14290 a5019735-40e9-0310-863c-91ae7b9d1cf9
pc64/round.c
1670b05a4a415dbfd75b1a120713b4a206bb719e 15-Aug-2014 philippe <philippe@a5019735-40e9-0310-863c-91ae7b9d1cf9> fix 338160: Implement QGetTlsAddr query so that GDB+V gdbsrv can print __thread variables.

To implement QGetTlsAddr, gdbsrv has to know how to get the glibc dtv
address and the module id from the link_map.
These 2 things are dependent on the internals of glibc.
The dependency is mostly isolated in a few lines of arch dependent
code or in an external utility that used a hack + -ldl lib to find
the offset of the modid in the link_map structure.

Tested on x86/amd64/ppc64/s390x. Somewhat tested on ppc32 and arm64.
Untested/a few #ifdef-ed lines not compiled on arm/mips32/mips64
and darwin.

For more background info about thread local storage handling, see
'ELF Handling For Thread-Local Storage' http://www.akkadia.org/drepper/tls.pdf

Changes:
* auxprogs/getoff.c new auxilliary program to get platform specific offsets
(currently only the offset for the module id in struct link_map).
* configure.ac : check for dlinfo(RTLD_DI_TLS_MODID) needed for getoff.c
* new gdbserver_tests/hgtls, testing various types of __thread variables
* various m_gdbserver files:
- implement decoding of the QGetTlsAddr query
- for each platform: platform specific code to get the dtv
- call to external program getoff-<platform> the first time an
__thread variable is printed.



git-svn-id: svn://svn.valgrind.org/valgrind/trunk@14283 a5019735-40e9-0310-863c-91ae7b9d1cf9
akefile.am
ls.c
693bac3b8f4726c59a11dd1e7f719676bffb5657 15-Aug-2014 sewardj <sewardj@a5019735-40e9-0310-863c-91ae7b9d1cf9> arm64: enable test cases for:
{uqshl, sqshl, sqshlu} (vector, imm)
{uqshl, sqshl, sqshlu} (scalar, imm)
{uqshrn, sqrshrun, sqshrun} (scalar, imm)



git-svn-id: svn://svn.valgrind.org/valgrind/trunk@14281 a5019735-40e9-0310-863c-91ae7b9d1cf9
rm64/fp_and_simd.c
d34ec24bc9a70b49431bce08729d886c35955ee8 14-Aug-2014 florian <florian@a5019735-40e9-0310-863c-91ae7b9d1cf9> Choose some floating point numbers that are hopefully easier to write out.


git-svn-id: svn://svn.valgrind.org/valgrind/trunk@14279 a5019735-40e9-0310-863c-91ae7b9d1cf9
390x/rounding-3.c
390x/rounding-3.stdout.exp
390x/rounding-4.c
390x/rounding-4.stdout.exp
390x/rounding-6.c
390x/rounding-6.stdout.exp
ee55dc246230e70529b70c4bfb431db66e51525c 14-Aug-2014 carll <carll@a5019735-40e9-0310-863c-91ae7b9d1cf9> This commit is an update to Bugzilla 334836

There are two copies of the round test in none/tests/ppc32/round.c
and none/tests/ppc64/round.c. The two source files should be
identical. The LE functional test commit updated the round.c test for
ppc64 but was missing the ppc32 round updates. The round.c test was
updated to fix an issue where we were getting different outputs
depending on the compiler. The output is now consistent for the
compilers allowing the removal of the additional expect files for
ppc32 and ppc64.




git-svn-id: svn://svn.valgrind.org/valgrind/trunk@14278 a5019735-40e9-0310-863c-91ae7b9d1cf9
pc32/Makefile.am
pc32/round.c
pc32/round.stdout.exp
pc32/round.stdout.exp-RM-fix
pc64/Makefile.am
pc64/round.c
pc64/round.stdout.exp
pc64/round.stdout.exp-RM-fix
4eacc8007c18b53be04191606bd5013de19acd07 11-Aug-2014 sewardj <sewardj@a5019735-40e9-0310-863c-91ae7b9d1cf9> arm64: enable test cases for:
uqshrn{2}, sqrshrun{2}, sqshrun{2} (vector, imm)
sqxtn{2}, uqxtn{2}, sqxtun{2} (vector and scalar)


git-svn-id: svn://svn.valgrind.org/valgrind/trunk@14257 a5019735-40e9-0310-863c-91ae7b9d1cf9
rm64/fp_and_simd.c
dd690bf8d81c9119a7228446be12e3366e202176 08-Aug-2014 carll <carll@a5019735-40e9-0310-863c-91ae7b9d1cf9> This commit is for Bugzilla 334836. The Bugzilla contains patch 3 of 3
to add PPC64 LE support. The other two patches can be found in Bugzillas
334384 and 334834. Note, there are no VEX changes in this patch.


PP64 Little Endian test case fixes.

This patch adds new LE and BE expect files where needed. In other
cases, the test was fixed to run correctly on LE and BE using based on
testing to see which platform is being used.

Where practical, the test cases have been changed so that the output
produced for BE and LE will be identical. The test cases that require
a major rewrite to make the output identical for BE and LE simply
had an additional expect file added.

Signed-off-by: Carl Love <carll@us.ibm.com>


git-svn-id: svn://svn.valgrind.org/valgrind/trunk@14240 a5019735-40e9-0310-863c-91ae7b9d1cf9
md64/xadd.c
pc32/Makefile.am
pc32/jm-fp.stdout.exp-BE2
pc32/jm-insns.c
pc32/jm-int.stdout.exp
pc32/jm-vmx.stdout.exp
pc32/jm_vec_isa_2_07.stdout.exp
pc32/round.stdout.exp
pc32/round.stdout.exp-RM-fix
pc32/test_dfp4.c
pc32/test_dfp5.c
pc32/test_isa_2_06_part1.c
pc32/test_isa_2_06_part1.stdout.exp
pc32/test_isa_2_06_part2.c
pc32/test_isa_2_06_part3.c
pc32/test_isa_2_07_part2.stdout.exp
pc64/Makefile.am
pc64/jm-fp.stdout.exp
pc64/jm-fp.stdout.exp-BE2
pc64/jm-fp.stdout.exp-LE
pc64/jm-fp.stdout.exp-LE2
pc64/jm-int.stdout.exp
pc64/jm-int.stdout.exp-LE
pc64/jm-vmx.stdout.exp
pc64/jm-vmx.stdout.exp-LE
pc64/jm_vec_isa_2_07.stdout.exp
pc64/lsw.vgtest
pc64/round.c
pc64/round.stdout.exp-RM-fix
pc64/std_reg_imm.stdout.exp-LE
pc64/test_isa_2_06_part1.stdout.exp
pc64/test_isa_2_06_part1.stdout.exp-LE
pc64/test_isa_2_07_part1.c
pc64/test_isa_2_07_part2.c
pc64/test_isa_2_07_part2.stdout.exp
351949cc18c7a6c427aa21568028689903b7025b 04-Aug-2014 sewardj <sewardj@a5019735-40e9-0310-863c-91ae7b9d1cf9> Enable tests for: sq{r}dmulh (scalar vs elem, vector vs elem),
sqshl, uqshl, sqrshl, uqrshl (reg) (vector and scalar).


git-svn-id: svn://svn.valgrind.org/valgrind/trunk@14231 a5019735-40e9-0310-863c-91ae7b9d1cf9
rm64/fp_and_simd.c
abe2a22ef54810a7b1ed5764ad9b1bc3d86588e6 22-Jul-2014 sewardj <sewardj@a5019735-40e9-0310-863c-91ae7b9d1cf9> Enable test cases for:
{sqdmlal,sqdmlsl,sqdmull}{d_s_s[],s_h_h[]}
{sqdmlal,sqdmlsl,sqdmull}{d_s_s,s_h_h}
{sqdmlal,sqdmlsl,sqdmull}{2d_(2s_2s)/(4s_4s), 4s_(4h_4h)/(8h_8h)}
sqrdmulh 4s,2s,8h,4h (vector)


git-svn-id: svn://svn.valgrind.org/valgrind/trunk@14180 a5019735-40e9-0310-863c-91ae7b9d1cf9
rm64/fp_and_simd.c
8accb81cb14286f2d5ea1bbd75b7d7021c405f7e 21-Jul-2014 sewardj <sewardj@a5019735-40e9-0310-863c-91ae7b9d1cf9> Enable tests for: sqneg, {u,s}q{add,sub} (scalar),
{sqdmlal,sqdmlsl,sqdmull} (vector x element).


git-svn-id: svn://svn.valgrind.org/valgrind/trunk@14177 a5019735-40e9-0310-863c-91ae7b9d1cf9
rm64/fp_and_simd.c
1d19897b534ce0b1c762cdea2c9d06b8035a24ed 17-Jul-2014 mjw <mjw@a5019735-40e9-0310-863c-91ae7b9d1cf9> Omit frame pointer also for main in ppc ldst_multiple test.

Other functions already explicitly omitted the frame pointer. Also
do that for main to prevent gcc 4.8.2 complaining:

ldst_multiple.c: In function ‘main’:
ldst_multiple.c:180:5: error: frame pointer required, but reserved
int main(void)
^
ldst_multiple.c:31:18: note: for ‘r31’
register HWord_t r31 asm("r31");

git-svn-id: svn://svn.valgrind.org/valgrind/trunk@14173 a5019735-40e9-0310-863c-91ae7b9d1cf9
pc32/ldst_multiple.c
4c8da651fc3ea066b8edb5f879b2435f0c1ef3ac 15-Jul-2014 sewardj <sewardj@a5019735-40e9-0310-863c-91ae7b9d1cf9> add test cases for "LD1/ST1 (multiple 1-elem structs to/from 2 regs,
post index)" (16b only)


git-svn-id: svn://svn.valgrind.org/valgrind/trunk@14162 a5019735-40e9-0310-863c-91ae7b9d1cf9
rm64/integer.c
427b37662fbee774d39e557dfdcdbfa0dce3c57b 11-Jul-2014 sewardj <sewardj@a5019735-40e9-0310-863c-91ae7b9d1cf9> arm64: enable test cases for:
{sli,sri} (vector & scalar), sqabs (vector & scalar)



git-svn-id: svn://svn.valgrind.org/valgrind/trunk@14152 a5019735-40e9-0310-863c-91ae7b9d1cf9
rm64/fp_and_simd.c
b2cbddecbe82e15af8eda328f04ce7572224428e 10-Jul-2014 sewardj <sewardj@a5019735-40e9-0310-863c-91ae7b9d1cf9> Enable test cases for: shll #imm, shrn #imm, rshrn #imm,
{smlal,umlal,smlsl,umlsl,smull,umull} (elem)


git-svn-id: svn://svn.valgrind.org/valgrind/trunk@14148 a5019735-40e9-0310-863c-91ae7b9d1cf9
rm64/fp_and_simd.c
8908decae6e44b34893da768437fe80d5cc163d0 30-Jun-2014 sewardj <sewardj@a5019735-40e9-0310-863c-91ae7b9d1cf9> arm64:
Add support for checking FPSR.QC effects of each instruction.
Implement: sadalp uadalp saddlp uaddlp saddlv uaddlv saddw{2} uaddw{2}
ssubw{2} usubw{2} shadd uhadd shsub uhsub sqadd uqadd sqsub uqsub
smaxp umaxp sminp uminp



git-svn-id: svn://svn.valgrind.org/valgrind/trunk@14121 a5019735-40e9-0310-863c-91ae7b9d1cf9
rm64/fp_and_simd.c
8e701e183ddd32d699a036f5cf53b8c4d04bc532 28-Jun-2014 sewardj <sewardj@a5019735-40e9-0310-863c-91ae7b9d1cf9> Enable test cases for: sabal uabal sabdl uabdl saddl uaddl ssubl usubl
smlal umlal smlsl umlsl smull umull


git-svn-id: svn://svn.valgrind.org/valgrind/trunk@14119 a5019735-40e9-0310-863c-91ae7b9d1cf9
rm64/fp_and_simd.c
3cffc76ac3fda24239b0b2945c9b82b9454ca3d3 28-Jun-2014 bart <bart@a5019735-40e9-0310-863c-91ae7b9d1cf9> Make none/tests/filter_ioctl_moans executable

git-svn-id: svn://svn.valgrind.org/valgrind/trunk@14117 a5019735-40e9-0310-863c-91ae7b9d1cf9
ilter_ioctl_moans
d77a4ca487d41f26235601cbcd2af73d5f61cedb 28-Jun-2014 bart <bart@a5019735-40e9-0310-863c-91ae7b9d1cf9> Make moans about unknown ioctls more informative (#336772)

This is a slightly modified version of a patch from Ivo Raisr <ivosh@ivosh.net>.


git-svn-id: svn://svn.valgrind.org/valgrind/trunk@14116 a5019735-40e9-0310-863c-91ae7b9d1cf9
akefile.am
ilter_ioctl_moans
octl_moans.c
octl_moans.stderr.exp
octl_moans.vgtest
5d3b66983bac36e85bf97c24c77cc73bb1d633db 27-Jun-2014 sewardj <sewardj@a5019735-40e9-0310-863c-91ae7b9d1cf9> Enable test cases for: rev32, rev64, saba, uaba, sabd, uabd.


git-svn-id: svn://svn.valgrind.org/valgrind/trunk@14115 a5019735-40e9-0310-863c-91ae7b9d1cf9
rm64/fp_and_simd.c
a8f62d1101cfde181e5b377ee820fadcd5336135 26-Jun-2014 sewardj <sewardj@a5019735-40e9-0310-863c-91ae7b9d1cf9> arm64: add/enable testcases:
pmul, pmull, rbit, rev16,
LD1/ST1 (multiple 1-elem structs to/from 3 regs, no offset)
LD3/ST3 (multiple 3-elem structs to/from 3/regs, post index)


git-svn-id: svn://svn.valgrind.org/valgrind/trunk@14110 a5019735-40e9-0310-863c-91ae7b9d1cf9
rm64/fp_and_simd.c
rm64/integer.c
a6efdfaf009a61c5a09a053dd4ccfa8719ffd8d1 24-Jun-2014 bart <bart@a5019735-40e9-0310-863c-91ae7b9d1cf9> Rename --defaultsupp into --default-suppressions as requested by Julian

git-svn-id: svn://svn.valgrind.org/valgrind/trunk@14090 a5019735-40e9-0310-863c-91ae7b9d1cf9
mdline1.stdout.exp
mdline2.stdout.exp
94ef326ec9ce6a6f759785bcee4aa8f2aa7189f9 23-Jun-2014 sewardj <sewardj@a5019735-40e9-0310-863c-91ae7b9d1cf9> Enable more test cases:
ins (vec[], vec[])
mla, mls, mul (vec, vec, vec[])
various more movi/mvni cases
not 16b/8b



git-svn-id: svn://svn.valgrind.org/valgrind/trunk@14083 a5019735-40e9-0310-863c-91ae7b9d1cf9
rm64/fp_and_simd.c
73e9a01deb2957fe3f3cd9dd0fda77f389c3deb3 22-Jun-2014 bart <bart@a5019735-40e9-0310-863c-91ae7b9d1cf9> Make none/tests/cmdline[12] pass again

git-svn-id: svn://svn.valgrind.org/valgrind/trunk@14082 a5019735-40e9-0310-863c-91ae7b9d1cf9
mdline1.stdout.exp
mdline2.stdout.exp
946f019a196b4c3a3b7b104922a2167b0f5f1439 20-Jun-2014 sewardj <sewardj@a5019735-40e9-0310-863c-91ae7b9d1cf9> Enable/enhance test cases for: dup_{d_d[], s_s[], h_h[], b_b[]}, ext


git-svn-id: svn://svn.valgrind.org/valgrind/trunk@14054 a5019735-40e9-0310-863c-91ae7b9d1cf9
rm64/fp_and_simd.c
6599d5b38adf525ed126d4fd537cd3c4108ec1a8 19-Jun-2014 sewardj <sewardj@a5019735-40e9-0310-863c-91ae7b9d1cf9> Enable test cases for: orr_{8h,4h}_imm8_shifted,
orr_{4s,2s}_imm8_shifted, bic_{8h,4h}_imm8_shifted,
bic_{4s,2s}_imm8_shifted, cls_std6_std6, cm{eq,ge,gt,hi,hs,tst}_d_d_d,
cm{ge,gt,le,lt}_d_d_zero, cnt_{16,8}b_{16,8}b




git-svn-id: svn://svn.valgrind.org/valgrind/trunk@14052 a5019735-40e9-0310-863c-91ae7b9d1cf9
rm64/fp_and_simd.c
5e023e80942092a0fddf6120358e0f40627eebcf 15-Jun-2014 sewardj <sewardj@a5019735-40e9-0310-863c-91ae7b9d1cf9> Enable test cases for instructions implemented today.


git-svn-id: svn://svn.valgrind.org/valgrind/trunk@14042 a5019735-40e9-0310-863c-91ae7b9d1cf9
rm64/fp_and_simd.c
a0a73939b0398b6608fd6dbde49820ce6530d12c 15-Jun-2014 philippe <philippe@a5019735-40e9-0310-863c-91ae7b9d1cf9> This patch implements the support needed for stacktraces
showing inlined function calls.
See 278972 valgrind stacktraces and suppression do not handle inlined function call debuginfo

Reading the inlined dwarf call info is activated using the new clo
--read-inline-info=yes
Default is currently no but an objective is to optimise the performance
and memory in order to possibly set it on by default.
(see below discussion about performances).

Basically, the patch provides the following pieces:
1. Implement a new dwarf3 reader that reads the inlined call info
2. Some performance improvements done for this new parser, and
on some common code between the new parser and the var info parser.
3. Use the parsed inlined info to produce stacktrace showing inlined calls
4. Use the parsed inlined info in the suppression matching and suppression generation
5. and of course, some reg tests

1. new dwarf3 reader:
---------------------
Two options were possible: add the reading of the inlined info
in the current var info dwarf reader, or add a 2nd reader.
The 2nd approach was preferred, for the following reasons:
The var info reader is slow, memory hungry and quite complex.
Having a separate parsing phase for the inlined information
is simpler/faster when just reading the inlined info.
Possibly, a single parser would be faster when using both
--read-var-info=yes and --read-inline-info=yes.
However, var-info being extremely memory/cpu hungry, it is unlikely
to be used often, and having a separate parsing for inlined info
does in any case make not much difference.
(--read-var-info=yes is also now less interesting thanks to commit
r13991, which provides a fast and low memory "reasonable" location
for an address).

The inlined info parser reads the dwarf info to make calls
to priv_storage.h ML_(addInlInfo).

2. performance optimisations
----------------------------
* the abbrev cache has been improved in revision r14035.
* The new parser skips the non interesting DIEs
(the var-info parser has no logic to skip uninteresting DIEs).
* Some other minor perf optimisation here and there.
In total now, on a big executable, 15 seconds CPU are needed to
create the inlined info (on my slow x86 pentium).

With regards to memory, the dinfo arena:
with inlined info: 172281856/121085952 max/curr mmap'd
without : 157892608/106721280 max/curr mmap'd,
So, basically, inlined information costs about 15Mb of memory for
my big executable (compared to first version of the patch, this is
already using less memory, thanks to the strpool deduppoolalloc.
The needed memory can probably be decreased somewhat more.

3. produce better stack traces
------------------------------
VG_(describe_IP) has a new argument InlIPCursor *iipc which allows
to describe inlined function calls by doing repetitive calls
to describe_IP. See pub_tool_debuginfo.h for a description.

4. suppression generation and matching
--------------------------------------
* suppression generation now also uses an InlIPCursor *iipc
to generate a line for each inlined fn call.

* suppression matching: to allow suppression matching to
match one IP to several function calls in a suppression entry,
the 'inputCompleter' object (that allows to lazily generate
function or object names for a stacktrace when matching
an error with a suppression) has been generalised a little bit
more to also lazily generate the input sequence.
VG_(generic_match) has been updated so as to be more generic
with respect to the input completer : when providing an
input completer, VG_(generic_match) does not need anymore
to produce/compute any input itself : this is all delegated
to the input completer.

5. various regtests
-------------------
to test stack traces with inlined calls, and suppressions
of (some of) these errors using inlined fn calls matching.


Work still to do:
-----------------
* improve parsing performance
* improve the memory overhead.
* handling the directory name for files of the inlined function calls is not yet done.
(probably implies to refactor some code)
* see if m_errormgr.c *offsets arrays cannot be managed via xarray



git-svn-id: svn://svn.valgrind.org/valgrind/trunk@14036 a5019735-40e9-0310-863c-91ae7b9d1cf9
mdline1.stdout.exp
mdline2.stdout.exp
a9503363e54cedf27e2546fa95a911fa2f2a10a6 14-Jun-2014 sewardj <sewardj@a5019735-40e9-0310-863c-91ae7b9d1cf9> Add test cases for LD1R (single structure, replicate).


git-svn-id: svn://svn.valgrind.org/valgrind/trunk@14032 a5019735-40e9-0310-863c-91ae7b9d1cf9
rm64/integer.c
2333583985f39ebd90610e0bcdc149f18a0ea008 12-Jun-2014 florian <florian@a5019735-40e9-0310-863c-91ae7b9d1cf9> Fix the cleanup: line to avoid an error message in case the
file does not exist.


git-svn-id: svn://svn.valgrind.org/valgrind/trunk@14027 a5019735-40e9-0310-863c-91ae7b9d1cf9
equire-text-symbol-2.vgtest
9c33269fcac40e4a82ccc13ab7c845123c8e67af 12-Jun-2014 sewardj <sewardj@a5019735-40e9-0310-863c-91ae7b9d1cf9> Add test cases for FMUL 2d_2d_d[], 4s_4s_s[], 2s_2s_s[].


git-svn-id: svn://svn.valgrind.org/valgrind/trunk@14026 a5019735-40e9-0310-863c-91ae7b9d1cf9
rm64/fp_and_simd.c
770f5eac3e99d1e205f931f346ec3c8a9ae5aaa9 12-Jun-2014 sewardj <sewardj@a5019735-40e9-0310-863c-91ae7b9d1cf9> Add tests for movi_4s_#imm8,lsl8 and ushr_d_d_#imm.


git-svn-id: svn://svn.valgrind.org/valgrind/trunk@14025 a5019735-40e9-0310-863c-91ae7b9d1cf9
rm64/fp_and_simd.c
dce0698a84e8fd34dc8e69d99f263ace36d3765f 11-Jun-2014 sewardj <sewardj@a5019735-40e9-0310-863c-91ae7b9d1cf9> Enable test for movi_{16b,8b}_#imm8.


git-svn-id: svn://svn.valgrind.org/valgrind/trunk@14021 a5019735-40e9-0310-863c-91ae7b9d1cf9
rm64/fp_and_simd.c
eba9485e1d9d9ad77d328b278ba72e795551a312 04-Jun-2014 sewardj <sewardj@a5019735-40e9-0310-863c-91ae7b9d1cf9> Fix out-of-range constants for some 32 bit insns, presumably tolerated
by older assembler versions but not newer ones.


git-svn-id: svn://svn.valgrind.org/valgrind/trunk@13996 a5019735-40e9-0310-863c-91ae7b9d1cf9
rm64/integer.c
e1adb243a8480c3686e36787c1d6317279697946 04-Jun-2014 sewardj <sewardj@a5019735-40e9-0310-863c-91ae7b9d1cf9> Add test cases for ADC/ADCS/SBC/SBCS. Pertains to #335496.


git-svn-id: svn://svn.valgrind.org/valgrind/trunk@13995 a5019735-40e9-0310-863c-91ae7b9d1cf9
rm64/integer.c
dca0af65d750b515e18077871a91c7309aca1de9 04-Jun-2014 dejanj <dejanj@a5019735-40e9-0310-863c-91ae7b9d1cf9> mips64: Tests for Cavium MIPS Octeon Atomic and Count Instructions.

Tests for instructions:
baddu, pop, dpop, saa, saad, laa, laad, lai, laid, lad, ladd, law, lawd,
las, lasd, lac, lacd


git-svn-id: svn://svn.valgrind.org/valgrind/trunk@13994 a5019735-40e9-0310-863c-91ae7b9d1cf9
ips64/Makefile.am
ips64/cvm_atomic.c
ips64/cvm_atomic.stderr.exp
ips64/cvm_atomic.stdout.exp-LE
ips64/cvm_atomic.stdout.exp-non-octeon
ips64/cvm_atomic.vgtest
ips64/cvm_atomic_thread.c
ips64/cvm_atomic_thread.stderr.exp
ips64/cvm_atomic_thread.stdout.exp-LE
ips64/cvm_atomic_thread.stdout.exp-non-octeon
ips64/cvm_atomic_thread.vgtest
5ccbe759d6393fbe6bf9842c244b0b0208be6777 04-Jun-2014 sewardj <sewardj@a5019735-40e9-0310-863c-91ae7b9d1cf9> Make each test disable-able, and enable tests of instructions that are
currently supported.


git-svn-id: svn://svn.valgrind.org/valgrind/trunk@13993 a5019735-40e9-0310-863c-91ae7b9d1cf9
rm64/fp_and_simd.c
a2bf3898843dc00329b7e8fe93c201c1fbceb225 21-May-2014 sewardj <sewardj@a5019735-40e9-0310-863c-91ae7b9d1cf9> Add test cases for PCMPxSTRx cases 0x0E, 0x34, 0x14, and reformat some
of the associated switch statements. Pertains to #326469, #327639,
#328878 respectively.



git-svn-id: svn://svn.valgrind.org/valgrind/trunk@13986 a5019735-40e9-0310-863c-91ae7b9d1cf9
md64/pcmpstr64.c
md64/pcmpstr64.stdout.exp
md64/pcmpstr64w.c
d98cee7ccbaca68482f3aa3ec12da4b4412dda71 15-May-2014 sewardj <sewardj@a5019735-40e9-0310-863c-91ae7b9d1cf9> Add more test cases: trn1, trn2, uzp1, uzp2, zip1, zip2, urecpe, ursqrte.
This completes the test cases for the SIMD integer instructions.



git-svn-id: svn://svn.valgrind.org/valgrind/trunk@13970 a5019735-40e9-0310-863c-91ae7b9d1cf9
rm64/fp_and_simd.c
2148803c9ffb697e9c434ea58b90653d0ec133a6 15-May-2014 sewardj <sewardj@a5019735-40e9-0310-863c-91ae7b9d1cf9> Add more test cases: sqrshrn, uqrshrn, sqshrn, uqshrn, sqrshrun,
sqshrun, sqshl, uqshl, sqshlu, sqxtn, uqxtn, sqxtun, srhadd, urhadd,
sshl, ushl, shl, sshr, ushr, ssra, usra, srshl, urshl, srshr, urshr,
srsra, ursra, suqadd, usqadd.



git-svn-id: svn://svn.valgrind.org/valgrind/trunk@13969 a5019735-40e9-0310-863c-91ae7b9d1cf9
rm64/fp_and_simd.c
e50a5cc9ee293d0929267a390133af4a56347d1d 15-May-2014 sewardj <sewardj@a5019735-40e9-0310-863c-91ae7b9d1cf9> Add more test cases: sqdmulh, sqrdmulh, sqshl, uqshl, sqrshl, uqrshl,
sqrshrn, uqrshrn, sqshrn, uqshrn, sqrshrun, sqshrun.


git-svn-id: svn://svn.valgrind.org/valgrind/trunk@13968 a5019735-40e9-0310-863c-91ae7b9d1cf9
rm64/fp_and_simd.c
36283438254ebcfe02e81a502c8fb733398cbc28 15-May-2014 sewardj <sewardj@a5019735-40e9-0310-863c-91ae7b9d1cf9> Add tests for VFPv4 VFMA/VMFS. Pertains to #331057.


git-svn-id: svn://svn.valgrind.org/valgrind/trunk@13967 a5019735-40e9-0310-863c-91ae7b9d1cf9
rm/Makefile.am
rm/vfpv4_fma.c
rm/vfpv4_fma.stderr.exp
rm/vfpv4_fma.stdout.exp
rm/vfpv4_fma.vgtest
2fd06ef70b52d017d72890ad09d9c25a9c1c9663 13-May-2014 sewardj <sewardj@a5019735-40e9-0310-863c-91ae7b9d1cf9> Followup to r13958: add reg-trash lists to inline assembly in
TESTINSTPCMISALIGNED TESTINSTPCMISALIGNED_DWORDOUT
TESTINSTPCMISALIGNED_2OUT and nice up the the indentation a bit.



git-svn-id: svn://svn.valgrind.org/valgrind/trunk@13960 a5019735-40e9-0310-863c-91ae7b9d1cf9
rm/v6intThumb.c
6c25068ce052485bece5aa3466c38bb64c1ef28c 13-May-2014 sewardj <sewardj@a5019735-40e9-0310-863c-91ae7b9d1cf9> Thumb encoding: add test case for assertion failure caused by
"ldr.w pc, [reg, #imm]". See #333428. (dimitry@google.com)



git-svn-id: svn://svn.valgrind.org/valgrind/trunk@13959 a5019735-40e9-0310-863c-91ae7b9d1cf9
rm/v6intThumb.c
rm/v6intThumb.stdout.exp
2f3968d3dd6fb3d74a27f3a8077fc9f8da6d1a51 13-May-2014 sewardj <sewardj@a5019735-40e9-0310-863c-91ae7b9d1cf9> Thumb encoding: add test cases for misaligned loads of the form
LD Rt, [Rn +/- #imm12] when Rn == PC
See #333145. (dimitry@google.com)



git-svn-id: svn://svn.valgrind.org/valgrind/trunk@13958 a5019735-40e9-0310-863c-91ae7b9d1cf9
rm/v6intThumb.c
rm/v6intThumb.stdout.exp
d8999c5f9829c0c464f9ceaa864769c8906272b4 13-May-2014 sewardj <sewardj@a5019735-40e9-0310-863c-91ae7b9d1cf9> Add more test cases: shll, shrn, rshrn, sli, sri, smaxp, umaxp, sminp,
uminp, smlal, umlal, smlsl, umlsl, smull, umull, sqabs, sqneg, sqadd,
uqadd, sqsub, uqsub, sqdmlal, sqdmlsl, sqdmull, sqrdmulh.



git-svn-id: svn://svn.valgrind.org/valgrind/trunk@13956 a5019735-40e9-0310-863c-91ae7b9d1cf9
rm64/fp_and_simd.c
20bafc2f4fcf44aac619684078ea4db53af75513 09-May-2014 mjw <mjw@a5019735-40e9-0310-863c-91ae7b9d1cf9> Add test for MPX instructions and bnd prefix. Bug #333666.

git-svn-id: svn://svn.valgrind.org/valgrind/trunk@13948 a5019735-40e9-0310-863c-91ae7b9d1cf9
md64/Makefile.am
md64/mpx.c
md64/mpx.stderr.exp
md64/mpx.stdout.exp
md64/mpx.vgtest
38823bce67c71b8f5af2c41a9744ca201e53bbb9 09-May-2014 sewardj <sewardj@a5019735-40e9-0310-863c-91ae7b9d1cf9> Add more test cases: mul, mvni, not, pmul, pmull, rbit, rev16/32/64,
saba, uaba, sabal, uabal, sabd, uabd, sabdl, uabdl, sadalp, uadalp,
saddl, uaddl, ssubl, usubl, saddlp, uaddlp, saddlv, uaddlv, saddw,
uaddw, ssubw, usubw, shadd, uhadd, shsub, uhsub.



git-svn-id: svn://svn.valgrind.org/valgrind/trunk@13946 a5019735-40e9-0310-863c-91ae7b9d1cf9
rm64/fp_and_simd.c
bcbfa985e861e1919b80fc75201d414327dee93e 09-May-2014 sewardj <sewardj@a5019735-40e9-0310-863c-91ae7b9d1cf9> Add more test cases: ext, ins, mla, mls, movi.


git-svn-id: svn://svn.valgrind.org/valgrind/trunk@13945 a5019735-40e9-0310-863c-91ae7b9d1cf9
rm64/fp_and_simd.c
3a3758bb9e9e63ec947e48539bc22e68c31bf7a5 07-May-2014 sewardj <sewardj@a5019735-40e9-0310-863c-91ae7b9d1cf9> Enable test cases for SMULH.


git-svn-id: svn://svn.valgrind.org/valgrind/trunk@13940 a5019735-40e9-0310-863c-91ae7b9d1cf9
rm64/integer.c
f3ea0d58c82358fe8f5eba1e8770c1f7b2e97b8d 06-May-2014 sewardj <sewardj@a5019735-40e9-0310-863c-91ae7b9d1cf9> Fill in some SIMD integer test cases.


git-svn-id: svn://svn.valgrind.org/valgrind/trunk@13937 a5019735-40e9-0310-863c-91ae7b9d1cf9
rm64/fp_and_simd.c
192c6924845581c005533a3ddb6ec107b321e64d 06-May-2014 sewardj <sewardj@a5019735-40e9-0310-863c-91ae7b9d1cf9> Big reorganisation:

* add lane type descriptors, to be used by the random data
generators -- as-yet unused

* move existing tests into new groupings, and rename some of
them to be more consistent with the new notation.



git-svn-id: svn://svn.valgrind.org/valgrind/trunk@13936 a5019735-40e9-0310-863c-91ae7b9d1cf9
rm64/fp_and_simd.c
7cbc4e1ead740427d7a2b9e8d685680ddd1252dd 05-May-2014 sewardj <sewardj@a5019735-40e9-0310-863c-91ae7b9d1cf9> Rename these two test files to make their names a bit less cumbersome.


git-svn-id: svn://svn.valgrind.org/valgrind/trunk@13935 a5019735-40e9-0310-863c-91ae7b9d1cf9
rm64/fp_and_simd.c
rm64/integer.c
rm64/test_arm64_fp_and_simd.c
rm64/test_arm64_int.c
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
md64/Makefile.am
md64/x87trigOOR.c
md64/x87trigOOR.stderr.exp
md64/x87trigOOR.stdout.exp
md64/x87trigOOR.vgtest
86/Makefile.am
86/x87trigOOR.c
86/x87trigOOR.stderr.exp
86/x87trigOOR.stdout.exp
86/x87trigOOR.vgtest
8edd625fa3f59c6ace6e8a83bc49de33b957b747 29-Apr-2014 sewardj <sewardj@a5019735-40e9-0310-863c-91ae7b9d1cf9> Add a list of all the FP+SIMD insns, as a base from which to
generate test cases.


git-svn-id: svn://svn.valgrind.org/valgrind/trunk@13918 a5019735-40e9-0310-863c-91ae7b9d1cf9
rm64/test_arm64_fp_and_simd.c
7c58a4277b993cc083086277a3a898ed9e7a6da1 27-Apr-2014 sewardj <sewardj@a5019735-40e9-0310-863c-91ae7b9d1cf9> Finish off and/or re-enable test cases for: vector integer comparison
instructions, and vector shift-by-immediates (Shr/Shl/Sar)
instructions.


git-svn-id: svn://svn.valgrind.org/valgrind/trunk@13917 a5019735-40e9-0310-863c-91ae7b9d1cf9
rm64/test_arm64_fp_and_simd.c
e4d78123089e55bec64a4f848bdc09556192e259 20-Apr-2014 philippe <philippe@a5019735-40e9-0310-863c-91ae7b9d1cf9> * New option --aspace-minaddr=<address> allows to (possibly) make
use of some more memory by decreasing the default value
or solve some conflicts with system libraries by increasing the value.
See user manual for details.

Note that the lowest accepted possible value is 0x1000, which is
the current value used by Macos in 32bits.
On linux, 0x10000 (64KB) seems to cause not much conflicts.

Default values are unchanged (i.e. are the same as when there
was no clo option).



git-svn-id: svn://svn.valgrind.org/valgrind/trunk@13901 a5019735-40e9-0310-863c-91ae7b9d1cf9
mdline1.stdout.exp
mdline2.stdout.exp
180a7500bf2464d5b16cddb5618b91fb3f095998 20-Apr-2014 philippe <philippe@a5019735-40e9-0310-863c-91ae7b9d1cf9> - The option "--vgdb-stop-at=event1,event2,..." allows the user
to ask GDB server to stop before program execution, at the end
of the program execution and on Valgrind internal errors.

- A new monitor command "v.set hostvisibility" that allows GDB server
to provide access to Valgrind internal host status/memory.



git-svn-id: svn://svn.valgrind.org/valgrind/trunk@13900 a5019735-40e9-0310-863c-91ae7b9d1cf9
mdline1.stdout.exp
mdline2.stdout.exp
05f364138d73e533373cfa8846c57f82e9349187 11-Apr-2014 dejanj <dejanj@a5019735-40e9-0310-863c-91ae7b9d1cf9> mips32: According to the glibc bug 5044 (https://sourceware.org/bugzilla/show_bug.cgi?id=5044)
until the glibc version 2.17 printf hadn't respected the rounding mode for decimal
output. Because of change in glibc printf function we need to change our
expected output file for none/tests/mips32/FPUarithmetic test.


git-svn-id: svn://svn.valgrind.org/valgrind/trunk@13894 a5019735-40e9-0310-863c-91ae7b9d1cf9
ips32/FPUarithmetic.stdout.exp
ips32/FPUarithmetic.stdout.exp-mips32
85e5990f0bb41ecc092c2e9f8a796ffb0c1d8a04 04-Apr-2014 sewardj <sewardj@a5019735-40e9-0310-863c-91ae7b9d1cf9> Add tests for some variants of LD{1,2}/ST{1,2} that load or
store two registers.



git-svn-id: svn://svn.valgrind.org/valgrind/trunk@13889 a5019735-40e9-0310-863c-91ae7b9d1cf9
rm64/test_arm64_int.c
1092f1902bc2f6500ec85e44e868e34d7cc8b513 04-Apr-2014 sewardj <sewardj@a5019735-40e9-0310-863c-91ae7b9d1cf9> Add tests for FCMEQ, FCMGE, FCMGT, FACGE, FACGT
(reg-vs-reg variants only)

Add tests for all TBL and TBX variants.



git-svn-id: svn://svn.valgrind.org/valgrind/trunk@13888 a5019735-40e9-0310-863c-91ae7b9d1cf9
rm64/test_arm64_fp_and_simd.c
01213b3acefe13d5cfe4346a661327dfa8adf8df 07-Mar-2014 sewardj <sewardj@a5019735-40e9-0310-863c-91ae7b9d1cf9> More test cases:
xtn,xtn2
ushr 8h, 8h, #imm



git-svn-id: svn://svn.valgrind.org/valgrind/trunk@13856 a5019735-40e9-0310-863c-91ae7b9d1cf9
rm64/test_arm64_fp_and_simd.c
d5c26f9366206786181a08cb7812f2527b302107 03-Mar-2014 sewardj <sewardj@a5019735-40e9-0310-863c-91ae7b9d1cf9> Add comprehensive testing for almost all supported load/store instructions.


git-svn-id: svn://svn.valgrind.org/valgrind/trunk@13850 a5019735-40e9-0310-863c-91ae7b9d1cf9
rm64/test_arm64_int.c
d89499b7d5593edda4909b9af4d5402210be2ea9 02-Mar-2014 sewardj <sewardj@a5019735-40e9-0310-863c-91ae7b9d1cf9> Add many test cases from arm64.


git-svn-id: svn://svn.valgrind.org/valgrind/trunk@13848 a5019735-40e9-0310-863c-91ae7b9d1cf9
rm64/test_arm64_fp_and_simd.c
rm64/test_arm64_int.c
036c8a46d3b9c05c731e95467bca90ad5e84404f 01-Mar-2014 sewardj <sewardj@a5019735-40e9-0310-863c-91ae7b9d1cf9> Update; document missing test cases.


git-svn-id: svn://svn.valgrind.org/valgrind/trunk@13847 a5019735-40e9-0310-863c-91ae7b9d1cf9
rm64/test_arm64_int.c
94f53cb303f5b9e4e24ee406a756c5a8d289ca22 01-Mar-2014 sewardj <sewardj@a5019735-40e9-0310-863c-91ae7b9d1cf9> Add test cases for SIMD and FP instructions.


git-svn-id: svn://svn.valgrind.org/valgrind/trunk@13846 a5019735-40e9-0310-863c-91ae7b9d1cf9
rm64/test_arm64_fp_and_simd.c
b1a628dc4dbe8eff297a669df28bce612d87d23e 01-Mar-2014 sewardj <sewardj@a5019735-40e9-0310-863c-91ae7b9d1cf9> Fixes form arm64-linux.


git-svn-id: svn://svn.valgrind.org/valgrind/trunk@13844 a5019735-40e9-0310-863c-91ae7b9d1cf9
llexec_prepare_prereq
aultstatus.c
df2220257f9a2d810ccf6054bca0ed25852aded7 25-Feb-2014 dejanj <dejanj@a5019735-40e9-0310-863c-91ae7b9d1cf9> mips32: Add tests for mips32 floating point compare instructions.

Tests that are testing mips instructions c.cond.s and c.cond.d have been added in none/tests/mips32.


git-svn-id: svn://svn.valgrind.org/valgrind/trunk@13839 a5019735-40e9-0310-863c-91ae7b9d1cf9
ips32/Makefile.am
ips32/fpu_branches.c
ips32/fpu_branches.stderr.exp
ips32/fpu_branches.stdout.exp
ips32/fpu_branches.vgtest
24f0c3a8f6ec94f3f374c41aae7ce3a3363300db 19-Feb-2014 dejanj <dejanj@a5019735-40e9-0310-863c-91ae7b9d1cf9> mips32: Support for 64bit FPU on MIPS32 platforms.

Tests for 64bit FPU instructions on MIPS32 platforms.
Some mips instructions can cause SIGILL (Illegal instruction),
so we need to add SIGILL signal and a proper handler for that signal.


git-svn-id: svn://svn.valgrind.org/valgrind/trunk@13817 a5019735-40e9-0310-863c-91ae7b9d1cf9
ips32/Makefile.am
ips32/MoveIns.c
ips32/round.c
ips32/round.stdout.exp
ips32/round_fpu64.c
ips32/round_fpu64.stderr.exp
ips32/round_fpu64.stdout.exp
ips32/round_fpu64.stdout.exp-fpu32
ips32/round_fpu64.vgtest
ips32/test_fcsr.c
ips32/vfp.c
77a66310e3dd4e8fdbf671e7a46e02330031eaab 17-Feb-2014 tom <tom@a5019735-40e9-0310-863c-91ae7b9d1cf9> Use pclose instead of fclose to close pipes opened with popen, which
also allows us to drop the loop that was supposed to give the child a
chance to exit as the pclose will wait properly for the child.

Fix from Ivo Raisr on BZ#331255


git-svn-id: svn://svn.valgrind.org/valgrind/trunk@13813 a5019735-40e9-0310-863c-91ae7b9d1cf9
oolo_sigaction.cpp
09c6ed81d0ec2378263ae37c229baefa7f7f319c 17-Feb-2014 tom <tom@a5019735-40e9-0310-863c-91ae7b9d1cf9> Use sigjmp_buf with sig{set,long}jmp, not jmp_buf

Patch from Ivo Raisr on BZ#331257


git-svn-id: svn://svn.valgrind.org/valgrind/trunk@13812 a5019735-40e9-0310-863c-91ae7b9d1cf9
aultstatus.c
83765917c08539175cb4460e8380cd733d0bdb55 15-Feb-2014 petarj <petarj@a5019735-40e9-0310-863c-91ae7b9d1cf9> mips64: add missing file to EXTRA_DIST

Add missing cvm_lx_ins.stdout.exp-BE to EXTRA_DIST.


git-svn-id: svn://svn.valgrind.org/valgrind/trunk@13811 a5019735-40e9-0310-863c-91ae7b9d1cf9
ips64/Makefile.am
89981ae6c4fd0989e81d8a83dd42f8b6896c465d 14-Feb-2014 petarj <petarj@a5019735-40e9-0310-863c-91ae7b9d1cf9> mips64: correct mistyped test name

Minor name changed in .vgtest file.


git-svn-id: svn://svn.valgrind.org/valgrind/trunk@13809 a5019735-40e9-0310-863c-91ae7b9d1cf9
ips64/load_indexed_instructions.vgtest
77b1986651ed106b1140537444e006d911e3d649 14-Feb-2014 petarj <petarj@a5019735-40e9-0310-863c-91ae7b9d1cf9> mips64: add tests for load indexed instructions

Tests that should be executed on MIPS64 platforms that support lwx, ldx
and lbux.

Relevant VEX change - r2819.

Patch by Zahid Anwar, with some changes.

Related to Bugzilla issue 326444. It closes this issue now.


git-svn-id: svn://svn.valgrind.org/valgrind/trunk@13808 a5019735-40e9-0310-863c-91ae7b9d1cf9
ips64/Makefile.am
ips64/load_indexed_instructions.c
ips64/load_indexed_instructions.stderr.exp
ips64/load_indexed_instructions.stdout.exp-BE
ips64/load_indexed_instructions.stdout.exp-LE
ips64/load_indexed_instructions.stdout.exp-non-octeon
ips64/load_indexed_instructions.vgtest
0b75059a979c177db8af73d9e48f62856d9b61f8 13-Feb-2014 petarj <petarj@a5019735-40e9-0310-863c-91ae7b9d1cf9> mips64: Add BE version of cvm_lx_ins.stdout.exp

Read-memory tests are endian sensitive.
Add BE version of cvm_lx_ins.stdout.exp that has been tested on
Cavium Octeon II in BE mode.

Related to Bugzilla issue 326444.


git-svn-id: svn://svn.valgrind.org/valgrind/trunk@13805 a5019735-40e9-0310-863c-91ae7b9d1cf9
ips64/cvm_lx_ins.stdout.exp-BE
a1b78a80e65383a9575ba5ea1c405ef9fe9f1238 08-Feb-2014 carll <carll@a5019735-40e9-0310-863c-91ae7b9d1cf9> This commit is a fix for "Bug 330622 - Add test to regression suite for POWER
instruction: dcbzl" submitted by Anmol P. Paralkar <paralkar@freescale.com>

The patch adds the following files:

none/tests/ppc64/data-cache-instructions.vgtest
none/tests/ppc64/data-cache-instructions.c
none/tests/ppc64/data-cache-instructions.stdout.exp
none/tests/ppc64/data-cache-instructions.stderr.exp
none/tests/ppc32/data-cache-instructions.stdout.exp
none/tests/ppc32/data-cache-instructions.c
none/tests/ppc32/data-cache-instructions.vgtest
none/tests/ppc32/data-cache-instructions.stderr.exp
tests/power_insn_available.c


The following files are modified:

none/tests/ppc32/Makefile.am
none/tests/ppc64/Makefile.am
tests/Makefile.am





git-svn-id: svn://svn.valgrind.org/valgrind/trunk@13791 a5019735-40e9-0310-863c-91ae7b9d1cf9
pc32/Makefile.am
pc32/data-cache-instructions.c
pc32/data-cache-instructions.stderr.exp
pc32/data-cache-instructions.stdout.exp
pc32/data-cache-instructions.vgtest
pc64/Makefile.am
pc64/data-cache-instructions.c
pc64/data-cache-instructions.stderr.exp
pc64/data-cache-instructions.stdout.exp
pc64/data-cache-instructions.vgtest
6228e11834d345c4bf6e1929e9dc6aa7f900a50a 31-Jan-2014 petarj <petarj@a5019735-40e9-0310-863c-91ae7b9d1cf9> mips64: Add tests that cover Cavium-specific load indexed instructions

Tests for lhux, lwux, and lbx for Cavium Octeon II.

Patch by Zahid Anwar, with changes.

Related to Bugzilla issue 326444.



git-svn-id: svn://svn.valgrind.org/valgrind/trunk@13786 a5019735-40e9-0310-863c-91ae7b9d1cf9
ips64/Makefile.am
ips64/cvm_ins.c
ips64/cvm_ins.stdout.exp-non-octeon
ips64/cvm_lx_ins.c
ips64/cvm_lx_ins.stderr.exp
ips64/cvm_lx_ins.stdout.exp-LE
ips64/cvm_lx_ins.stdout.exp-non-octeon
ips64/cvm_lx_ins.vgtest
fec95c8f1c079b1525e5a22b0cf51bcd1a00366d 24-Jan-2014 carll <carll@a5019735-40e9-0310-863c-91ae7b9d1cf9> This patch by adrian.sendroiu@freescale.com fixes the lrmw and stmw
instructions.

The patch also adds ppc32 and ppc64 test cases for the instructions.

The patch is a fix for bugzilla 329956 "valgrind crashes when lmw/stmw instructions are used on ppc64".

The VEX code commit is 2802




git-svn-id: svn://svn.valgrind.org/valgrind/trunk@13780 a5019735-40e9-0310-863c-91ae7b9d1cf9
pc32/Makefile.am
pc32/ldst_multiple.c
pc32/ldst_multiple.stderr.exp
pc32/ldst_multiple.stdout.exp
pc32/ldst_multiple.vgtest
pc64/Makefile.am
pc64/ldst_multiple.c
pc64/ldst_multiple.stderr.exp
pc64/ldst_multiple.stdout.exp
pc64/ldst_multiple.vgtest
04332ce148a7d168815e8bbaeb06d9310ef64004 12-Jan-2014 sewardj <sewardj@a5019735-40e9-0310-863c-91ae7b9d1cf9> Add test cases for AArch64 integer instructions (not wired up).


git-svn-id: svn://svn.valgrind.org/valgrind/trunk@13771 a5019735-40e9-0310-863c-91ae7b9d1cf9
rm64/test_arm64_int.c
c23d4f7a481fc8f081018a6acd32df7255d8dcba 10-Dec-2013 mjw <mjw@a5019735-40e9-0310-863c-91ae7b9d1cf9> Add testcase for bug 328100 XABORT not implemented (VEX r2800).

git-svn-id: svn://svn.valgrind.org/valgrind/trunk@13754 a5019735-40e9-0310-863c-91ae7b9d1cf9
md64/tm1.c
md64/tm1.stdout.exp
34ff174f3cef6e6058385c0a404572d5e8e5c67c 05-Dec-2013 dejanj <dejanj@a5019735-40e9-0310-863c-91ae7b9d1cf9> mips32: Fix typo.

Fix some typo error and some errors in tests that was discovered while running Valgrind on MIPS/Android.
In some cases initial FCSR value wasn't being set properly.


git-svn-id: svn://svn.valgrind.org/valgrind/trunk@13746 a5019735-40e9-0310-863c-91ae7b9d1cf9
llexec.c
ips32/FPUarithmetic.c
ips32/FPUarithmetic.stdout.exp
ips32/FPUarithmetic.stdout.exp-mips32
ips32/LoadStore.c
ips32/MemCpyTest.c
ips32/MoveIns.c
ips32/MoveIns.stdout.exp
ips32/MoveIns.stdout.exp-BE
ips32/SignalException.c
ips32/branches.c
ips32/round.c
ips32/vfp.c
1b9c249b2be7ef0def5ccb50e5bc2417f5f29ce8 14-Nov-2013 dejanj <dejanj@a5019735-40e9-0310-863c-91ae7b9d1cf9> mips32/64: Test case for VEX r2799.


git-svn-id: svn://svn.valgrind.org/valgrind/trunk@13713 a5019735-40e9-0310-863c-91ae7b9d1cf9
ips32/Makefile.am
ips32/test_math.cpp
ips32/test_math.stderr.exp
ips32/test_math.stdout.exp
ips32/test_math.vgtest
ips64/Makefile.am
ips64/test_math.cpp
ips64/test_math.stderr.exp
ips64/test_math.stdout.exp
ips64/test_math.vgtest
2f3d11743e5757e287a11921c6498b835e0df4d7 08-Nov-2013 cborntra <cborntra@a5019735-40e9-0310-863c-91ae7b9d1cf9> add testcase for the rotate and (insert/or/and/xor) family of
instructions.


git-svn-id: svn://svn.valgrind.org/valgrind/trunk@13711 a5019735-40e9-0310-863c-91ae7b9d1cf9
390x/Makefile.am
390x/rxsbg.c
390x/rxsbg.stderr.exp
390x/rxsbg.stdout.exp
390x/rxsbg.vgtest
b7e874977348549b1a10f2ee1e99513e4f6cdb73 01-Nov-2013 tom <tom@a5019735-40e9-0310-863c-91ae7b9d1cf9> Clear direction flag after tests on amd64. BZ#326983.


git-svn-id: svn://svn.valgrind.org/valgrind/trunk@13709 a5019735-40e9-0310-863c-91ae7b9d1cf9
md64/gen_insn_test.pl
0207b47ccc0ef931c02d0f7e6651db7476045918 27-Oct-2013 petarj <petarj@a5019735-40e9-0310-863c-91ae7b9d1cf9> mips64: add missing headers to EXTRA_DIST

make dist will not copy header files if they are not explicitly listed
in EXTRA_DIST. This change adds missing header files from none/test/mips64.


git-svn-id: svn://svn.valgrind.org/valgrind/trunk@13701 a5019735-40e9-0310-863c-91ae7b9d1cf9
ips64/Makefile.am
86e41825df7c3f90119b3ffcd9308d17492b7113 23-Oct-2013 dejanj <dejanj@a5019735-40e9-0310-863c-91ae7b9d1cf9> mips32: Change the tests values so that the result is
the same on all mips32 platforms. Add extra cases in
vbit-test for mips32.


git-svn-id: svn://svn.valgrind.org/valgrind/trunk@13687 a5019735-40e9-0310-863c-91ae7b9d1cf9
ips32/Makefile.am
ips32/mips32_dsp.c
ips32/mips32_dsp.stdout.exp
ips32/mips32_dsp.stdout.exp-BE
ips32/mips32_dsp.stdout.exp-LE
ips32/mips32_dspr2.c
ips32/mips32_dspr2.stdout.exp
8cdb10b82b05862bb4a1c7925fcaacffef15aa2f 23-Oct-2013 dejanj <dejanj@a5019735-40e9-0310-863c-91ae7b9d1cf9> mips32: Delete unused empty files.


git-svn-id: svn://svn.valgrind.org/valgrind/trunk@13685 a5019735-40e9-0310-863c-91ae7b9d1cf9
ips32/Makefile.am
ips32/mips32_dsp.stdout.exp-mips32
ips32/mips32_dspr2.stdout.exp-mips32
0f157ddb404bcde7815a1c5bf2d7e41c114f3d73 18-Oct-2013 sewardj <sewardj@a5019735-40e9-0310-863c-91ae7b9d1cf9> Update copyright dates (20XY-2012 ==> 20XY-2013)


git-svn-id: svn://svn.valgrind.org/valgrind/trunk@13658 a5019735-40e9-0310-863c-91ae7b9d1cf9
mdline1.stdout.exp
mdline2.stdout.exp
49984eadbda78d8edea43f7839f4651a04ca419a 18-Oct-2013 sewardj <sewardj@a5019735-40e9-0310-863c-91ae7b9d1cf9> arm-linux only: make unwinding by stack scanning (a nasty hack)
be controllable from the command line. Fixes (kind of) #289578.


git-svn-id: svn://svn.valgrind.org/valgrind/trunk@13657 a5019735-40e9-0310-863c-91ae7b9d1cf9
mdline1.stdout.exp
mdline2.stdout.exp
a11ec17946cdbafb336e9121b64961c0633af2e7 18-Oct-2013 sewardj <sewardj@a5019735-40e9-0310-863c-91ae7b9d1cf9> Followup to r13652 (make the translation cache size be command-line
controllable): reduce MAX_N_SECTORS to 24, speed up Sector
initialisation, wording tweaks.



git-svn-id: svn://svn.valgrind.org/valgrind/trunk@13655 a5019735-40e9-0310-863c-91ae7b9d1cf9
mdline1.stdout.exp
mdline2.stdout.exp
473d0ba7d2a41cc0776b7d2f6a23b9cef55919e4 18-Oct-2013 sewardj <sewardj@a5019735-40e9-0310-863c-91ae7b9d1cf9> Add test cases for PCMPxSTRx cases 0x30 and 0x40. Pertains to #320998.


git-svn-id: svn://svn.valgrind.org/valgrind/trunk@13654 a5019735-40e9-0310-863c-91ae7b9d1cf9
md64/pcmpstr64.c
md64/pcmpstr64.stdout.exp
e6bd3e49c6f37b871974c3b5212476f1eed3fb77 18-Oct-2013 carll <carll@a5019735-40e9-0310-863c-91ae7b9d1cf9> This commit adds testing support for the following instructions:
vaddcuq, vadduqm, vaddecuq, vaddeuqm,
vsubcuq, vsubuqm, vsubecuq, vsubeuqm,
vbpermq and vgbbd.

The completes adding the Power ISA 2.07 support.

Bugzilla 325816

VEX commit id 2790


git-svn-id: svn://svn.valgrind.org/valgrind/trunk@13653 a5019735-40e9-0310-863c-91ae7b9d1cf9
pc32/jm_vec_isa_2_07.stdout.exp
pc64/jm_vec_isa_2_07.stdout.exp
pc64/test_isa_2_07_part1.c
8e1bee406c191820bc3b22bf55cfa69ef5fdcd8b 18-Oct-2013 philippe <philippe@a5019735-40e9-0310-863c-91ae7b9d1cf9> Allow the user to dimension the translation cache
A previous commit had decreased to 6 (on android) and increased to 16
(other platforms) the nr of sectors in the translation cache.
This patch adds a command line option to let the user specify
the nr of sectors as e.g. 16 sectors might be a lot and cause
an out of memory for some workloads or might be too small for
huge executable or executables using a lot of shared libs.



git-svn-id: svn://svn.valgrind.org/valgrind/trunk@13652 a5019735-40e9-0310-863c-91ae7b9d1cf9
mdline1.stdout.exp
mdline2.stdout.exp
9ea080b4e81435b6f08b38a89769dbe9c13fc433 16-Oct-2013 sewardj <sewardj@a5019735-40e9-0310-863c-91ae7b9d1cf9> Connect up the xacq_xrel test to the build system. Also, make the
TSX configure test check for that the assembler can deal with
xacquire and xrelease prefixes.


git-svn-id: svn://svn.valgrind.org/valgrind/trunk@13649 a5019735-40e9-0310-863c-91ae7b9d1cf9
md64/Makefile.am
md64/xacq_xrel.c
md64/xacq_xrel.stderr.exp
md64/xacq_xrel.stdout.exp
md64/xacq_xrel.vgtest
262330fd8ba35b65c7dc6029fb4d90ad7d682036 15-Oct-2013 cborntra <cborntra@a5019735-40e9-0310-863c-91ae7b9d1cf9> remove old broken testcase for s390


git-svn-id: svn://svn.valgrind.org/valgrind/trunk@13647 a5019735-40e9-0310-863c-91ae7b9d1cf9
390x/Makefile.am
390x/test_clone.c
390x/test_clone.stderr.exp
390x/test_clone.stdout.exp
390x/test_clone.vgtest
24e40de8f2127d70117ed9af3bc4474cbc29cb8a 15-Oct-2013 carll <carll@a5019735-40e9-0310-863c-91ae7b9d1cf9> Power 8 support, phase 5

This commit adds the testcases for the following instructions:

vpmsumb, vpmsumh, vpmsumw, vpmsumd, vpermxor, vcipher, vcipherlast,
vncipher, vncipherlast, vsbox,
vclzb, vclzw, vclzh, vclzd,
vpopcntb, vpopcnth, vpopcntw, vpopcntd,
vnand, vorc, veqv,
vshasigmaw, vshasigmad,
bcdadd, bcdsub

The VEX commit that added the support for the above instructions was
commit 2789.

The patch is for Bugzilla 325628


git-svn-id: svn://svn.valgrind.org/valgrind/trunk@13646 a5019735-40e9-0310-863c-91ae7b9d1cf9
pc32/jm_vec_isa_2_07.stdout.exp
pc64/jm_vec_isa_2_07.stdout.exp
pc64/test_isa_2_07_part1.c
dfe3bd5db0828f5a24923d49cbce13efaed6a160 15-Oct-2013 sewardj <sewardj@a5019735-40e9-0310-863c-91ae7b9d1cf9> A minimal test case for the parsing of XACQUIRE and XRELEASE prefixes.


git-svn-id: svn://svn.valgrind.org/valgrind/trunk@13645 a5019735-40e9-0310-863c-91ae7b9d1cf9
md64/xacq_xrel.c
b2db2783d7c77676220b7729d8f8c685e28b03fc 11-Oct-2013 dejanj <dejanj@a5019735-40e9-0310-863c-91ae7b9d1cf9> mips64: Prevent testing swc1 and swxc1 with the uninitialized memory values on
big endian platrofms.


git-svn-id: svn://svn.valgrind.org/valgrind/trunk@13634 a5019735-40e9-0310-863c-91ae7b9d1cf9
ips64/fpu_load_store.c
ips64/fpu_load_store.stdout.exp-BE
ips64/fpu_load_store.stdout.exp-LE
50612d7624735a1c5bfa3046e04eef1b35067145 10-Oct-2013 carll <carll@a5019735-40e9-0310-863c-91ae7b9d1cf9> Adding the link for none/tests/ppc32/test_touch_tm.c that got missed on
commit 13630.

git-svn-id: svn://svn.valgrind.org/valgrind/trunk@13633 a5019735-40e9-0310-863c-91ae7b9d1cf9
pc32/test_touch_tm.c
eec22de88dd1b33cf85214fe08964baa2bb3efd2 10-Oct-2013 dejanj <dejanj@a5019735-40e9-0310-863c-91ae7b9d1cf9> mips64: Change the input values for FPU tests.

Change the input values so that the binary values
is representing exactly the same float values.


git-svn-id: svn://svn.valgrind.org/valgrind/trunk@13632 a5019735-40e9-0310-863c-91ae7b9d1cf9
ips64/Makefile.am
ips64/const.h
ips64/fpu_arithmetic.c
ips64/fpu_arithmetic.stdout.exp
ips64/fpu_branches.stdout.exp
ips64/round.stdout.exp
f6cd3ff017ebc423d4760a1b77cd3bbda20db915 09-Oct-2013 carll <carll@a5019735-40e9-0310-863c-91ae7b9d1cf9> Power PC, add the two privileged Transactional Memory instructions.

The initial Transactional Memory instruction patch did not include the two
privileged (OS) instructions treclaim and trechkpt. VEX commit 2784 added
the support for these two instructions.

This patch adds a touch test to make sure all of the POWER Transactional
memory instrutions are recognized by Valgrind. All of the the Transactional
Memory instructions, with the exception of tbegin, are treated as NOPs in the
first implementation. The tbegin instruction causes the transaction to fail
thus no additional Transactional Memory instructions on the successful
transaction path would be executed in a real program. This test just makes
sure each instruction is actually recognized by Valgrind.

The patch if for Bugzilla 325751.

git-svn-id: svn://svn.valgrind.org/valgrind/trunk@13630 a5019735-40e9-0310-863c-91ae7b9d1cf9
pc32/Makefile.am
pc32/test_touch_tm.stderr.exp
pc32/test_touch_tm.stdout.exp
pc32/test_touch_tm.vgtest
pc64/Makefile.am
pc64/test_touch_tm.c
pc64/test_touch_tm.stderr.exp
pc64/test_touch_tm.stdout.exp
pc64/test_touch_tm.vgtest
0a8620e7323e59bd7d1643ca5625426a5f2fa555 04-Oct-2013 florian <florian@a5019735-40e9-0310-863c-91ae7b9d1cf9> Followup to r13615. Conditional testcases need a prereq line in the
.vgtest file. This has sucked before and I keep forgetting about it.


git-svn-id: svn://svn.valgrind.org/valgrind/trunk@13617 a5019735-40e9-0310-863c-91ae7b9d1cf9
md64/asorep.vgtest
md64/loopnel.vgtest
estedfns.vgtest
452af3f7657eb538733aa4ec40d47d9bb05b3eea 04-Oct-2013 florian <florian@a5019735-40e9-0310-863c-91ae7b9d1cf9> Followup to r13614. Forgot to update the .exp file. Now fixed.


git-svn-id: svn://svn.valgrind.org/valgrind/trunk@13616 a5019735-40e9-0310-863c-91ae7b9d1cf9
md64/insn_sse.stdout.exp
3df0211e912cd0d50802b5bbfac8fde61a1f343d 04-Oct-2013 florian <florian@a5019735-40e9-0310-863c-91ae7b9d1cf9> Add a few feature tests to configure.ac because clang does not
understand the following:
- nested functions
- -gstabs option
- loopnel instruction
- addr32 in asm statements
- 'p' constraint in asm statements

Adapt Makefiles accordingly.


git-svn-id: svn://svn.valgrind.org/valgrind/trunk@13615 a5019735-40e9-0310-863c-91ae7b9d1cf9
akefile.am
md64/Makefile.am
ff1ec47022c4996374ff43bcf567f754bed35f37 04-Oct-2013 florian <florian@a5019735-40e9-0310-863c-91ae7b9d1cf9> Remove 4 tests of the pextrw instruction.
Those tests were rejected by clang and according to the
analysis below by Tom Hughes do not add anything new.

Analysis:

I'm not 100% sure that clang is right though - the Intel manual
clearly describes that argument as "reg" rather than "r32" which
is why I will have included the 64 bit version in the test. It also says:

"The upper bits of r32 or r64 is zeroed."

and:

"If the destination operand is a general-purpose register, the
default operand size is 64-bits in 64-bit mode."

which basically means that REX.W is implied for this op and there is
no way to encode a 32 bit version when running in 64 bit mode.

So in principle you could encode it as:

44 0f c5 ce 00 pextrw $0x0,%mm6,%r9d

or:

4c 0f c5 ce 00 pextrw $0x0,%mm6,%r9

but in fact gcc assembles both versions to the first form.

Equally you could argue that as REX.W is implied both versions
should disassemble as %r9.

So I think clang is being overly picky, and if it was only going to
accept one version I would argue it should be %r9 not %r9d!

In practical terms dropping the second set of tests doesn't lose us anything though.


git-svn-id: svn://svn.valgrind.org/valgrind/trunk@13614 a5019735-40e9-0310-863c-91ae7b9d1cf9
md64/insn_sse.def
4dec26f5089bc67ed6a9c5012b9cf3f4ef4cb33c 03-Oct-2013 carll <carll@a5019735-40e9-0310-863c-91ae7b9d1cf9> Phase 4 support for IBM Power ISA 2.07

This patch adds testcases for the following instructions added
in phase 4. The instructions are for doing various arithmetic,
logic, and load/store VSX operations:

xscvsxdsp xscvuxdsp xsaddsp xssubsp xsdivsp xsmaddasp xsmaddmsp
xsmsubasp xsmsubmsp xsnmaddasp xsnmaddmsp xsnmsubasp xsnmsubmsp
xsmulsp xssqrtsp xsresp xsrsqrtesp xsrsp xxlorc xxlnand xxleqv
lxsiwzx lxsiwax lxsspx stxsiwx stxsspx

Signed-off-by: Maynard Johnson <maynardj@us.ibm.com>

VEX commit for the instruction support r2781
Bugzilla 325477


git-svn-id: svn://svn.valgrind.org/valgrind/trunk@13611 a5019735-40e9-0310-863c-91ae7b9d1cf9
pc32/test_isa_2_07_part2.stdout.exp
pc64/test_isa_2_07_part2.c
pc64/test_isa_2_07_part2.stdout.exp
b1f90e040439f3eec6ae82d71dc0aabb725c6b30 03-Oct-2013 florian <florian@a5019735-40e9-0310-863c-91ae7b9d1cf9> Change some inline assembler so it is no longer rejected by clang
as suggested by John Reiser and Greg Parker.
It seems that GCC has a more relaxed attitude about what it accepts
as valid input.


git-svn-id: svn://svn.valgrind.org/valgrind/trunk@13610 a5019735-40e9-0310-863c-91ae7b9d1cf9
md64/pcmpxstrx64.c
md64/pcmpxstrx64w.c
40fc342595f93fdaabe64b617c4e5b4a8a09eab2 02-Oct-2013 carll <carll@a5019735-40e9-0310-863c-91ae7b9d1cf9> The test case for the Transaction Memory instructions failes with older
compilers as the -mhtm flag is not known. The patch fixes the makefile
issue and addes #defines to the testcase code.

The testcase was added in valgrind commit 13607.

The bugzilla for adding the TM instruction support is 323803

git-svn-id: svn://svn.valgrind.org/valgrind/trunk@13608 a5019735-40e9-0310-863c-91ae7b9d1cf9
pc32/Makefile.am
pc64/Makefile.am
pc64/test_tm.c
36b4a94f7f0fe9fe3e79986f7082bedd6ba6cb8c 02-Oct-2013 carll <carll@a5019735-40e9-0310-863c-91ae7b9d1cf9> IBM POWER PC, Add the Transactional Memory test case

The test case for the transaction memory instructions executes the
failure path when run under valgrind. This is since the initial
Transaction Memory implemnetation is to simply fail the TBEGIN instruction
forcing the execution flow to take the failure path. When the
test case is executed on the real hardware, the success path will
be taken. Only the TBEGIN instruction actually does anything. All other
transactional memory instructions are NOPs since only failure path is executed
and it assumed to not have any transactional memory instructions on it.

Signed-off-by: Carl Love <cel@us.ibm.com>

VEX commit revision 2780
Bugzilla 323803

git-svn-id: svn://svn.valgrind.org/valgrind/trunk@13607 a5019735-40e9-0310-863c-91ae7b9d1cf9
pc32/Makefile.am
pc32/test_tm.c
pc32/test_tm.stderr.exp
pc32/test_tm.stdout.exp
pc32/test_tm.vgtest
pc64/Makefile.am
pc64/test_tm.c
pc64/test_tm.stderr.exp
pc64/test_tm.stdout.exp
pc64/test_tm.vgtest
a3341d8c90fcaa2b43a7b871f775625fe1d2d005 02-Oct-2013 florian <florian@a5019735-40e9-0310-863c-91ae7b9d1cf9> Silence clang warnings for the none and exp-sgcheck tools.


git-svn-id: svn://svn.valgrind.org/valgrind/trunk@13605 a5019735-40e9-0310-863c-91ae7b9d1cf9
dleak_cmsg.c
dleak_creat.c
dleak_dup.c
dleak_dup2.c
dleak_fcntl.c
dleak_ipv4.c
dleak_open.c
dleak_pipe.c
dleak_socketpair.c
c8df847af135c32554fae896d07202fe23e398d8 02-Oct-2013 mjw <mjw@a5019735-40e9-0310-863c-91ae7b9d1cf9> Add opcodes.h to EXTRA_DIST for none/tests/ppc[32|64].

git-svn-id: svn://svn.valgrind.org/valgrind/trunk@13602 a5019735-40e9-0310-863c-91ae7b9d1cf9
pc32/Makefile.am
pc64/Makefile.am
176048dcf6ac4f612f099fd076060e9fd62310b8 02-Oct-2013 florian <florian@a5019735-40e9-0310-863c-91ae7b9d1cf9> Eliminate a few GCC 4.8.1 warnings.


git-svn-id: svn://svn.valgrind.org/valgrind/trunk@13600 a5019735-40e9-0310-863c-91ae7b9d1cf9
390x/test_clone.c
390x/test_fork.c
6277067119ad816282b8e57727295b3adee14075 01-Oct-2013 carll <carll@a5019735-40e9-0310-863c-91ae7b9d1cf9> Add tests for the phase 3 ISA 2.07 code patch

This patch adds testcases to an existing testcase
source file to test the new instructions which were
added to VEX support in the phase 3 ISA 2.07 code patch.
The patch also makes a small change to memcheck's
vbit tester code to allow successful execution.

Signed-off-by: Maynard Johnson <maynardj@us.ibm.com>

Bugzilla 324894. Corresponding VEX commit 2779

git-svn-id: svn://svn.valgrind.org/valgrind/trunk@13594 a5019735-40e9-0310-863c-91ae7b9d1cf9
pc32/jm_vec_isa_2_07.stdout.exp
pc64/jm_vec_isa_2_07.stdout.exp
pc64/test_isa_2_07_part1.c
364c365ffe8c8a889562416df80ada554734c993 30-Sep-2013 florian <florian@a5019735-40e9-0310-863c-91ae7b9d1cf9> Check whether binutils supports TSX instructions.
Guard none/tests/amd64/tm1 accordingly.


git-svn-id: svn://svn.valgrind.org/valgrind/trunk@13587 a5019735-40e9-0310-863c-91ae7b9d1cf9
md64/Makefile.am
7458b7ffd411031b7042cf2b666cfe457761ed0c 29-Sep-2013 sewardj <sewardj@a5019735-40e9-0310-863c-91ae7b9d1cf9> Add test cases for SMMLS, SMLALD, SMLSLD (ARM and Thumb). Pertains to
323036, 323175, 323177. (vasily.golubev@gmail.com)


git-svn-id: svn://svn.valgrind.org/valgrind/trunk@13584 a5019735-40e9-0310-863c-91ae7b9d1cf9
rm/v6intARM.c
rm/v6intARM.stdout.exp
rm/v6intThumb.c
rm/v6intThumb.stdout.exp
333ff447be8a2039b59e2b33ebfd0d21d73c1da2 29-Sep-2013 sewardj <sewardj@a5019735-40e9-0310-863c-91ae7b9d1cf9> Add test cases for LDRHT (Thumb), LDRSHT (Thumb), [LDR,ST]{S}[B,H]T (ARM).
Pertains to 321891, 323035, 324047. (vasily.golubev@gmail.com)


git-svn-id: svn://svn.valgrind.org/valgrind/trunk@13583 a5019735-40e9-0310-863c-91ae7b9d1cf9
rm/Makefile.am
rm/ldrt.c
rm/ldrt.stdout.exp
rm/ldrt_arm.c
rm/ldrt_arm.stderr.exp
rm/ldrt_arm.stdout.exp
rm/ldrt_arm.vgtest
137cefefd4997a1ff5661ba85928d5894db811e0 27-Sep-2013 sewardj <sewardj@a5019735-40e9-0310-863c-91ae7b9d1cf9> Add a test program of sorts, for XBEGIN and XTEST.


git-svn-id: svn://svn.valgrind.org/valgrind/trunk@13579 a5019735-40e9-0310-863c-91ae7b9d1cf9
md64/Makefile.am
md64/tm1.c
md64/tm1.stderr.exp
md64/tm1.stdout.exp
md64/tm1.vgtest
8a9c20b06f772a9eec8d88929564d1ad546f42f0 24-Sep-2013 dejanj <dejanj@a5019735-40e9-0310-863c-91ae7b9d1cf9> mips32: Change the input values for round test.
Change the input values so that the binary value
is representing exactly the same float value.


git-svn-id: svn://svn.valgrind.org/valgrind/trunk@13576 a5019735-40e9-0310-863c-91ae7b9d1cf9
ips32/round.c
ips32/round.stdout.exp
9237e27cb26897344d4707497180f78c80a3b0a2 20-Sep-2013 carll <carll@a5019735-40e9-0310-863c-91ae7b9d1cf9> Add test-cases for Power ISA 2.06 insns: divdo/divdo. and divduo/divduo.

The patch was supplied by Anmol P. Paralkar.

Valgrind Bugzilla 325110


git-svn-id: svn://svn.valgrind.org/valgrind/trunk@13574 a5019735-40e9-0310-863c-91ae7b9d1cf9
pc32/jm-insns.c
pc64/jm-int.stdout.exp
7b8ef5e3d2b4757e0e19e6a446448315be189f84 18-Sep-2013 carll <carll@a5019735-40e9-0310-863c-91ae7b9d1cf9> Oops, commit 13562 said the patch was done by Amodra. It should have
said the patch was from Paralkar Anmol.

This is the fix for Bugzilla 324765.

git-svn-id: svn://svn.valgrind.org/valgrind/trunk@13563 a5019735-40e9-0310-863c-91ae7b9d1cf9
pc32/jm-insns.c
f13107a45926fa51c6eed7141192597077003d06 18-Sep-2013 carll <carll@a5019735-40e9-0310-863c-91ae7b9d1cf9> The patch fixes the assembly of the Power dcbtst and dcbt instructions.

The assembly of these instructions is not alwasy being done correctly as
described in the following email reply.

Re: Assembling Power instructions: dcbtst/dcbt.

From: Peter Bergner <bergner at vnet dot ibm dot com>
To: Paralkar Anmol-B07584 <B07584 at freescale dot com>
Cc: "amodra at bigpond dot net dot au" <amodra at bigpond dot net dot au>, "binutils at sourceware dot org" <binutils at sourceware dot org>
Date: Fri, 13 Sep 2013 15:22:35 -0500
Subject: Re: Assembling Power instructions: dcbtst/dcbt.
Authentication-results: sourceware.org; auth=none
References: <DC6D7B34688246489A6578981A5ADEB9302A07 at 039-SN2MPN1-012 dot 039d dot mgd dot msft dot net>

On Fri, 2013-09-13 at 18:32 +0000, Paralkar Anmol-B07584 wrote:
> Hello,
>
> Per Power ISA Version 2.07 (May 3, 2013) "4.3.2 Data Cache Instructions",
> the assembly language syntax for the dcbtst instruction (pp. 771) is:
>
> dcbtst RA,RB,TH [Category: Server]
> dcbtst TH,RA,RB [Category: Embedded]
>
> and it's layout in the object code is:
>
> +------+------+------+------+------------+---+
> | 31 | TH | RA | RB | 246(0xF6) | / |
> |0 |6 |11 |16 |21 |31 |
> +------+------+------+------+------------+---+
>
> (Analogously: dcbt pp. 770)
>
> However, GAS (as of version 2.23.52.20130912) decides on the syntax to use based on
> processor/architecture dialect (not Power ISA Category), using the Server syntax in
> the case of POWER4 and the Embedded syntax for generic PPC or VLE.

That was a bug fixed here:

https://sourceware.org/ml/binutils/2012-11/msg00352.html

> Consequently (e.g.),
>
> dcbtst 17, 14, 6
>
> in the assembly file gets "misassembled" under -many for a user-space program on Linux:

When you only specify -many (and not one of -mpower4, -mpower5, etc.),
the assembler/disassembler will choose a default -m<CPU> value for
you. That has changed over time, but is generally one of the newer
server cpus. For example, for binutils trunk, the default is now
-mpower8 and for your 2.23.x binutils, it is -mpower7.
That should force the assembler and disassembler to assemble
the instruction using the server operand order you want, but the bug
above (which is in 2.23) basically resets it to an old cpu, so it
chooses to use the embedded/old cpu setting.

The patch from Amodra fixes the issue by manually generating the correct
hex value for the instruction rather then leaving it to the assembler to
generate the hex value from the symbolic assembly instruction name.

This is the fix for Bugzilla 324765.

git-svn-id: svn://svn.valgrind.org/valgrind/trunk@13562 a5019735-40e9-0310-863c-91ae7b9d1cf9
pc32/jm-insns.c
pc32/opcodes.h
pc64/opcodes.h
4164a8177ff1867390e0ff38d900c99c3101544c 18-Sep-2013 dejanj <dejanj@a5019735-40e9-0310-863c-91ae7b9d1cf9> mips32/mips64: tests for FCSR.

Change the existing tests to print the value of the FCSR
register after the mips fpu instruction is executed.
Add tests that are testing the value of FCSR register.


git-svn-id: svn://svn.valgrind.org/valgrind/trunk@13560 a5019735-40e9-0310-863c-91ae7b9d1cf9
ips32/Makefile.am
ips32/round.c
ips32/round.stdout.exp
ips32/test_fcsr.c
ips32/test_fcsr.stderr.exp
ips32/test_fcsr.stdout.exp
ips32/test_fcsr.vgtest
ips64/Makefile.am
ips64/fpu_arithmetic.c
ips64/macro_fpu.h
ips64/round.c
ips64/round.stdout.exp
ips64/test_fcsr.c
ips64/test_fcsr.stderr.exp
ips64/test_fcsr.stdout.exp
ips64/test_fcsr.vgtest
df8e6866ec50e1509e6b2337060330fb487b7b1a 18-Sep-2013 petarj <petarj@a5019735-40e9-0310-863c-91ae7b9d1cf9> mips64: add tests for MIPS64 Octeon Instructions

Follow up to VEX r2765.

Patch by Zahid Anwar.

Bugzilla issue 322150


git-svn-id: svn://svn.valgrind.org/valgrind/trunk@13558 a5019735-40e9-0310-863c-91ae7b9d1cf9
ips64/Makefile.am
ips64/cvm_ins.c
ips64/cvm_ins.stderr.exp
ips64/cvm_ins.stdout.exp
ips64/cvm_ins.vgtest
0432cfee3039e4a6a014e61bd4a4e6adee0330d8 16-Sep-2013 petarj <petarj@a5019735-40e9-0310-863c-91ae7b9d1cf9> mips32/mips64: rename mips32_features to mips_features

As this file is now detecting mips64/Cavium boards, we are renaming it to
reflect that. The functional change is that mips_features now can detect
Cavium board and allow Cavium-specific tests to be run.


git-svn-id: svn://svn.valgrind.org/valgrind/trunk@13551 a5019735-40e9-0310-863c-91ae7b9d1cf9
ips32/mips32_dsp.vgtest
ips32/mips32_dspr2.vgtest
8efe4e40e702e4a1eafac37076e1df2ccd9b047b 12-Sep-2013 carll <carll@a5019735-40e9-0310-863c-91ae7b9d1cf9> The Power ISA 2.07 document includes a correction to the description for the
behavior of the xscvspdp instruction, indicating that if the source argument
is a SNaN, it is first changed to a QNaN before being converted from
single-precision to double-precision. This updated information about the
xscvspdp instruction exposed a bug in the VEX implementation for that
instruction and also a bug in the testing for all instructions having
special behavior for single-precision SNaN arguments.

The VEX code fix for this issue is r2760.

This patch fixes the test cases for the ISA 2.07.

Testing bug: In several ppc[64] test cases, an array of special
double-precision floating point values is set up, and then all elements of
that array are copied via assignment to a single-precision array ('float'
type). Assignment from a double to a float works fine for all cases, except for
SNaN values. In the case of a SNaN, the source is changed to a QNaN and then
converted to single-precision. So the end result was that our array of floats
did not have an actual SNaN value, and, therefore, any instructions that had
special behavior for a single-precision SNaN input argument was never being
properly tested. This patch makes some functional changes in the following
testcases:

none/tests/ppc[32|64]/test_isa_2_06_part2.c
none/tests/ppc[32|64]/test_isa_2_06_part3.c
none/tests/ppc[32|64]/test_isa_2_07_part2.c

These changes impacted the associated *.stdout.exp files, so the patch also
updates those files. Additionally, there were several errors in testcase
source comments that misidentified QNaN and SNaN bit patterns which this patch
corrects.

See bugzilla 324816.

git-svn-id: svn://svn.valgrind.org/valgrind/trunk@13544 a5019735-40e9-0310-863c-91ae7b9d1cf9
pc32/test_isa_2_06_part1.c
pc32/test_isa_2_06_part2.c
pc32/test_isa_2_06_part2.stdout.exp
pc32/test_isa_2_06_part3.c
pc32/test_isa_2_06_part3.stdout.exp
pc32/test_isa_2_07_part2.stdout.exp
pc64/test_isa_2_06_part2.stdout.exp
pc64/test_isa_2_06_part3.stdout.exp
pc64/test_isa_2_07_part1.c
pc64/test_isa_2_07_part2.c
pc64/test_isa_2_07_part2.stdout.exp
a81925998c22a5af981c6933f56f24437e790447 10-Sep-2013 carll <carll@a5019735-40e9-0310-863c-91ae7b9d1cf9> Bugzilla 323437, this is phase 2 in a series of patches adding support for IBM
Power ISA 2.07. The first bugzilla in the series was: 322294: Add initial
support for IBM Power ISA 2.07

Phase 2 VEX commit 2756 added support for the following new instructions to
VEX/priv/guest_ppc_toIR.c:
- lq, stq, lqarx, stqcx.
- mfvsrwz, mtvsrwz
- fmrgew, fmrgow

This commit adds the corresponding test cases for these instructions.



git-svn-id: svn://svn.valgrind.org/valgrind/trunk@13539 a5019735-40e9-0310-863c-91ae7b9d1cf9
pc32/Makefile.am
pc32/jm_fp_isa_2_07.stderr.exp
pc32/jm_fp_isa_2_07.stdout.exp
pc32/jm_fp_isa_2_07.vgtest
pc32/jm_int_isa_2_07.stderr.exp
pc32/jm_int_isa_2_07.stdout.exp
pc32/jm_int_isa_2_07.vgtest
pc32/jm_vec_isa_2_07.stdout.exp
pc64/Makefile.am
pc64/jm_fp_isa_2_07.stderr.exp
pc64/jm_fp_isa_2_07.stdout.exp
pc64/jm_fp_isa_2_07.vgtest
pc64/jm_int_isa_2_07.stderr.exp
pc64/jm_int_isa_2_07.stdout.exp
pc64/jm_int_isa_2_07.vgtest
pc64/jm_vec_isa_2_07.stdout.exp
pc64/test_isa_2_07_part1.c
2cc17eaccf56353d5028b99a105cfcec854dae1d 07-Sep-2013 carll <carll@a5019735-40e9-0310-863c-91ae7b9d1cf9> The existing overflow detection in VEX/priv/guest_ppc_toIR.c/set_XER_OV_64()
under the case PPCG_FLAG_OP_MULLW: does not apply to the mulldo as we need to
detect overflow when performing a Multiply Low Doubleword (not Multiply Low
Word). Hence, we added a new enumeration value PPCG_FLAG_OP_MULLD in
VEX/priv/guest_ppc_defs.h and a corresponding new case under which the
computation for detecting overflow for mulldo/mulldo. is added in
set_XER_OV_64(). The tests have been added to: none/tests/ppc32/jm-insns.c

Vex commit 2754 for the source code fix

This commit adds the test cases.

Bugzilla 324594, submitted by Anmol P. Paralkar

Patch reviewed and tested by Carl Love


git-svn-id: svn://svn.valgrind.org/valgrind/trunk@13537 a5019735-40e9-0310-863c-91ae7b9d1cf9
pc32/jm-insns.c
pc64/jm-int.stdout.exp
d0edaab92916e7fe672c8941ccd899702b0e9c43 05-Sep-2013 carll <carll@a5019735-40e9-0310-863c-91ae7b9d1cf9> Oops, forgot to add the new files before the commit for r13534.

Bugzilla 324518

git-svn-id: svn://svn.valgrind.org/valgrind/trunk@13535 a5019735-40e9-0310-863c-91ae7b9d1cf9
pc32/jm-misc.stderr.exp
pc32/jm-misc.stdout.exp
pc32/jm-misc.vgtest
pc64/jm-misc.stderr.exp
pc64/jm-misc.stdout.exp
pc64/jm-misc.vgtest
074637e5b8af220614f9727bccc177e482b7ddc5 05-Sep-2013 carll <carll@a5019735-40e9-0310-863c-91ae7b9d1cf9> The current VEX code is not properly handling a non-zero TH field in the
dcbt instruction, which is valid for several forms of data cache block
touch instructions. The VEX commit 2761 fixed the missing support in
VEX/priv/guest_ppc_toIR.c. This commit adds tests for the the non-zero
fields to the test cases for 32 and 64-bit modes.

Bugzilla 324518

git-svn-id: svn://svn.valgrind.org/valgrind/trunk@13534 a5019735-40e9-0310-863c-91ae7b9d1cf9
pc32/Makefile.am
pc32/jm-insns.c
pc64/Makefile.am
223cd4ef471df3ecc04a5b272693da2a9fb08a5e 05-Sep-2013 carll <carll@a5019735-40e9-0310-863c-91ae7b9d1cf9> The flag for compiling test none/tests/ppc32/test_isa_2_07_part2.c was
incorrectly set to FLAG_M64 instead of FLAG_M32. Fixed the flag. The
issue was reported in Bugzilla 324546.

git-svn-id: svn://svn.valgrind.org/valgrind/trunk@13533 a5019735-40e9-0310-863c-91ae7b9d1cf9
pc32/Makefile.am
fd7db80cf6bae41784a60161060b9a6610f94abf 02-Sep-2013 dejanj <dejanj@a5019735-40e9-0310-863c-91ae7b9d1cf9> mips32/mips64: Add tests for lwl and lwr for mips32 and mips64.


git-svn-id: svn://svn.valgrind.org/valgrind/trunk@13526 a5019735-40e9-0310-863c-91ae7b9d1cf9
ips32/Makefile.am
ips32/unaligned_load_store.c
ips32/unaligned_load_store.stderr.exp
ips32/unaligned_load_store.stdout.exp-BE
ips32/unaligned_load_store.stdout.exp-LE
ips32/unaligned_load_store.vgtest
ips64/Makefile.am
ips64/unaligned_load_store.c
ips64/unaligned_load_store.stderr.exp
ips64/unaligned_load_store.stdout.exp-BE
ips64/unaligned_load_store.stdout.exp-LE
ips64/unaligned_load_store.vgtest
c9b38fb04c293809c74b6eaf98421bca223550ba 31-Aug-2013 florian <florian@a5019735-40e9-0310-863c-91ae7b9d1cf9> s390: Fix Makefile.am. Essentially, revert r13317 which does not seem to
be necessary. The additional DIST_INSN_TESTS variable was causing problems
in check_makefile_consistecy which reported false errors. I suspect this
is because my awk is mawk and not gawk.
Also add dfp_utils.h which was missing in the tarball from 'make dist'.


git-svn-id: svn://svn.valgrind.org/valgrind/trunk@13520 a5019735-40e9-0310-863c-91ae7b9d1cf9
390x/Makefile.am
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
86/insn_mmxext.vgtest
84a646e4cfe8b9f616bce55db8d0af2f95a06ae1 15-Aug-2013 sewardj <sewardj@a5019735-40e9-0310-863c-91ae7b9d1cf9> Avoid a compiler warning.


git-svn-id: svn://svn.valgrind.org/valgrind/trunk@13499 a5019735-40e9-0310-863c-91ae7b9d1cf9
rm/ldrt.c
663a8a6f68a2450cf6626c8b5ae8fd88aac752c4 15-Aug-2013 dejanj <dejanj@a5019735-40e9-0310-863c-91ae7b9d1cf9> mips32: Delete unnecessary exp files.


git-svn-id: svn://svn.valgrind.org/valgrind/trunk@13497 a5019735-40e9-0310-863c-91ae7b9d1cf9
ips32/MIPS32int.stdout.exp
ips32/MIPS32int.stdout.exp-BE
ips32/MIPS32int.stdout.exp-mips32
ips32/vfp.stdout.exp
ips32/vfp.stdout.exp-BE
ips32/vfp.stdout.exp-mips32
751c1e6e1657cbafe30baaf36ad9bd011c3a179b 15-Aug-2013 dejanj <dejanj@a5019735-40e9-0310-863c-91ae7b9d1cf9> mips32/mips64: Fix compiler warnings.

Fix some compiler warnings when compiling Valgrind for mips32/mips64.
Clean up exp files for mips32 BE and LE.


git-svn-id: svn://svn.valgrind.org/valgrind/trunk@13496 a5019735-40e9-0310-863c-91ae7b9d1cf9
ips32/LoadStore.c
ips32/LoadStore1.c
ips32/MIPS32int.stdout.exp
ips32/MIPS32int.stdout.exp-BE
ips32/MIPS32int.stdout.exp-mips32
ips32/MIPS32int.stdout.exp-mips32-BE
ips32/MIPS32int.stdout.exp-mips32-LE
ips32/MIPS32int.stdout.exp-mips32r2-BE
ips32/MIPS32int.stdout.exp-mips32r2-LE
ips32/Makefile.am
ips32/MemCpyTest.c
ips32/mips32_dsp.c
ips32/mips32_dsp.stdout.exp-mips32
ips32/mips32_dspr2.c
ips32/mips32_dspr2.stdout.exp-mips32
ips32/vfp.c
ips32/vfp.stdout.exp
ips32/vfp.stdout.exp-BE
ips32/vfp.stdout.exp-mips32
ips32/vfp.stdout.exp-mips32-BE
ips32/vfp.stdout.exp-mips32-LE
ips32/vfp.stdout.exp-mips32r2-BE
ips32/vfp.stdout.exp-mips32r2-LE
dfbf294f08ac004a60cb3b528d544cb7d0404eb0 12-Aug-2013 carll <carll@a5019735-40e9-0310-863c-91ae7b9d1cf9> Initial ISA 2.07 support for POWER8-tuned libc

The IBM Power ISA 2.07 has been published on power.org, and IBM's new POWER8
processor is under development to implement that ISA. This patch provides
initial runtime and testsuite support for running Valgrind on POWER8 systems
running a soon-to-be released Linux distribution. This Linux distro will
include a POWER8-tuned libc that uses a subset of the new instructions from
ISA 2.07. Since virtually all applications link with libc, it would be
impossible to run an application under Valgrind on this distro without adding
support for these new instructions to Valgrind, so that's the intent of this
patch. Note that applications built on this distro will *not* employ new POWER8
instructions by default. There are roughly 150 new instructions in the Power
ISA 2.07, including hardware transaction management (HTM). Support for these
new instructions (modulo the subset included in this bug) will be added to
Valgrind in a phased approach, similar to what we did for Power ISA 2.06.

Bugzilla 322294, VEX commit 2740

git-svn-id: svn://svn.valgrind.org/valgrind/trunk@13494 a5019735-40e9-0310-863c-91ae7b9d1cf9
pc32/Makefile.am
pc32/jm_vec_isa_2_07.stderr.exp
pc32/jm_vec_isa_2_07.stdout.exp
pc32/jm_vec_isa_2_07.vgtest
pc32/test_isa_2_07_part1.c
pc32/test_isa_2_07_part2.c
pc32/test_isa_2_07_part2.stderr.exp
pc32/test_isa_2_07_part2.stdout.exp
pc32/test_isa_2_07_part2.vgtest
pc64/Makefile.am
pc64/jm_vec_isa_2_07.stderr.exp
pc64/jm_vec_isa_2_07.stdout.exp
pc64/jm_vec_isa_2_07.vgtest
pc64/test_isa_2_07_part1.c
pc64/test_isa_2_07_part2.c
pc64/test_isa_2_07_part2.stderr.exp
pc64/test_isa_2_07_part2.stdout.exp
pc64/test_isa_2_07_part2.vgtest
bf68e98f4532d5469f7be4ef77933ae50069f201 02-Aug-2013 dejanj <dejanj@a5019735-40e9-0310-863c-91ae7b9d1cf9> mips32: Add test cases for for mips32 DSP instruction set.

Add test cases for mips32 DSP and DSP revision 2 ASE.
Correctly model SHLL_S.PH on MIPS32.


git-svn-id: svn://svn.valgrind.org/valgrind/trunk@13479 a5019735-40e9-0310-863c-91ae7b9d1cf9
ips32/Makefile.am
ips32/mips32_dsp.c
ips32/mips32_dsp.stderr.exp
ips32/mips32_dsp.stdout.exp
ips32/mips32_dsp.stdout.exp-BE
ips32/mips32_dsp.vgtest
ips32/mips32_dspr2.c
ips32/mips32_dspr2.stderr.exp
ips32/mips32_dspr2.stdout.exp
ips32/mips32_dspr2.vgtest
2784128079db6cc83a4d6e92a70da6f8f8695a3b 15-Jul-2013 petarj <petarj@a5019735-40e9-0310-863c-91ae7b9d1cf9> mips32: add missing exp file for Bug#320057

r13450 misses the exp file.


git-svn-id: svn://svn.valgrind.org/valgrind/trunk@13452 a5019735-40e9-0310-863c-91ae7b9d1cf9
ips32/bug320057-mips32.stderr.exp
379817b720dad58e2a0436c774ed48a15fb8fec7 12-Jul-2013 petarj <petarj@a5019735-40e9-0310-863c-91ae7b9d1cf9> mips32: another VG_(am_get_advisory) needs non-single-page-size adjustment

Another mmap issue in which another VG_(am_get_advisory) needs adjustment
wrapper for cases when (VKI_SHMLBA > VKI_PAGE_SIZE) and argument is
VKI_MAP_SHARED.

Fix by DejanJ for Bug #320057.
Issue and the test case by Vasile Floroiu.


git-svn-id: svn://svn.valgrind.org/valgrind/trunk@13450 a5019735-40e9-0310-863c-91ae7b9d1cf9
ips32/Makefile.am
ips32/bug320057-mips32.c
ips32/bug320057-mips32.stdout.exp
ips32/bug320057-mips32.vgtest
78b23a214570fbfd37bd7daa8702967d3b7508a3 04-Jul-2013 sewardj <sewardj@a5019735-40e9-0310-863c-91ae7b9d1cf9> Add test cases pertaining to vex r2731, for the following instructions:
SSAX SXTAB16 SHASX SHSAX SHSUB16 SHSUB8
UASX USAX UQADD16 UQASX UQSAX UHASX UHSAX REVSH

Pertaining to
321363 321364 321466 321467 321468 321619 321704
321620 321621 321692 321694 321696 321697 321703

(Vasily, w.golubev@mail.ru)



git-svn-id: svn://svn.valgrind.org/valgrind/trunk@13447 a5019735-40e9-0310-863c-91ae7b9d1cf9
rm/v6intARM.c
rm/v6intARM.stdout.exp
rm/v6intThumb.c
rm/v6intThumb.stdout.exp
rm/v6media.c
rm/v6media.stdout.exp
7d7587002f70f11905c3c0bc13d57a6b8cb79c42 04-Jul-2013 sewardj <sewardj@a5019735-40e9-0310-863c-91ae7b9d1cf9> Add test cases for
(T1) STRBT reg+#imm8
(T1) STRHT reg+#imm8
(T1) LDRBT reg+#imm8
(T1) LDRSBT reg+#imm8

Pertaining to: 319858 319932 320083 321693 321148

(Vasily, w.golubev@mail.ru)



git-svn-id: svn://svn.valgrind.org/valgrind/trunk@13445 a5019735-40e9-0310-863c-91ae7b9d1cf9
rm/ldrt.c
rm/ldrt.stdout.exp
e5b6cc4166d79e1aa1ce801476d30c3af31d7fc1 02-Jul-2013 sewardj <sewardj@a5019735-40e9-0310-863c-91ae7b9d1cf9> Update expected outputs.


git-svn-id: svn://svn.valgrind.org/valgrind/trunk@13441 a5019735-40e9-0310-863c-91ae7b9d1cf9
mdline1.stdout.exp
mdline2.stdout.exp
4027d32ca555d7647e8c2e2c76ecc996224e96de 17-Jun-2013 florian <florian@a5019735-40e9-0310-863c-91ae7b9d1cf9> s390: Update testcase for PFPO
Patch by Maran Pakkirisamy (maranp@linux.vnet.ibm.com).
Part of fixing BZ 307113.


git-svn-id: svn://svn.valgrind.org/valgrind/trunk@13429 a5019735-40e9-0310-863c-91ae7b9d1cf9
390x/pfpo.c
390x/pfpo.stdout.exp
3bcd51daf1fbfdec973b102e245dd5833e2c48a3 12-Jun-2013 philippe <philippe@a5019735-40e9-0310-863c-91ae7b9d1cf9> improve --help for --main-stacksize and supported ARM cpu
If the command line option --main-stacksize is not used,
the current ulimit value is used, with a min of 1MB
and a max of 16MB. Document this min/max default formula
in the --help.

Also indicate that Valgrind supports ARMv7


git-svn-id: svn://svn.valgrind.org/valgrind/trunk@13426 a5019735-40e9-0310-863c-91ae7b9d1cf9
mdline1.stdout.exp
mdline2.stdout.exp
2ff6ff23d318ab1c9e1f244ad7f4a47bd0731670 09-Jun-2013 petarj <petarj@a5019735-40e9-0310-863c-91ae7b9d1cf9> mips64: fix typo in EXTRA_DIST

Fixes make dist error.
Typo spotted and reported by Maran Pakkirisamy <maranp@linux.vnet.ibm.com>


git-svn-id: svn://svn.valgrind.org/valgrind/trunk@13424 a5019735-40e9-0310-863c-91ae7b9d1cf9
ips64/Makefile.am
1f458f55bc9494a9235b22fe6f994ac51202731a 02-Jun-2013 petarj <petarj@a5019735-40e9-0310-863c-91ae7b9d1cf9> mips64: add missing line-continuation character

make distclean failed for the missing character.


git-svn-id: svn://svn.valgrind.org/valgrind/trunk@13416 a5019735-40e9-0310-863c-91ae7b9d1cf9
ips64/Makefile.am
23c5bf95006eab4505047a76389fec7fe3f4e176 29-May-2013 petarj <petarj@a5019735-40e9-0310-863c-91ae7b9d1cf9> mips64: rename exp files for load_store_multiple

Rename none/tests/mips64/load_store_multiple exp files to match the name
of the source file.


git-svn-id: svn://svn.valgrind.org/valgrind/trunk@13412 a5019735-40e9-0310-863c-91ae7b9d1cf9
ips64/load_store1.stderr.exp
ips64/load_store1.stdout.exp-BE
ips64/load_store1.stdout.exp-LE
ips64/load_store1.vgtest
ips64/load_store_multiple.stderr.exp
ips64/load_store_multiple.stdout.exp-BE
ips64/load_store_multiple.stdout.exp-LE
ips64/load_store_multiple.vgtest
96758fee6e333cc857ddc3f9c9dc3cb5062692af 28-May-2013 petarj <petarj@a5019735-40e9-0310-863c-91ae7b9d1cf9> mips64: expected output for mips64 specific tests

Follow up to the previous change in which mips64 specific tests were added.
It covers both MIPS64-LE and MIPS64-BE.


git-svn-id: svn://svn.valgrind.org/valgrind/trunk@13411 a5019735-40e9-0310-863c-91ae7b9d1cf9
ips64/arithmetic_instruction.stderr.exp
ips64/arithmetic_instruction.stdout.exp-mips64
ips64/arithmetic_instruction.stdout.exp-mips64r2
ips64/arithmetic_instruction.vgtest
ips64/branch_and_jump_instructions.stderr.exp
ips64/branch_and_jump_instructions.stdout.exp
ips64/branch_and_jump_instructions.vgtest
ips64/branches.stderr.exp
ips64/branches.stdout.exp
ips64/branches.vgtest
ips64/extract_insert_bit_field.stderr.exp
ips64/extract_insert_bit_field.stdout.exp-mips64
ips64/extract_insert_bit_field.stdout.exp-mips64r2
ips64/extract_insert_bit_field.vgtest
ips64/fpu_arithmetic.stderr.exp
ips64/fpu_arithmetic.stdout.exp
ips64/fpu_arithmetic.vgtest
ips64/fpu_branches.stderr.exp
ips64/fpu_branches.stdout.exp
ips64/fpu_branches.vgtest
ips64/fpu_control_word.stderr.exp
ips64/fpu_control_word.stdout.exp
ips64/fpu_control_word.vgtest
ips64/fpu_load_store.stderr.exp
ips64/fpu_load_store.stdout.exp-BE
ips64/fpu_load_store.stdout.exp-LE
ips64/fpu_load_store.vgtest
ips64/load_store.stderr.exp
ips64/load_store.stdout.exp-BE
ips64/load_store.stdout.exp-LE
ips64/load_store.vgtest
ips64/load_store1.stderr.exp
ips64/load_store1.stdout.exp-BE
ips64/load_store1.stdout.exp-LE
ips64/load_store1.vgtest
ips64/load_store_unaligned.stderr.exp
ips64/load_store_unaligned.stdout.exp
ips64/load_store_unaligned.vgtest
ips64/logical_instructions.stderr.exp
ips64/logical_instructions.stdout.exp
ips64/logical_instructions.vgtest
ips64/move_instructions.stderr.exp
ips64/move_instructions.stdout.exp-BE
ips64/move_instructions.stdout.exp-LE
ips64/move_instructions.vgtest
ips64/rotate_swap.stderr.exp
ips64/rotate_swap.stdout.exp-mips64
ips64/rotate_swap.stdout.exp-mips64r2
ips64/rotate_swap.vgtest
ips64/round.stderr.exp
ips64/round.stdout.exp
ips64/round.vgtest
ips64/shift_instructions.stderr.exp
ips64/shift_instructions.stdout.exp-mips64
ips64/shift_instructions.stdout.exp-mips64r2
ips64/shift_instructions.vgtest
ips64/test_block_size.stderr.exp
ips64/test_block_size.stdout.exp
ips64/test_block_size.vgtest
ips64/unaligned_load.stderr.exp
ips64/unaligned_load.stdout.exp-BE
ips64/unaligned_load.stdout.exp-LE
ips64/unaligned_load.vgtest
b35637a050d995634a21a126d37957f7bcee03a6 28-May-2013 petarj <petarj@a5019735-40e9-0310-863c-91ae7b9d1cf9> mips64: set of mips64 specific tests

This is a set of mips64 programs that test mips64 instruction set.


git-svn-id: svn://svn.valgrind.org/valgrind/trunk@13410 a5019735-40e9-0310-863c-91ae7b9d1cf9
ips64/Makefile.am
ips64/arithmetic_instruction.c
ips64/branch_and_jump_instructions.c
ips64/branches.c
ips64/const.h
ips64/extract_insert_bit_field.c
ips64/fpu_arithmetic.c
ips64/fpu_branches.c
ips64/fpu_control_word.c
ips64/fpu_load_store.c
ips64/load_store.c
ips64/load_store_multiple.c
ips64/load_store_unaligned.c
ips64/logical_instructions.c
ips64/macro_fpu.h
ips64/macro_int.h
ips64/macro_load_store.h
ips64/move_instructions.c
ips64/rotate_swap.c
ips64/round.c
ips64/rounding_mode.h
ips64/shift_instructions.c
ips64/test_block_size.c
ips64/unaligned_load.c
56c2e87b737a230b17b7a308a5e35ae780b31790 13-May-2013 sewardj <sewardj@a5019735-40e9-0310-863c-91ae7b9d1cf9> Add test case for STRT. See #319395.
(Vasily Golubev, w.golubev@mail.ru)


git-svn-id: svn://svn.valgrind.org/valgrind/trunk@13397 a5019735-40e9-0310-863c-91ae7b9d1cf9
rm/ldrt.c
rm/ldrt.stdout.exp
0a9fcadb4687b6ae4e34daa529aeaa268ed273bf 13-May-2013 sewardj <sewardj@a5019735-40e9-0310-863c-91ae7b9d1cf9> Add test cases for SSAT16. See #318929.
(Vasily Golubev, w.golubev@mail.ru)



git-svn-id: svn://svn.valgrind.org/valgrind/trunk@13396 a5019735-40e9-0310-863c-91ae7b9d1cf9
rm/v6media.c
rm/v6media.stdout.exp
3406925699637bf84f155a6ba5efbac48b3006da 12-May-2013 petarj <petarj@a5019735-40e9-0310-863c-91ae7b9d1cf9> mips: define allexec files as soft links

This change is a follow up to r13385. It removes physical copies of the
allexec c-files in none/tests/mips32/ and none/tests/mips64/ and defines
them as soft-links to a common file like other arches do.

Credits to Philippe for noticing it.


git-svn-id: svn://svn.valgrind.org/valgrind/trunk@13388 a5019735-40e9-0310-863c-91ae7b9d1cf9
ips32/allexec.c
ips64/allexec.c
1106692158e71bade4e00a2d21548e74b2ea334e 11-May-2013 florian <florian@a5019735-40e9-0310-863c-91ae7b9d1cf9> s390: valgrind side support for PFPO. New hwcap added.
See companion patch VEX r2719.

Patch by Maran Pakkirisamy (maranp@linux.vnet.ibm.com).
Part of fixing BZ #307113


git-svn-id: svn://svn.valgrind.org/valgrind/trunk@13387 a5019735-40e9-0310-863c-91ae7b9d1cf9
390x/Makefile.am
390x/pfpo.c
390x/pfpo.stderr.exp
390x/pfpo.stdout.exp
390x/pfpo.vgtest
8bea86765355af1c105e866f1b5bfed3ad672209 10-May-2013 petarj <petarj@a5019735-40e9-0310-863c-91ae7b9d1cf9> mips: add allexec tests for mips64

Initial patch for none/tests/mips64/.
allexec tests added.


git-svn-id: svn://svn.valgrind.org/valgrind/trunk@13385 a5019735-40e9-0310-863c-91ae7b9d1cf9
akefile.am
llexec_prepare_prereq
ips64/Makefile.am
ips64/allexec.c
ips64/filter_stderr
7ca65aeabb690ae6db35e700c73452bb310f1a0f 27-Apr-2013 petarj <petarj@a5019735-40e9-0310-863c-91ae7b9d1cf9> mips: extending the existing test for INS and EXT instructions

Follow up to r2715 in VEX in which we fix INS instruction for lsb = 0.


git-svn-id: svn://svn.valgrind.org/valgrind/trunk@13380 a5019735-40e9-0310-863c-91ae7b9d1cf9
ips32/MIPS32int.c
ips32/MIPS32int.stdout.exp
ips32/MIPS32int.stdout.exp-BE
de9e632a4e5cccab50a46d039b5e81ae86183f81 23-Apr-2013 sewardj <sewardj@a5019735-40e9-0310-863c-91ae7b9d1cf9> Add test cases for SMMLA{R}.


git-svn-id: svn://svn.valgrind.org/valgrind/trunk@13376 a5019735-40e9-0310-863c-91ae7b9d1cf9
rm/v6intARM.c
rm/v6intARM.stdout.exp
rm/v6intThumb.c
rm/v6intThumb.stdout.exp
5f05bb85d1bbd68da7a8fb7b06329728f1bea29d 21-Apr-2013 sewardj <sewardj@a5019735-40e9-0310-863c-91ae7b9d1cf9> Minor changes to how V{LD}{1,2,3,4} are tested:
* print the output 64-bit results in most-to-least-significant
lane format
* change the memory values used in these tests to ones which
are reliably able to detect confusion of 8-bit lanes. The
previous values couldn't to that reliable. This change causes
the diff to be huge because the stdout.exp changes a lot.


git-svn-id: svn://svn.valgrind.org/valgrind/trunk@13374 a5019735-40e9-0310-863c-91ae7b9d1cf9
rm/neon64.c
rm/neon64.stdout.exp
918cc6b185e39eceaa33ba3f12ca815189a6ec1c 18-Apr-2013 sewardj <sewardj@a5019735-40e9-0310-863c-91ae7b9d1cf9> Non-functional changes: flush stdout frequently, so as to make
it easier to sync with stderr output. Also, add some more helpful
data for testing Neon loads/stores.


git-svn-id: svn://svn.valgrind.org/valgrind/trunk@13372 a5019735-40e9-0310-863c-91ae7b9d1cf9
rm/neon64.c
bf30d0c083c3ab63d534ff1d9268d851d3b0e173 11-Apr-2013 sewardj <sewardj@a5019735-40e9-0310-863c-91ae7b9d1cf9> Add test cases for SDIV and UDIV. Pertains to #314178.


git-svn-id: svn://svn.valgrind.org/valgrind/trunk@13365 a5019735-40e9-0310-863c-91ae7b9d1cf9
rm/Makefile.am
rm/intdiv.c
rm/intdiv.stderr.exp
rm/intdiv.stdout.exp
rm/intdiv.vgtest
b17322f07f0a3e136505d6adbae14f917ef68261 11-Apr-2013 sewardj <sewardj@a5019735-40e9-0310-863c-91ae7b9d1cf9> Add test cases for (T1) LDRT reg+#imm8. See #315689.


git-svn-id: svn://svn.valgrind.org/valgrind/trunk@13364 a5019735-40e9-0310-863c-91ae7b9d1cf9
rm/Makefile.am
rm/ldrt.c
rm/ldrt.stderr.exp
rm/ldrt.stdout.exp
rm/ldrt.vgtest
736dbfee4104ea5086652d93ff273c224f3ba7a9 28-Mar-2013 tom <tom@a5019735-40e9-0310-863c-91ae7b9d1cf9> Update test results for EQ_UQ SSE FP comparison operation. BZ#317444.


git-svn-id: svn://svn.valgrind.org/valgrind/trunk@13344 a5019735-40e9-0310-863c-91ae7b9d1cf9
md64/avx-1.stdout.exp
e222efcfa0f548ec2a30adc6aec5c7f57d0d710d 27-Mar-2013 sewardj <sewardj@a5019735-40e9-0310-863c-91ae7b9d1cf9> Fix BMI assembler configure check and avx2/bmi/fma vgtest prereqs.
#317461. (Mark Wielaard, mjw@redhat.com)


git-svn-id: svn://svn.valgrind.org/valgrind/trunk@13343 a5019735-40e9-0310-863c-91ae7b9d1cf9
md64/avx2-1.vgtest
md64/bmi.vgtest
md64/fma.vgtest
682d2854139a8a5e583231676d9ae6415aa73648 27-Mar-2013 tom <tom@a5019735-40e9-0310-863c-91ae7b9d1cf9> Test support for the EQ_UQ SSE FP comparison operation. BZ#317444.


git-svn-id: svn://svn.valgrind.org/valgrind/trunk@13342 a5019735-40e9-0310-863c-91ae7b9d1cf9
md64/avx-1.c
f0145384c152263410abd29bbcf5a6f9eaa941e7 27-Mar-2013 sewardj <sewardj@a5019735-40e9-0310-863c-91ae7b9d1cf9> Testcase additions pertaining to #305728, which added support for
AVX2, BMI1, BMI2 and FMA instructions.
(Jakub Jelinek, jakub@redhat.com)



git-svn-id: svn://svn.valgrind.org/valgrind/trunk@13339 a5019735-40e9-0310-863c-91ae7b9d1cf9
md64/Makefile.am
md64/avx-1.c
md64/avx-1.stdout.exp
md64/avx2-1.c
md64/avx2-1.stderr.exp
md64/avx2-1.stdout.exp
md64/avx2-1.vgtest
md64/bmi.c
md64/bmi.stderr.exp
md64/bmi.stdout.exp
md64/bmi.vgtest
md64/fma.c
md64/fma.stderr.exp
md64/fma.stdout.exp
md64/fma.vgtest
c5a5c57b567e9781d30c422428158a71545b59fa 26-Mar-2013 sewardj <sewardj@a5019735-40e9-0310-863c-91ae7b9d1cf9> Add test cases for SSE4 MOVNTDQA insn. Pertains to #316503.
(Patrick J. LoPresti, lopresti@gmail.com)



git-svn-id: svn://svn.valgrind.org/valgrind/trunk@13336 a5019735-40e9-0310-863c-91ae7b9d1cf9
md64/sse4-64.c
md64/sse4-64.stdout.exp
e08c5b8f37938769181486ab37e38794780b2ecf 12-Mar-2013 florian <florian@a5019735-40e9-0310-863c-91ae7b9d1cf9> s390: Add testcase for the SRNMT instruction.
Patch by Maran Pakkirisamy (maranp@linux.vnet.ibm.com).
Part of fixing BZ 307113.


git-svn-id: svn://svn.valgrind.org/valgrind/trunk@13325 a5019735-40e9-0310-863c-91ae7b9d1cf9
390x/Makefile.am
390x/opcodes.h
390x/srnmt.c
390x/srnmt.stderr.exp
390x/srnmt.stdout.exp
390x/srnmt.vgtest
3f531f1d417ef79a32d06effed3976461ebb399c 10-Mar-2013 bart <bart@a5019735-40e9-0310-863c-91ae7b9d1cf9> s390: Distribute dfp-1 expected output files also if built on a non-s390 platform

git-svn-id: svn://svn.valgrind.org/valgrind/trunk@13317 a5019735-40e9-0310-863c-91ae7b9d1cf9
390x/Makefile.am
82e3c18b6444614e2cd48957ecddfe65c8c76c3a 06-Mar-2013 sewardj <sewardj@a5019735-40e9-0310-863c-91ae7b9d1cf9> Add test cases for VCVT.{S,U}32.F64 D[d], D[d], #frac_bits.
Pertains to #315738.


git-svn-id: svn://svn.valgrind.org/valgrind/trunk@13313 a5019735-40e9-0310-863c-91ae7b9d1cf9
rm/vcvt_fixed_float_VFP.c
rm/vcvt_fixed_float_VFP.stdout.exp
3343e4b28099a4b0eaccea9618447e86c9819a12 05-Mar-2013 sewardj <sewardj@a5019735-40e9-0310-863c-91ae7b9d1cf9> Add test cases for VCVT.F64.{SU}32, #imm, including a bunch of dodging and
weaving to work around buggy assemblers. Pertains to #308717.


git-svn-id: svn://svn.valgrind.org/valgrind/trunk@13312 a5019735-40e9-0310-863c-91ae7b9d1cf9
rm/vcvt_fixed_float_VFP.c
rm/vcvt_fixed_float_VFP.stdout.exp
5d7dbf7c40e1f0f958f5689e4ad80ab1eaa2a8b5 04-Mar-2013 sewardj <sewardj@a5019735-40e9-0310-863c-91ae7b9d1cf9> Add test cases for SMLAL{BB,BT,TB,TT}. Related to #308718.


git-svn-id: svn://svn.valgrind.org/valgrind/trunk@13311 a5019735-40e9-0310-863c-91ae7b9d1cf9
rm/v6media.c
rm/v6media.stdout.exp
e0acc15fe35d519e134573c49389a7879284c5d7 14-Feb-2013 florian <florian@a5019735-40e9-0310-863c-91ae7b9d1cf9> s390: Testcases and vbit-tester changes for the following
DFP insns:
- extract basied exponent
- insert biased exponent
- quantize
- reround to significance
Patch by Maran Pakkirisamy (maranp@linux.vnet.ibm.com).
Part of fixing BZ #307113.


git-svn-id: svn://svn.valgrind.org/valgrind/trunk@13286 a5019735-40e9-0310-863c-91ae7b9d1cf9
390x/dfp-2.c
390x/dfp-2.stdout.exp
3a142cfb6cc99c48ed821f6ac6490b1667b73e2f 09-Feb-2013 florian <florian@a5019735-40e9-0310-863c-91ae7b9d1cf9> s390: Add testcase for these DFP insns: CDGTRA, CXGTR, CGXTR, and CGDTR (VEX r2680).
Update vbit tester. Patch by Maran Pakkirisamy (maranp@linux.vnet.ibm.com).
Part of fixing BZ #307113.


git-svn-id: svn://svn.valgrind.org/valgrind/trunk@13285 a5019735-40e9-0310-863c-91ae7b9d1cf9
390x/Makefile.am
390x/dfpconv.c
390x/dfpconv.stderr.exp
390x/dfpconv.stdout.exp
390x/dfpconv.vgtest
390x/opcodes.h
4041ce33b60089cfc71bc0f0420e85831349f2ce 22-Jan-2013 florian <florian@a5019735-40e9-0310-863c-91ae7b9d1cf9> s390: Pedantic cleanups by Maran.


git-svn-id: svn://svn.valgrind.org/valgrind/trunk@13259 a5019735-40e9-0310-863c-91ae7b9d1cf9
390x/rounding.h
390x/svc.h
833d01c0dc8151c0d27c6e5f8d366e16480be5e6 21-Jan-2013 florian <florian@a5019735-40e9-0310-863c-91ae7b9d1cf9> s390: Add another testcase for DFP insns.
Patch by Maran Pakkirisamy (maranp@linux.vnet.ibm.com).
Part of fixing BZ 307113.


git-svn-id: svn://svn.valgrind.org/valgrind/trunk@13254 a5019735-40e9-0310-863c-91ae7b9d1cf9
390x/Makefile.am
390x/dfpext.c
390x/dfpext.stderr.exp
390x/dfpext.stdout.exp
390x/dfpext.vgtest
390x/opcodes.h
1764121a4dc65134f1b99309f1583c56a4d08138 20-Jan-2013 petarj <petarj@a5019735-40e9-0310-863c-91ae7b9d1cf9> mips: additional test case for fix in VEX r2648

Test program that triggers different corner cases related to position of
branch instruction and max size of a translation block (60 instructions).
Fix for these issues has been submitted in r2648.


git-svn-id: svn://svn.valgrind.org/valgrind/trunk@13248 a5019735-40e9-0310-863c-91ae7b9d1cf9
ips32/Makefile.am
ips32/block_size.c
ips32/block_size.stderr.exp
ips32/block_size.stdout.exp
ips32/block_size.vgtest
46207652a0c99a2c8b0f05eafce3ca3ec533c121 20-Jan-2013 philippe <philippe@a5019735-40e9-0310-863c-91ae7b9d1cf9> Implement --merge-recursive-frames + provide VALGRIND_MONITOR_COMMAND client req.

In a big applications, some recursive algorithms have created
hundreds of thousands of stacktraces, taking a lot of memory.

Option --merge-recursive-frames=<number> tells Valgrind to
detect and merge (collapse) recursive calls when recording stack traces.
The value is changeable using the monitor command
'v.set merge-recursive-frames'.

Also, this provides a new client request: VALGRIND_MONITOR_COMMAND
allowing to execute a gdbsrv monitor command from the client
program.



git-svn-id: svn://svn.valgrind.org/valgrind/trunk@13246 a5019735-40e9-0310-863c-91ae7b9d1cf9
mdline1.stdout.exp
mdline2.stdout.exp
c08fd4e3babb715ce083f7187b05260881ef9c38 10-Jan-2013 florian <florian@a5019735-40e9-0310-863c-91ae7b9d1cf9> s390: Add ecag.stdout.exp-zec12 to EXTRA_DIST.


git-svn-id: svn://svn.valgrind.org/valgrind/trunk@13219 a5019735-40e9-0310-863c-91ae7b9d1cf9
390x/Makefile.am
b194317cbf7990bfc6f0efecf0b88b681a561ef5 09-Jan-2013 cborntra <cborntra@a5019735-40e9-0310-863c-91ae7b9d1cf9> add ecag exp file for zec12


git-svn-id: svn://svn.valgrind.org/valgrind/trunk@13218 a5019735-40e9-0310-863c-91ae7b9d1cf9
390x/ecag.stdout.exp-zec12
04b277235dcbb5ef70e7186be6970683e49b02ae 01-Jan-2013 florian <florian@a5019735-40e9-0310-863c-91ae7b9d1cf9> s390: Add testcases for DFP "shift significant" insns.
Patch by Maran Pakkirisamy (maranp@linux.vnet.ibm.com).
Part of fixing BZ 307113.


git-svn-id: svn://svn.valgrind.org/valgrind/trunk@13215 a5019735-40e9-0310-863c-91ae7b9d1cf9
390x/dfp-2.c
390x/dfp-2.stdout.exp
0a2682a548352f33216fbe58eb2fb8d4661fddfc 28-Dec-2012 florian <florian@a5019735-40e9-0310-863c-91ae7b9d1cf9> s390: Add testcase for "test data class/group" insns.
Patch by Maran Pakkirisamy (maranp@linux.vnet.ibm.com).
This is part of fixing BZ 307113.


git-svn-id: svn://svn.valgrind.org/valgrind/trunk@13214 a5019735-40e9-0310-863c-91ae7b9d1cf9
390x/Makefile.am
390x/dfptest.c
390x/dfptest.stderr.exp
390x/dfptest.stdout.exp
390x/dfptest.vgtest
17c5e2e3a2f48970063ea43a9abee3e11c72cb04 28-Dec-2012 sewardj <sewardj@a5019735-40e9-0310-863c-91ae7b9d1cf9> Improvements to the built-in profiling infrastructure:

--profile-flags=00000000 now prints summary statistics, one line per
profiled block, but with no translation details. Previously it had
no effect.

--profile-interval=<number> is a new flag that causes the profile data
to be dumped and zeroed every <number> event checks. This makes it
possible to get profile data without waiting for runs to end, and to
get profile data which depends on the current workload etc. If
--profile-interval=0 or is unset, the profile is printed only once, at
the end of the run, as before.

--profile-flags=XXXXXXXX (for at least one nonzero X) prints the
summary lines both at the start and end of the profile, so you don't
have to scroll back up to the top to see the summary.



git-svn-id: svn://svn.valgrind.org/valgrind/trunk@13213 a5019735-40e9-0310-863c-91ae7b9d1cf9
mdline2.stdout.exp
518401a912d95b72ba54720b75919403204d6d9a 27-Dec-2012 florian <florian@a5019735-40e9-0310-863c-91ae7b9d1cf9> s390: Add testcases for ESDTR and EXDTR.
Patch by Maran Pakkirisamy (maranp@linux.vnet.ibm.com).
Part of fixing BZ #307113.

[ r13211 was also implemented by Maran. ]


git-svn-id: svn://svn.valgrind.org/valgrind/trunk@13212 a5019735-40e9-0310-863c-91ae7b9d1cf9
390x/dfp-2.c
390x/dfp-2.stdout.exp
29a36b99ad14c9c5a9aa5e89ff3e0d8274fc0339 26-Dec-2012 florian <florian@a5019735-40e9-0310-863c-91ae7b9d1cf9> valgrind side changes to support Iop_CmpExpD64 and Iop_CmpExpD128.
VEX buddy patch is r2617.
Enhance testcase for CEDTR and CEXTR. Adapt vbit tester.
Patch by Maran Pakkirisamy (maranp@linux.vnet.ibm.com).
This is part of fixing BZ 307113.


git-svn-id: svn://svn.valgrind.org/valgrind/trunk@13203 a5019735-40e9-0310-863c-91ae7b9d1cf9
390x/dfp-3.c
390x/dfp-3.stdout.exp
97a3d76543aaeaa6fdcf7e3d32af6a9c307d6dc8 24-Dec-2012 bart <bart@a5019735-40e9-0310-863c-91ae7b9d1cf9> none/tests/process_vm_readv_writev: Avoid that compilation of this test program triggers a compiler warning

git-svn-id: svn://svn.valgrind.org/valgrind/trunk@13201 a5019735-40e9-0310-863c-91ae7b9d1cf9
rocess_vm_readv_writev.c
ef9c8ad79a35557e80bc327a75ba7f8fddfafdc7 23-Dec-2012 florian <florian@a5019735-40e9-0310-863c-91ae7b9d1cf9> s390: Add testcases for CDTR, CXTR, LDETR. LXDTR, LEDTR, LDXTR.
This is part of fixing BZ 307113.
Patch by Maran Pakkirisamy (maranp@linux.vnet.ibm.com).


git-svn-id: svn://svn.valgrind.org/valgrind/trunk@13196 a5019735-40e9-0310-863c-91ae7b9d1cf9
390x/Makefile.am
390x/dfp-3.c
390x/dfp-3.stderr.exp
390x/dfp-3.stdout.exp
390x/dfp-3.vgtest
390x/dfp-4.c
390x/dfp-4.stderr.exp
390x/dfp-4.stdout.exp
390x/dfp-4.vgtest
390x/dfp_utils.h
d8e784debb3bd4e1aa3065015c2ef094dd81307c 21-Dec-2012 florian <florian@a5019735-40e9-0310-863c-91ae7b9d1cf9> Companion patch to VEX r2605. Adds a few testcases and adapts the vbit
tester. This is part of fixing BZ #307113.
Patch by Maran Pakkirisamy (maranp@linux.vnet.ibm.com).


git-svn-id: svn://svn.valgrind.org/valgrind/trunk@13195 a5019735-40e9-0310-863c-91ae7b9d1cf9
390x/Makefile.am
390x/dfp-1.c
390x/dfp-1.stdout.exp
390x/dfp-2.c
390x/dfp-2.stderr.exp
390x/dfp-2.stdout.exp
390x/dfp-2.vgtest
390x/dfp_utils.h
390x/opcodes.h
574e005cca2bb46604caf0bab4e09a3c81153019 12-Dec-2012 sewardj <sewardj@a5019735-40e9-0310-863c-91ae7b9d1cf9> Add test cases for the UMAAL instruction.


git-svn-id: svn://svn.valgrind.org/valgrind/trunk@13176 a5019735-40e9-0310-863c-91ae7b9d1cf9
rm/v6intARM.c
rm/v6intARM.stdout.exp
rm/v6intThumb.c
rm/v6intThumb.stdout.exp
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
86/bt_everything.c
86/bt_literal.c
c30cd9bdc3c13c79a2e0281302b115c3d220bc9d 06-Dec-2012 sewardj <sewardj@a5019735-40e9-0310-863c-91ae7b9d1cf9> Make diagnostics for SIGILL more controllable (Valgrind part).
Fixes #309425. (Mark Wielaard, mjw@redhat.com)


git-svn-id: svn://svn.valgrind.org/valgrind/trunk@13164 a5019735-40e9-0310-863c-91ae7b9d1cf9
mdline1.stdout.exp
mdline2.stdout.exp
56c7a2fe2264a83801182d0725e34d7c41d6bc61 06-Dec-2012 florian <florian@a5019735-40e9-0310-863c-91ae7b9d1cf9> Fix golden log.


git-svn-id: svn://svn.valgrind.org/valgrind/trunk@13156 a5019735-40e9-0310-863c-91ae7b9d1cf9
390x/stfle.stdout.exp
8b6573dd1f5b4ab512a6e70ce23eecd82733aae1 05-Dec-2012 sewardj <sewardj@a5019735-40e9-0310-863c-91ae7b9d1cf9> Add a new command line flag, --extra-debuginfo-path=path, that allows
specification of an extra directory in which to look for debuginfo
objects. Fixes #310792. (Alex Chiang, achiang@canonical.com)



git-svn-id: svn://svn.valgrind.org/valgrind/trunk@13154 a5019735-40e9-0310-863c-91ae7b9d1cf9
mdline1.stdout.exp
mdline2.stdout.exp
370215f5eecb6fb9bc2eabe0a9a348a4de99c2b3 05-Dec-2012 philippe <philippe@a5019735-40e9-0310-863c-91ae7b9d1cf9> Fix missing in EXTRA_DIST errors reported by check_makefile_consistency

memcheck/tests/amd64/Makefile.am:1: error: insn-bsfl.stderr.exp is missing in EXTRA_DIST
memcheck/tests/amd64/Makefile.am:1: error: insn-bsfl.stdout.exp is missing in EXTRA_DIST
memcheck/tests/amd64/Makefile.am:1: error: insn-bsfl.vgtest is missing in EXTRA_DIST
memcheck/tests/amd64/Makefile.am:1: error: insn-pcmpistri.stderr.exp is missing in EXTRA_DIST
memcheck/tests/amd64/Makefile.am:1: error: insn-pcmpistri.stdout.exp is missing in EXTRA_DIST
memcheck/tests/amd64/Makefile.am:1: error: insn-pcmpistri.vgtest is missing in EXTRA_DIST
memcheck/tests/amd64/Makefile.am:1: error: insn-pmovmskb.stderr.exp is missing in EXTRA_DIST
memcheck/tests/amd64/Makefile.am:1: error: insn-pmovmskb.stdout.exp is missing in EXTRA_DIST
memcheck/tests/amd64/Makefile.am:1: error: insn-pmovmskb.vgtest is missing in EXTRA_DIST
none/tests/s390x/Makefile.am:1: error: dfp-1.stderr.exp is missing in EXTRA_DIST
none/tests/s390x/Makefile.am:1: error: dfp-1.stdout.exp is missing in EXTRA_DIST
none/tests/s390x/Makefile.am:1: error: dfp-1.vgtest is missing in EXTRA_DIST



git-svn-id: svn://svn.valgrind.org/valgrind/trunk@13152 a5019735-40e9-0310-863c-91ae7b9d1cf9
390x/Makefile.am
a53843d425a9cc64159bd46833e93febb0a8d797 04-Dec-2012 florian <florian@a5019735-40e9-0310-863c-91ae7b9d1cf9> Beef up testcase. Announce fix.
Part of fixing BZ 310931.


git-svn-id: svn://svn.valgrind.org/valgrind/trunk@13150 a5019735-40e9-0310-863c-91ae7b9d1cf9
390x/stfle.c
390x/stfle.stdout.exp
1bf46009f280a4010598c6484cb4b17b53681c02 02-Dec-2012 florian <florian@a5019735-40e9-0310-863c-91ae7b9d1cf9> Add testcase for LAA insn.
Patch by Divya Vyas (divyvyas@linux.vnet.ibm.com).
Part of fixing BZ #306035.


git-svn-id: svn://svn.valgrind.org/valgrind/trunk@13146 a5019735-40e9-0310-863c-91ae7b9d1cf9
390x/Makefile.am
390x/laa.c
390x/laa.stderr.exp
390x/laa.stdout.exp
390x/laa.vgtest
654b542166d7f2e8e89f1cd8430e7ed2ba96f230 18-Nov-2012 florian <florian@a5019735-40e9-0310-863c-91ae7b9d1cf9> Final patch for Char/HChar mixups.
Remove -Wno-pointer-sign from configure.in.
Fixes 273227.


git-svn-id: svn://svn.valgrind.org/valgrind/trunk@13125 a5019735-40e9-0310-863c-91ae7b9d1cf9
dleak_cmsg.c
ha1_test.c
62840fa36a88579b441f0673dc994e8390d3c20a 11-Nov-2012 florian <florian@a5019735-40e9-0310-863c-91ae7b9d1cf9> Add missing files. They should have been added in r13120.


git-svn-id: svn://svn.valgrind.org/valgrind/trunk@13121 a5019735-40e9-0310-863c-91ae7b9d1cf9
390x/dfp-1.c
390x/dfp-1.stderr.exp
390x/dfp-1.stdout.exp
390x/dfp-1.vgtest
46825980db94de9a1fb0bb3398eb10862fcf2aa7 10-Nov-2012 florian <florian@a5019735-40e9-0310-863c-91ae7b9d1cf9> Update s390_features.c for DFP.
Add a testcase.
Patch by Maran (maranp@linux.vnet.ibm.com).
Part of fixing BZ 307113.
See also VEX r2560.


git-svn-id: svn://svn.valgrind.org/valgrind/trunk@13120 a5019735-40e9-0310-863c-91ae7b9d1cf9
390x/Makefile.am
390x/opcodes.h
e7b55be3b18daff1f59964dac19a4834f11a58a5 27-Oct-2012 florian <florian@a5019735-40e9-0310-863c-91ae7b9d1cf9> Fix fpconv.c to unbreak the build on z10ec.
Add rounding-6.c to test rounding modes for convert-to-fixed per m3
field. (The previous fpconv gave the impression of testing this but
in fact did not).
Add rounding.h to establish symbolic names for the various rounding
modes.


git-svn-id: svn://svn.valgrind.org/valgrind/trunk@13085 a5019735-40e9-0310-863c-91ae7b9d1cf9
390x/Makefile.am
390x/fpconv.c
390x/fpconv.stdout.exp
390x/rounding-3.c
390x/rounding-6.c
390x/rounding-6.stderr.exp
390x/rounding-6.stdout.exp
390x/rounding-6.vgtest
390x/rounding.h
5d2db15af7dc4af32d1ac17513ec5672cbe6f686 21-Oct-2012 philippe <philippe@a5019735-40e9-0310-863c-91ae7b9d1cf9> Introduce a test to reproduce bug 123837 (semctl GETVAL false positive)
The test succeeds on amd64, but fails on x86, with the following diff:

+Syscall param semctl(arg) points to uninitialised byte(s)
+ at 0x........: semctl@@GLIBC_2.2 (semctl.c:109)
+ by 0x........: main (sem.c:36)
+ Address 0x........ is on thread 1's stack
+
+Syscall param semctl(arg) points to uninitialised byte(s)
+ at 0x........: semctl@@GLIBC_2.2 (semctl.c:109)
+ by 0x........: main (sem.c:43)
+ Address 0x........ is on thread 1's stack
+



git-svn-id: svn://svn.valgrind.org/valgrind/trunk@13073 a5019735-40e9-0310-863c-91ae7b9d1cf9
em.c
80e5c17a2a2832793a2d4962fa8264025641e47e 19-Oct-2012 petarj <petarj@a5019735-40e9-0310-863c-91ae7b9d1cf9> Add a proper support for several MIPS instructions that generate SigFPE.

Add support to properly handle TEQ, ADD and SUB instructions that generate
exceptions on MIPS platforms. A SignalException test for MIPS32 has also been
added, so we can cover more cases.

This resolves:

none/tests/faultstatus
gdbserver_tests/mcsignopass
gdbserver_tests/mcsigpass


git-svn-id: svn://svn.valgrind.org/valgrind/trunk@13059 a5019735-40e9-0310-863c-91ae7b9d1cf9
ips32/Makefile.am
ips32/SignalException.c
ips32/SignalException.stderr.exp
ips32/SignalException.vgtest
567f72e1e092b906fcb27e6b05a8b0635e172140 14-Oct-2012 florian <florian@a5019735-40e9-0310-863c-91ae7b9d1cf9> Fix compile errors following function prototype change.


git-svn-id: svn://svn.valgrind.org/valgrind/trunk@13040 a5019735-40e9-0310-863c-91ae7b9d1cf9
algrind_cpp_test.cpp
06444379afbcc0543532872b0e1896c66d2cdf01 12-Oct-2012 philippe <philippe@a5019735-40e9-0310-863c-91ae7b9d1cf9> Some wrong options silently ignored if starting with same letters as valid option

For example, options below are silently "accepted"+ignored:
valgrind --profile-heaps=yes --max-stackframes=35 memcheck/tests/trivialleak
valgrind --profile-heaps=oui --max-stackframes=3.141592654 memcheck/tests/trivialleak

Also fixed the on-line --help output for option --core-redzone-size



git-svn-id: svn://svn.valgrind.org/valgrind/trunk@13037 a5019735-40e9-0310-863c-91ae7b9d1cf9
mdline2.stdout.exp
32438b33547c689b93221148bf3eedbc06ce6abe 08-Oct-2012 cborntra <cborntra@a5019735-40e9-0310-863c-91ae7b9d1cf9> newer versions of devel headers expose CLONE flags only with _GNU_SOURCE
defined


git-svn-id: svn://svn.valgrind.org/valgrind/trunk@13035 a5019735-40e9-0310-863c-91ae7b9d1cf9
390x/test_clone.c
9768109e5d3c18da127dd70f28454171c1eba7c0 07-Oct-2012 florian <florian@a5019735-40e9-0310-863c-91ae7b9d1cf9> s390: Add a few more test from olden times.


git-svn-id: svn://svn.valgrind.org/valgrind/trunk@13027 a5019735-40e9-0310-863c-91ae7b9d1cf9
390x/Makefile.am
390x/clst.c
390x/clst.stderr.exp
390x/clst.stdout.exp
390x/clst.vgtest
390x/mvc.c
390x/mvc.stderr.exp
390x/mvc.stdout.exp
390x/mvc.vgtest
390x/spechelper-algr.c
390x/spechelper-algr.stderr.exp
390x/spechelper-algr.stdout.exp
390x/spechelper-algr.vgtest
390x/spechelper-alr.c
390x/spechelper-alr.stderr.exp
390x/spechelper-alr.stdout.exp
390x/spechelper-alr.vgtest
390x/spechelper-clr.c
390x/spechelper-clr.stderr.exp
390x/spechelper-clr.stdout.exp
390x/spechelper-clr.vgtest
390x/spechelper-cr.c
390x/spechelper-cr.stderr.exp
390x/spechelper-cr.stdout.exp
390x/spechelper-cr.vgtest
390x/spechelper-icm-1.c
390x/spechelper-icm-1.stderr.exp
390x/spechelper-icm-1.stdout.exp
390x/spechelper-icm-1.vgtest
390x/spechelper-icm-2.c
390x/spechelper-icm-2.stderr.exp
390x/spechelper-icm-2.stdout.exp
390x/spechelper-icm-2.vgtest
390x/spechelper-ltr.c
390x/spechelper-ltr.stderr.exp
390x/spechelper-ltr.stdout.exp
390x/spechelper-ltr.vgtest
390x/spechelper-or.c
390x/spechelper-or.stderr.exp
390x/spechelper-or.stdout.exp
390x/spechelper-or.vgtest
390x/spechelper-slgr.c
390x/spechelper-slgr.stderr.exp
390x/spechelper-slgr.stdout.exp
390x/spechelper-slgr.vgtest
390x/spechelper-slr.c
390x/spechelper-slr.stderr.exp
390x/spechelper-slr.stdout.exp
390x/spechelper-slr.vgtest
390x/spechelper-tm.c
390x/spechelper-tm.stderr.exp
390x/spechelper-tm.stdout.exp
390x/spechelper-tm.vgtest
390x/spechelper-tmll.c
390x/spechelper-tmll.stderr.exp
390x/spechelper-tmll.stdout.exp
390x/spechelper-tmll.vgtest
390x/svc.h
390x/test.h
390x/test_clone.c
390x/test_clone.stderr.exp
390x/test_clone.stdout.exp
390x/test_clone.vgtest
390x/test_fork.c
390x/test_fork.stderr.exp
390x/test_fork.stdout.exp
390x/test_fork.vgtest
390x/test_sig.c
390x/test_sig.stderr.exp
390x/test_sig.stdout.exp
390x/test_sig.vgtest
6765329c61dbddebcb721d535e7636472da92090 06-Oct-2012 florian <florian@a5019735-40e9-0310-863c-91ae7b9d1cf9> s390: Add a few more testcases from long time ago.


git-svn-id: svn://svn.valgrind.org/valgrind/trunk@13026 a5019735-40e9-0310-863c-91ae7b9d1cf9
390x/Makefile.am
390x/ex.c
390x/ex.stderr.exp
390x/ex.stdout.exp
390x/ex.vgtest
390x/exrl.c
390x/exrl.stderr.exp
390x/exrl.stdout.exp
390x/exrl.vgtest
390x/stmg.c
390x/stmg.stderr.exp
390x/stmg.stdout.exp
390x/stmg.vgtest
390x/tm.c
390x/tm.stderr.exp
390x/tm.stdout.exp
390x/tm.vgtest
390x/tmll.c
390x/tmll.stderr.exp
390x/tmll.stdout.exp
390x/tmll.vgtest
cac78a38c4ce8c7c6e7b555c0ed82c7beef6022a 23-Sep-2012 florian <florian@a5019735-40e9-0310-863c-91ae7b9d1cf9> s390: Add testcase for some integer comparison insns


git-svn-id: svn://svn.valgrind.org/valgrind/trunk@13012 a5019735-40e9-0310-863c-91ae7b9d1cf9
390x/Makefile.am
390x/comp-1.c
390x/comp-1.stderr.exp
390x/comp-1.stdout.exp
390x/comp-1.vgtest
390x/comp-2.c
390x/comp-2.stderr.exp
390x/comp-2.stdout.exp
390x/comp-2.vgtest
4d87b8a524b632a34b0c60591ed2163e9444eaa4 18-Sep-2012 florian <florian@a5019735-40e9-0310-863c-91ae7b9d1cf9> s390: Add testcases for srnm and srnmb. Update opcode status list.


git-svn-id: svn://svn.valgrind.org/valgrind/trunk@12997 a5019735-40e9-0310-863c-91ae7b9d1cf9
390x/Makefile.am
390x/opcodes.h
390x/srnm.c
390x/srnm.stderr.exp
390x/srnm.stdout.exp
390x/srnm.vgtest
390x/srnmb.c
390x/srnmb.stderr.exp
390x/srnmb.stdout.exp
390x/srnmb.vgtest
6284de389bb3c086b1b9dcc5e7e7949fb64430cd 17-Sep-2012 sewardj <sewardj@a5019735-40e9-0310-863c-91ae7b9d1cf9> Add tests for: uqsub16 shadd16 uhsub8 uhsub16. See #304035.


git-svn-id: svn://svn.valgrind.org/valgrind/trunk@12981 a5019735-40e9-0310-863c-91ae7b9d1cf9
rm/v6media.c
rm/v6media.stdout.exp
15df336557eb012a5f3b2f1482a0411857039496 17-Sep-2012 sewardj <sewardj@a5019735-40e9-0310-863c-91ae7b9d1cf9> Add test cases for PCMPxSTRx variant $0x46. See #306664.


git-svn-id: svn://svn.valgrind.org/valgrind/trunk@12979 a5019735-40e9-0310-863c-91ae7b9d1cf9
md64/pcmpstr64.c
md64/pcmpstr64.stdout.exp
d06fc0dc4740bfbda77a5789c45af1e52bf4ab63 15-Sep-2012 florian <florian@a5019735-40e9-0310-863c-91ae7b9d1cf9> s390: Add a testcase for 32/64-bit bfp comparison insns.


git-svn-id: svn://svn.valgrind.org/valgrind/trunk@12975 a5019735-40e9-0310-863c-91ae7b9d1cf9
390x/Makefile.am
390x/bfp-4.c
390x/bfp-4.stderr.exp
390x/bfp-4.stdout.exp
390x/bfp-4.vgtest
01f771bc6fd369bd10ec0962edd85af1b9b9936f 13-Sep-2012 florian <florian@a5019735-40e9-0310-863c-91ae7b9d1cf9> s390: Add testcase for bfp multiply-and-add/sub


git-svn-id: svn://svn.valgrind.org/valgrind/trunk@12968 a5019735-40e9-0310-863c-91ae7b9d1cf9
390x/Makefile.am
390x/bfp-3.c
390x/bfp-3.stderr.exp
390x/bfp-3.stdout.exp
390x/bfp-3.vgtest
a631eb2b19fa4308aed147fc14487f63b06e58d1 13-Sep-2012 florian <florian@a5019735-40e9-0310-863c-91ae7b9d1cf9> s390: Add testcase for square root and load positive/negative/complement.
Tests are for 32/64-bit values only.


git-svn-id: svn://svn.valgrind.org/valgrind/trunk@12967 a5019735-40e9-0310-863c-91ae7b9d1cf9
390x/Makefile.am
390x/bfp-2.c
390x/bfp-2.stderr.exp
390x/bfp-2.stdout.exp
390x/bfp-2.vgtest
f12ec1507af068ac508e486feb2050ebeb670f4b 12-Sep-2012 florian <florian@a5019735-40e9-0310-863c-91ae7b9d1cf9> s390x: Testcases for floating point 32/64-bit. Related to VEX r2525.


git-svn-id: svn://svn.valgrind.org/valgrind/trunk@12966 a5019735-40e9-0310-863c-91ae7b9d1cf9
390x/Makefile.am
390x/bfp-1.c
390x/bfp-1.stderr.exp
390x/bfp-1.stdout.exp
390x/bfp-1.vgtest
390x/opcodes.h
390x/rounding-2.c
390x/rounding-2.stderr.exp
390x/rounding-2.stdout.exp
390x/rounding-2.vgtest
390x/rounding-3.c
390x/rounding-3.stderr.exp
390x/rounding-3.stdout.exp
390x/rounding-3.vgtest
390x/rounding-4.c
390x/rounding-4.stderr.exp
390x/rounding-4.stdout.exp
390x/rounding-4.vgtest
390x/rounding-5.c
390x/rounding-5.stderr.exp
390x/rounding-5.stdout.exp
390x/rounding-5.vgtest
729c3a5dd0fa0686a8af4d9b930b4a493fdc3ecd 06-Sep-2012 florian <florian@a5019735-40e9-0310-863c-91ae7b9d1cf9> s390: Add a testcase for condition code computation for
convert-to-fixed. See VEX r2516. Part of fixing bugzilla #306054.


git-svn-id: svn://svn.valgrind.org/valgrind/trunk@12958 a5019735-40e9-0310-863c-91ae7b9d1cf9
390x/Makefile.am
390x/rounding-1.c
390x/rounding-1.stderr.exp
390x/rounding-1.stdout.exp
390x/rounding-1.vgtest
e4b0cff8d5088b3c705d1b19c22636f85c61bb7d 03-Sep-2012 florian <florian@a5019735-40e9-0310-863c-91ae7b9d1cf9> Update testcase as a followup to VEX r2509.


git-svn-id: svn://svn.valgrind.org/valgrind/trunk@12955 a5019735-40e9-0310-863c-91ae7b9d1cf9
390x/fpext_warn.c
390x/fpext_warn.stderr.exp
af97692c24f4ee1dbde71e54b7244f0d099fe5b7 02-Sep-2012 florian <florian@a5019735-40e9-0310-863c-91ae7b9d1cf9> Add testcase to check the emulation warning for new supported opcodes
on hosts without floating point extension facility.
See companion patch VEX r2501.
Part of fixing bugzilla #306098.


git-svn-id: svn://svn.valgrind.org/valgrind/trunk@12935 a5019735-40e9-0310-863c-91ae7b9d1cf9
390x/Makefile.am
390x/fpext_warn.c
390x/fpext_warn.stderr.exp
390x/fpext_warn.stdout.exp
390x/fpext_warn.vgtest
390x/opcodes.h
a066ccdcfd4e6f20fada0e772e279dc2035cb930 02-Sep-2012 florian <florian@a5019735-40e9-0310-863c-91ae7b9d1cf9> Change s390-features to allow testing for absence of a feature.
This is infintely less painful than to find out how to invert
the condition in a test prerequisite.


git-svn-id: svn://svn.valgrind.org/valgrind/trunk@12928 a5019735-40e9-0310-863c-91ae7b9d1cf9
390x/fpext_fail.vgtest
3950ce8675cd4fb388f389d369e203db3a8829e3 02-Sep-2012 florian <florian@a5019735-40e9-0310-863c-91ae7b9d1cf9> Fix Makefile.am for fpext_fail testcase.


git-svn-id: svn://svn.valgrind.org/valgrind/trunk@12926 a5019735-40e9-0310-863c-91ae7b9d1cf9
390x/Makefile.am
5570df416ccd67c56b485876fb3dfc6b54e26711 01-Sep-2012 florian <florian@a5019735-40e9-0310-863c-91ae7b9d1cf9> s390: Add testcase for emulation failure.


git-svn-id: svn://svn.valgrind.org/valgrind/trunk@12922 a5019735-40e9-0310-863c-91ae7b9d1cf9
390x/Makefile.am
390x/fpext_fail.stderr.exp
390x/fpext_fail.stdout.exp
390x/fpext_fail.vgtest
1b9609aa2638e4c81f3eb0d27fdaa4c944aaf33e 01-Sep-2012 florian <florian@a5019735-40e9-0310-863c-91ae7b9d1cf9> s390: Valgrind-side changes to fixing bugzilla #274695:
Testcase, vbit tester update, memcheck support for the new IROps,
NEWS announcement and opcode list update.
Patch by Christian Borntraeger (borntraeger@de.ibm.com).
Vbit tester tweaks by myself.
Fixes bugzilla #274695.
See also companion patch VEX r2496.


git-svn-id: svn://svn.valgrind.org/valgrind/trunk@12921 a5019735-40e9-0310-863c-91ae7b9d1cf9
390x/Makefile.am
390x/fpext.c
390x/fpext.stderr.exp
390x/fpext.stdout.exp
390x/fpext.vgtest
390x/opcodes.h
74ec8c795646877d62acd6240e8448c6a0f0ff02 28-Aug-2012 florian <florian@a5019735-40e9-0310-863c-91ae7b9d1cf9> Remove .deps directory.


git-svn-id: svn://svn.valgrind.org/valgrind/trunk@12909 a5019735-40e9-0310-863c-91ae7b9d1cf9
ips32/.deps/FPUarithmetic.Po
ips32/.deps/LoadStore.Po
ips32/.deps/LoadStore1.Po
ips32/.deps/MIPS32int.Po
ips32/.deps/MemCpyTest.Po
ips32/.deps/MoveIns.Po
ips32/.deps/allexec-allexec.Po
ips32/.deps/branches.Po
ips32/.deps/round.Po
ips32/.deps/vfp.Po
9bf4540507767487d66a415abcc02e83266bee81 28-Aug-2012 florian <florian@a5019735-40e9-0310-863c-91ae7b9d1cf9> Fix EXTRA_DIST. Add dummy .exp file to satisfy the consistency checker


git-svn-id: svn://svn.valgrind.org/valgrind/trunk@12904 a5019735-40e9-0310-863c-91ae7b9d1cf9
390x/Makefile.am
390x/ecag.stdout.exp
4d14968f6d322633d3977e76981a337983cc66e3 26-Aug-2012 florian <florian@a5019735-40e9-0310-863c-91ae7b9d1cf9> s390: Add testcase for the ecag insn. Based on patch by
Divya Vyas (divyvyas@linux.vnet.ibm.com). Update opcode list.


git-svn-id: svn://svn.valgrind.org/valgrind/trunk@12903 a5019735-40e9-0310-863c-91ae7b9d1cf9
390x/Makefile.am
390x/ecag.c
390x/ecag.stderr.exp
390x/ecag.stdout.exp-z10ec
390x/ecag.stdout.exp-z196
390x/ecag.vgtest
390x/opcodes.h
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
86/Makefile.am
86/movbe.c
86/movbe.stderr.exp
86/movbe.stdout.exp
86/movbe.vgtest
cc20002f6fecb88314f6e7693dbc6d6c7ede4a78 23-Aug-2012 sewardj <sewardj@a5019735-40e9-0310-863c-91ae7b9d1cf9> Add test cases for QDADD and QDSUB. See #305199. (Mans Rullgard,
mans@mansr.com)


git-svn-id: svn://svn.valgrind.org/valgrind/trunk@12888 a5019735-40e9-0310-863c-91ae7b9d1cf9
rm/v6media.c
rm/v6media.stdout.exp
5b240c20b48c86955e574d5880a145927c60a686 15-Aug-2012 philippe <philippe@a5019735-40e9-0310-863c-91ae7b9d1cf9> Implement --vex-iropt-register-updates=sp-at-mem-access

Option sp-at-mem-access can be used by tools which do not
need an up to date BP and IP at each mem access.
It is needed however to have SP up to date at each memory
access, as an up to date SP is needed to grow the stack in
m_signals.c

Tools massif, cachegrind and callgrind are using sp-at-mem-access
as default.
None tool could also use sp-at-mem-access but default is kept
to unwindregs-at-mem-access (similar to memcheck, drd, helgrind, exp-sgcheck).

exp-dhat, exp-bbv, lackey have not been looked at to see if they
could make use of sp-at-mem-access.

Validated on x86, amd64, ppc64 and s390x.



git-svn-id: svn://svn.valgrind.org/valgrind/trunk@12872 a5019735-40e9-0310-863c-91ae7b9d1cf9
mdline2.stdout.exp
768bc7a88f9f90cbb0f9803cd11e6503eaeeab8c 08-Aug-2012 cborntra <cborntra@a5019735-40e9-0310-863c-91ae7b9d1cf9> wire up testcase


git-svn-id: svn://svn.valgrind.org/valgrind/trunk@12860 a5019735-40e9-0310-863c-91ae7b9d1cf9
390x/fpconv.stderr.exp
390x/fpconv.stdout.exp
390x/fpconv.vgtest
e2130e89120b61831dc23268ffbdfd3ac0380621 08-Aug-2012 cborntra <cborntra@a5019735-40e9-0310-863c-91ae7b9d1cf9> Add a testcase for floating point <-> signed conversion that
actually checks the condition code of the conversion instruction
(most programs dont do that)


git-svn-id: svn://svn.valgrind.org/valgrind/trunk@12859 a5019735-40e9-0310-863c-91ae7b9d1cf9
390x/Makefile.am
390x/fpconv.c
260c6486b5484b7dfd016248706c2aa555668768 07-Aug-2012 sewardj <sewardj@a5019735-40e9-0310-863c-91ae7b9d1cf9> Add a couple of useful examples to the --help text for
--soname-synonyms.


git-svn-id: svn://svn.valgrind.org/valgrind/trunk@12855 a5019735-40e9-0310-863c-91ae7b9d1cf9
mdline1.stdout.exp
mdline2.stdout.exp
2a9f1aa306a10ba2bfaca57a3a2baa806a4dd969 06-Aug-2012 florian <florian@a5019735-40e9-0310-863c-91ae7b9d1cf9> Add prerequisites.


git-svn-id: svn://svn.valgrind.org/valgrind/trunk@12854 a5019735-40e9-0310-863c-91ae7b9d1cf9
390x/cu12_1.vgtest
390x/cu14_1.vgtest
390x/cu24_1.vgtest
6746c4cc67bf9f4022bf642efe175a8234a44de1 06-Aug-2012 florian <florian@a5019735-40e9-0310-863c-91ae7b9d1cf9> Add a testcase for the cu41 insn. Update opcode list, NEWS and bugstatus.
#289839 is finally fixed.


git-svn-id: svn://svn.valgrind.org/valgrind/trunk@12851 a5019735-40e9-0310-863c-91ae7b9d1cf9
390x/Makefile.am
390x/cu41.c
390x/cu41.stderr.exp
390x/cu41.stdout.exp
390x/cu41.vgtest
33722a6e0450765e50505ada7f487a4b6a36bcac 05-Aug-2012 sewardj <sewardj@a5019735-40e9-0310-863c-91ae7b9d1cf9> Update expected outputs following r12843.


git-svn-id: svn://svn.valgrind.org/valgrind/trunk@12844 a5019735-40e9-0310-863c-91ae7b9d1cf9
mdline1.stdout.exp
mdline2.stdout.exp
3cf757714f8561daf2ab582dc7af15450f2fe184 05-Aug-2012 florian <florian@a5019735-40e9-0310-863c-91ae7b9d1cf9> Add testcases for the cu14 insn. Update opcode table.
Part of fixing #289839.


git-svn-id: svn://svn.valgrind.org/valgrind/trunk@12837 a5019735-40e9-0310-863c-91ae7b9d1cf9
390x/Makefile.am
390x/cu14.c
390x/cu14.stderr.exp
390x/cu14.stdout.exp
390x/cu14.vgtest
390x/cu14_1.c
390x/cu14_1.stderr.exp
390x/cu14_1.stdout.exp
390x/cu14_1.vgtest
8b585d1259375371771442ff47af2b739fd8f497 04-Aug-2012 bart <bart@a5019735-40e9-0310-863c-91ae7b9d1cf9> none/tests/amd64/movbe: Run this test only if the movbe executable has been built

git-svn-id: svn://svn.valgrind.org/valgrind/trunk@12827 a5019735-40e9-0310-863c-91ae7b9d1cf9
md64/movbe.vgtest
03129681ef833f5d2461437a48f162dddd4d0c6f 04-Aug-2012 florian <florian@a5019735-40e9-0310-863c-91ae7b9d1cf9> Fix a cut'n paste error. One byte was uninitialised. Now fixed.


git-svn-id: svn://svn.valgrind.org/valgrind/trunk@12826 a5019735-40e9-0310-863c-91ae7b9d1cf9
390x/cu12.c
390x/cu12.stdout.exp
390x/cu12_1.stdout.exp
460faadcc0661f0f1171ab268dbb8eae42c17f96 03-Aug-2012 florian <florian@a5019735-40e9-0310-863c-91ae7b9d1cf9> Simplify.


git-svn-id: svn://svn.valgrind.org/valgrind/trunk@12823 a5019735-40e9-0310-863c-91ae7b9d1cf9
390x/Makefile.am
28d6815ef1257d33f370d92991d9a0088b718241 03-Aug-2012 florian <florian@a5019735-40e9-0310-863c-91ae7b9d1cf9> Fix testcase. Iterating over an array of invalid insns to test them all
does not work, as conversion will stop at the first invalid character.
So... need to loop over them.


git-svn-id: svn://svn.valgrind.org/valgrind/trunk@12822 a5019735-40e9-0310-863c-91ae7b9d1cf9
390x/cu42.c
390x/cu42.stdout.exp
9bbe2bba6654d3ec71107544dc6bc9d099c0f2dd 03-Aug-2012 bart <bart@a5019735-40e9-0310-863c-91ae7b9d1cf9> none/tests/amd64/avx-1: Make it explicit that this test uses the vpclmulqdq instruction

git-svn-id: svn://svn.valgrind.org/valgrind/trunk@12821 a5019735-40e9-0310-863c-91ae7b9d1cf9
md64/Makefile.am
965977c3facb05dc36068fdc5cdfaaac4630f40e 03-Aug-2012 florian <florian@a5019735-40e9-0310-863c-91ae7b9d1cf9> Add testcases for cu12. Update opcode table.
Part of fixing #289839.


git-svn-id: svn://svn.valgrind.org/valgrind/trunk@12820 a5019735-40e9-0310-863c-91ae7b9d1cf9
390x/Makefile.am
390x/cu12.c
390x/cu12.stderr.exp
390x/cu12.stdout.exp
390x/cu12.vgtest
390x/cu12_1.c
390x/cu12_1.stderr.exp
390x/cu12_1.stdout.exp
390x/cu12_1.vgtest
0c0291ae749d16571a18d48f546e2b14d2ebf220 02-Aug-2012 philippe <philippe@a5019735-40e9-0310-863c-91ae7b9d1cf9> Remove --vex-iropt-precise-memory-exns, implement --vex-iropt-register-updates

* Option --vex-iropt-precise-memory-exns has been removed.
It is replaced by --vex-iropt-register-updates which accepts
3 values : 'unwindregs-at-mem-access' (replacing
--vex-iropt-precise-memory-exns=no), 'allregs-at-mem-access'
(replacing --vex-iropt-precise-memory-exns=yes)
and a new value 'allregs-at-each-insn'.
'allregs-at-each-insn' allows the Valgrind gdbserver to always
show up to date values to GDB.



git-svn-id: svn://svn.valgrind.org/valgrind/trunk@12809 a5019735-40e9-0310-863c-91ae7b9d1cf9
mdline2.stdout.exp
elfrun.vgtest
4badeae5b56de476baaebbfa5f01cd603b459414 02-Aug-2012 sewardj <sewardj@a5019735-40e9-0310-863c-91ae7b9d1cf9> Add test cases for "VCVT.F32.{S,U}32 S[d], S[d], #frac_bits"


git-svn-id: svn://svn.valgrind.org/valgrind/trunk@12808 a5019735-40e9-0310-863c-91ae7b9d1cf9
rm/Makefile.am
rm/vcvt_fixed_float_VFP.c
rm/vcvt_fixed_float_VFP.stderr.exp
rm/vcvt_fixed_float_VFP.stdout.exp
rm/vcvt_fixed_float_VFP.vgtest
d99c26a4bc18fd3b17c4626c9c1fbd1583388660 01-Aug-2012 philippe <philippe@a5019735-40e9-0310-863c-91ae7b9d1cf9> Implement --redzone-size and --core-redzone-size

* For tools replacing the malloc library (e.g. Memcheck, Helgrind, ...),
the option --redzone-size=<number> allows to control the padding
blocks (redzones) added before and after each client allocated block.
Smaller redzones decrease the memory needed by Valgrind. Bigger
redzones increase the chance to detect blocks overrun or underrun.



git-svn-id: svn://svn.valgrind.org/valgrind/trunk@12807 a5019735-40e9-0310-863c-91ae7b9d1cf9
mdline1.stdout.exp
mdline2.stdout.exp
a73d342e9da11432d25ab0c164c8f89c33394504 29-Jul-2012 florian <florian@a5019735-40e9-0310-863c-91ae7b9d1cf9> Testcases for CU42. Part of fixing bugzilla #289839.
Update opcode table.


git-svn-id: svn://svn.valgrind.org/valgrind/trunk@12804 a5019735-40e9-0310-863c-91ae7b9d1cf9
390x/Makefile.am
390x/cu42.c
390x/cu42.stderr.exp
390x/cu42.stdout.exp
390x/cu42.vgtest
c52e0f546176a373fd25f29f914140c8eed81007 28-Jul-2012 florian <florian@a5019735-40e9-0310-863c-91ae7b9d1cf9> Fix error message in testcase


git-svn-id: svn://svn.valgrind.org/valgrind/trunk@12801 a5019735-40e9-0310-863c-91ae7b9d1cf9
390x/cu21.c
64f6a4a21f22f8dcff9c124feb7d1df1e52af029 28-Jul-2012 bart <bart@a5019735-40e9-0310-863c-91ae7b9d1cf9> none/tests/amd64/Makefile.am: Uses not only AVX instructions but PCLMULQDQ too

git-svn-id: svn://svn.valgrind.org/valgrind/trunk@12795 a5019735-40e9-0310-863c-91ae7b9d1cf9
md64/Makefile.am
817eb915e63aa04d5f2b1e99b1fae07f865a2110 27-Jul-2012 petarj <petarj@a5019735-40e9-0310-863c-91ae7b9d1cf9> MIPS specific exp-out for none/tests/async-sigs.

MIPS has different signal values, so it has to have its own expected output for
the tests that deal with signal values.
This fixes (false) failure in none/tests/async-sigs.


git-svn-id: svn://svn.valgrind.org/valgrind/trunk@12791 a5019735-40e9-0310-863c-91ae7b9d1cf9
akefile.am
sync-sigs.stderr.exp-mips32
c58d7d513b2ead9111c566f8f0fc2f764400865e 26-Jul-2012 bart <bart@a5019735-40e9-0310-863c-91ae7b9d1cf9> none/tests/amd64/pcmpstr64: Update expected output after r12780

git-svn-id: svn://svn.valgrind.org/valgrind/trunk@12788 a5019735-40e9-0310-863c-91ae7b9d1cf9
md64/pcmpstr64.stdout.exp
md64/pcmpstr64w.stdout.exp
2baf7530db4074d01a1a0fc8673c975bf2b50787 26-Jul-2012 florian <florian@a5019735-40e9-0310-863c-91ae7b9d1cf9> Due to s390's dealings with invalid insns we need to do two things
- advance the guest_IA to the next insn after raising the signal
- adjusting the address in a complaint to point to the failing insn
(after guest_IA has been advanced)
Update testcases .exp files.


git-svn-id: svn://svn.valgrind.org/valgrind/trunk@12787 a5019735-40e9-0310-863c-91ae7b9d1cf9
390x/op00.stderr.exp1
390x/op00.stderr.exp2
390x/op_exception.stderr.exp
c5274ae844ae01cde66e35f1873ed37726dccd45 25-Jul-2012 weidendo <weidendo@a5019735-40e9-0310-863c-91ae7b9d1cf9> Additions to PCMPxSTRx tests to check fix for bug 303963.

Some tests used movdqa triggering a seg fault. Use movdqu instead.

git-svn-id: svn://svn.valgrind.org/valgrind/trunk@12780 a5019735-40e9-0310-863c-91ae7b9d1cf9
md64/pcmpstr64.c
md64/pcmpstr64w.c
91cdf9073e44c3a472fe6fa9c4c92ed608d54a1b 24-Jul-2012 florian <florian@a5019735-40e9-0310-863c-91ae7b9d1cf9> Fix testcase and update results.


git-svn-id: svn://svn.valgrind.org/valgrind/trunk@12779 a5019735-40e9-0310-863c-91ae7b9d1cf9
390x/tre.c
390x/tre.stdout.exp
1a22a57936df184cba5e86316b0ebe0d789a5923 23-Jul-2012 florian <florian@a5019735-40e9-0310-863c-91ae7b9d1cf9> Update expected results.
This is the companion patch to VEX r2444 which backs out the special
handling for the 00 opcode.


git-svn-id: svn://svn.valgrind.org/valgrind/trunk@12776 a5019735-40e9-0310-863c-91ae7b9d1cf9
390x/op00.stderr.exp1
390x/op00.stderr.exp2
390x/op_exception.stderr.exp
42d6ce6817bb4cfc9c0284f136592f6c55568bf7 21-Jul-2012 florian <florian@a5019735-40e9-0310-863c-91ae7b9d1cf9> Add testcases for CU24. Part of fixing #289839.


git-svn-id: svn://svn.valgrind.org/valgrind/trunk@12771 a5019735-40e9-0310-863c-91ae7b9d1cf9
390x/Makefile.am
390x/cu24.c
390x/cu24.stderr.exp
390x/cu24.stdout.exp
390x/cu24.vgtest
390x/cu24_1.c
390x/cu24_1.stderr.exp
390x/cu24_1.stdout.exp
390x/cu24_1.vgtest
b7eaf815e14e920b90277de12fa6ac4760d5859c 20-Jul-2012 florian <florian@a5019735-40e9-0310-863c-91ae7b9d1cf9> Add testcases for CU21. Update opcode table.
WRT the memcheck test: the good news is we get all the complaints
we want. The bad news is:
- the line numbers from within do_cu21 are off
- there are 2 complaints when attempting to convert from
an uninitialised input buffer instead of one. One of them has a
completely bogus line number.

Possibly due to bad debug info? Let's see what happens on machines
with more recent GCCs.


git-svn-id: svn://svn.valgrind.org/valgrind/trunk@12765 a5019735-40e9-0310-863c-91ae7b9d1cf9
390x/Makefile.am
390x/cu21.c
390x/cu21.stderr.exp
390x/cu21.stdout.exp
390x/cu21.vgtest
390x/cu21_1.c
390x/cu21_1.stderr.exp
390x/cu21_1.stdout.exp
390x/cu21_1.vgtest
3015f067aa4220523ad9e730bb2b14df91a6d3e5 20-Jul-2012 florian <florian@a5019735-40e9-0310-863c-91ae7b9d1cf9> Add macros for "convert unicode" insns.


git-svn-id: svn://svn.valgrind.org/valgrind/trunk@12764 a5019735-40e9-0310-863c-91ae7b9d1cf9
390x/opcodes.h
4931c0dbc3912b97beb3784122d1ea7825a2c882 16-Jul-2012 petarj <petarj@a5019735-40e9-0310-863c-91ae7b9d1cf9> Conditionally execute tests depending on revision of MIPS architecture.

Support has been added to the tests for MIPS32 revision 1. Previously, all the
tests had to be compiled for MIPS32r2 platforms.


git-svn-id: svn://svn.valgrind.org/valgrind/trunk@12751 a5019735-40e9-0310-863c-91ae7b9d1cf9
ips32/FPUarithmetic.c
ips32/FPUarithmetic.stdout.exp-mips32
ips32/MIPS32int.c
ips32/MIPS32int.stdout.exp-mips32
ips32/Makefile.am
ips32/round.c
ips32/vfp.c
ips32/vfp.stdout.exp-mips32
b08d84d6edc52bcc4bd2e89a50197c1a267596db 16-Jul-2012 sewardj <sewardj@a5019735-40e9-0310-863c-91ae7b9d1cf9> Add tests for MOVBE -- an Intel-Atom-only instruction


git-svn-id: svn://svn.valgrind.org/valgrind/trunk@12750 a5019735-40e9-0310-863c-91ae7b9d1cf9
md64/Makefile.am
md64/movbe.c
md64/movbe.stderr.exp
md64/movbe.stdout.exp
md64/movbe.vgtest
58440e7c93034100dd02b95f4790484777b9b3a8 14-Jul-2012 sewardj <sewardj@a5019735-40e9-0310-863c-91ae7b9d1cf9> Add expected outputs for VCMPNGESS. Should have been included in r12745.


git-svn-id: svn://svn.valgrind.org/valgrind/trunk@12748 a5019735-40e9-0310-863c-91ae7b9d1cf9
md64/avx-1.stdout.exp
1bc3c008ee3c3e02c893fff9a2a3421b77e19e3e 14-Jul-2012 sewardj <sewardj@a5019735-40e9-0310-863c-91ae7b9d1cf9> Add test case for VCMPNGESS.


git-svn-id: svn://svn.valgrind.org/valgrind/trunk@12745 a5019735-40e9-0310-863c-91ae7b9d1cf9
md64/avx-1.c
931acaf41394f2eaa9bd7041c5056d93f7d96b35 11-Jul-2012 sewardj <sewardj@a5019735-40e9-0310-863c-91ae7b9d1cf9> Add tests for SMMUL{R}, both ARM and Thumb encodings.


git-svn-id: svn://svn.valgrind.org/valgrind/trunk@12733 a5019735-40e9-0310-863c-91ae7b9d1cf9
rm/Makefile.am
rm/v6intARM.c
rm/v6intARM.stdout.exp
rm/v6intThumb.c
rm/v6intThumb.stdout.exp
2157b2c139946c0b70c0e5e2ae2a38de57a43954 11-Jul-2012 sewardj <sewardj@a5019735-40e9-0310-863c-91ae7b9d1cf9> RM: Implement QADD and QSUB (valgrind side fixes). Fixes #286917.


git-svn-id: svn://svn.valgrind.org/valgrind/trunk@12727 a5019735-40e9-0310-863c-91ae7b9d1cf9
rm/v6media.c
rm/v6media.stdout.exp
4d7a7711f245939d430edfec9d98facfa018779e 07-Jul-2012 bart <bart@a5019735-40e9-0310-863c-91ae7b9d1cf9> none/tests/ifunc: Only run this test if the "ifunc" executable has been built

git-svn-id: svn://svn.valgrind.org/valgrind/trunk@12722 a5019735-40e9-0310-863c-91ae7b9d1cf9
func.vgtest
32b4a4264d671d072f57190fe88262ae698f6fa3 07-Jul-2012 philippe <philippe@a5019735-40e9-0310-863c-91ae7b9d1cf9> fix 303127 Power test suite fixes for frsqrte, vrefp, and vrsqrtefp instructions

The frsqrte and vrefp instructions produce an approximate result.
According to the ISA document for the POWER processor, the result will
vary in its precision for different processor implementations. This patch
fixes the masks to be applied to the results to remove the variability
in the results. The expected output files are also updated to reflect the
change in the result given the new masking of the result.

patch from Carl Love <cel@us.ibm.com>



git-svn-id: svn://svn.valgrind.org/valgrind/trunk@12720 a5019735-40e9-0310-863c-91ae7b9d1cf9
pc32/jm-fp.stdout.exp
pc32/jm-insns.c
pc32/jm-vmx.stdout.exp
pc32/jm-vmx.stdout.exp_Minus_nan
pc64/jm-fp.stdout.exp
pc64/jm-vmx.stdout.exp
pc64/jm-vmx.stdout.exp_Minus_nan
a6be8b1a7dd8b02ba74d7865430aa8ec44b4a79c 06-Jul-2012 philippe <philippe@a5019735-40e9-0310-863c-91ae7b9d1cf9> fix 303116 - Add support for the POWER instruction popcntb (Valgrind side)
patch from carll@us.ibm.com


git-svn-id: svn://svn.valgrind.org/valgrind/trunk@12719 a5019735-40e9-0310-863c-91ae7b9d1cf9
pc32/jm-insns.c
pc32/jm-int.stdout.exp
pc64/jm-int.stdout.exp
b0e5b69e93fc6525194079347fb5e8d611c99ebd 06-Jul-2012 philippe <philippe@a5019735-40e9-0310-863c-91ae7b9d1cf9> fix 302918 Enable testing of the vmaddfp and vnsubfp instructions in the testsuite



git-svn-id: svn://svn.valgrind.org/valgrind/trunk@12718 a5019735-40e9-0310-863c-91ae7b9d1cf9
pc32/jm-insns.c
pc32/jm-vmx.stdout.exp
pc32/jm-vmx.stdout.exp_Minus_nan
pc64/jm-vmx.stdout.exp
pc64/jm-vmx.stdout.exp_Minus_nan
251c2f9f0276a997af68d48934896d905e531707 05-Jul-2012 florian <florian@a5019735-40e9-0310-863c-91ae7b9d1cf9> Add testcase from bugzilla #301204.
Testcase by Chantry Xavier (shiningxc@gmail.com).


git-svn-id: svn://svn.valgrind.org/valgrind/trunk@12715 a5019735-40e9-0310-863c-91ae7b9d1cf9
akefile.am
func.c
func.stderr.exp
func.stdout.exp
func.vgtest
f1dcf31faaf02840b059ce8397977cb814c48493 03-Jul-2012 florian <florian@a5019735-40e9-0310-863c-91ae7b9d1cf9> Add new .exp file to EXTRA_DIST


git-svn-id: svn://svn.valgrind.org/valgrind/trunk@12706 a5019735-40e9-0310-863c-91ae7b9d1cf9
akefile.am
95e330f96cee64b95ae4263b54f9292bd894459a 03-Jul-2012 florian <florian@a5019735-40e9-0310-863c-91ae7b9d1cf9> Yet another exp file for dash (0.5.7-2ubuntu2).


git-svn-id: svn://svn.valgrind.org/valgrind/trunk@12705 a5019735-40e9-0310-863c-91ae7b9d1cf9
hell.stderr.exp-dash2
9aa15b7350fc510361290d7ada6e9ddd26bf69fa 03-Jul-2012 florian <florian@a5019735-40e9-0310-863c-91ae7b9d1cf9> Update exp file (should have been part of r12701).


git-svn-id: svn://svn.valgrind.org/valgrind/trunk@12703 a5019735-40e9-0310-863c-91ae7b9d1cf9
mdline2.stdout.exp
e15e9540b7b88adb2886155474d163aef67f7c79 25-Jun-2012 sewardj <sewardj@a5019735-40e9-0310-863c-91ae7b9d1cf9> Finalise the expected output.


git-svn-id: svn://svn.valgrind.org/valgrind/trunk@12675 a5019735-40e9-0310-863c-91ae7b9d1cf9
md64/avx-1.stdout.exp
b51efc35a8322f5b370243079e23627a079a43d8 25-Jun-2012 sewardj <sewardj@a5019735-40e9-0310-863c-91ae7b9d1cf9> Improve testing of AVX FP comparisons.


git-svn-id: svn://svn.valgrind.org/valgrind/trunk@12674 a5019735-40e9-0310-863c-91ae7b9d1cf9
md64/avx-1.c
502ae537db067a975dbce0264846c8bab343c6fb 24-Jun-2012 sewardj <sewardj@a5019735-40e9-0310-863c-91ae7b9d1cf9> Update.


git-svn-id: svn://svn.valgrind.org/valgrind/trunk@12672 a5019735-40e9-0310-863c-91ae7b9d1cf9
md64/avx-1.c
9ad4c4281f0860f7b1a6de7aeb62f1f70742e3e3 24-Jun-2012 sewardj <sewardj@a5019735-40e9-0310-863c-91ae7b9d1cf9> Update.


git-svn-id: svn://svn.valgrind.org/valgrind/trunk@12671 a5019735-40e9-0310-863c-91ae7b9d1cf9
md64/avx-1.c
9c1f2357c73a6711b3b641660b3e133318598a34 24-Jun-2012 sewardj <sewardj@a5019735-40e9-0310-863c-91ae7b9d1cf9> Update.


git-svn-id: svn://svn.valgrind.org/valgrind/trunk@12670 a5019735-40e9-0310-863c-91ae7b9d1cf9
md64/avx-1.c
485b447a01ebd9490b0ef7562e0ea99edee5bda7 24-Jun-2012 sewardj <sewardj@a5019735-40e9-0310-863c-91ae7b9d1cf9> Update.


git-svn-id: svn://svn.valgrind.org/valgrind/trunk@12669 a5019735-40e9-0310-863c-91ae7b9d1cf9
md64/avx-1.c
cf96744c0dbc586b7da51fdc42494357c8903522 24-Jun-2012 sewardj <sewardj@a5019735-40e9-0310-863c-91ae7b9d1cf9> Update.


git-svn-id: svn://svn.valgrind.org/valgrind/trunk@12668 a5019735-40e9-0310-863c-91ae7b9d1cf9
md64/avx-1.c
ebd9b78bb03478ee663c3461853504951ccf3696 24-Jun-2012 sewardj <sewardj@a5019735-40e9-0310-863c-91ae7b9d1cf9> Update.


git-svn-id: svn://svn.valgrind.org/valgrind/trunk@12667 a5019735-40e9-0310-863c-91ae7b9d1cf9
md64/avx-1.c
285c723264b5c277b361acd7f8896830dc5829ab 24-Jun-2012 sewardj <sewardj@a5019735-40e9-0310-863c-91ae7b9d1cf9> Update.


git-svn-id: svn://svn.valgrind.org/valgrind/trunk@12666 a5019735-40e9-0310-863c-91ae7b9d1cf9
md64/avx-1.c
f5c095519bfcc0ced0afe640acd61a8312fc8d13 24-Jun-2012 sewardj <sewardj@a5019735-40e9-0310-863c-91ae7b9d1cf9> Allow each test to be run multiple times (default is 3), rather than
just once.


git-svn-id: svn://svn.valgrind.org/valgrind/trunk@12665 a5019735-40e9-0310-863c-91ae7b9d1cf9
md64/avx-1.c
35e7c8201033578d20b6b4c2e43c2a47358427c8 24-Jun-2012 sewardj <sewardj@a5019735-40e9-0310-863c-91ae7b9d1cf9> Update.


git-svn-id: svn://svn.valgrind.org/valgrind/trunk@12664 a5019735-40e9-0310-863c-91ae7b9d1cf9
md64/avx-1.c
7ea7aa23b433745c5ba163add38415aa79c92344 23-Jun-2012 bart <bart@a5019735-40e9-0310-863c-91ae7b9d1cf9> Fix compiler warnings for ppc test cases. Patch from Carl Love (carll@us.ibm.com). See also #302205.


git-svn-id: svn://svn.valgrind.org/valgrind/trunk@12663 a5019735-40e9-0310-863c-91ae7b9d1cf9
pc32/jm-insns.c
pc32/power5+_round.c
pc32/round.c
pc32/test_dfp2.c
pc32/test_dfp3.c
pc32/test_dfp4.c
pc32/test_dfp5.c
pc32/test_isa_2_06_part1.c
pc32/test_isa_2_06_part2.c
pc32/test_isa_2_06_part3.c
pc64/round.c
228ff1a7e6799a31a4701d0928ff5a973c780c56 22-Jun-2012 petarj <petarj@a5019735-40e9-0310-863c-91ae7b9d1cf9> Initializing destination reg for MoveIns test for MIPS.

The test none/tests/mips32/MoveIns.c did not initialize destination register,
and that is important for movn.s and movn.d instructions. This improves the
test as we will get the same stdout with different compilers and options now.


git-svn-id: svn://svn.valgrind.org/valgrind/trunk@12661 a5019735-40e9-0310-863c-91ae7b9d1cf9
ips32/MoveIns.c
ips32/MoveIns.stdout.exp
ips32/MoveIns.stdout.exp-BE
969833cd8a149b5ab3d415a398fa9515549efa00 22-Jun-2012 sewardj <sewardj@a5019735-40e9-0310-863c-91ae7b9d1cf9> Update these for Linaro's pre-release build of Ubuntu 12.04, with
Linaro gcc 4.6.3, running on an A9. Not sure why these need to be
updated, but they results are same as native on said platform, so am
not worried.


git-svn-id: svn://svn.valgrind.org/valgrind/trunk@12660 a5019735-40e9-0310-863c-91ae7b9d1cf9
rm/v6intThumb.stdout.exp
rm/vfp.stdout.exp
a00c6745a17a6b45cb6890e42a236e5337e1ce49 22-Jun-2012 sewardj <sewardj@a5019735-40e9-0310-863c-91ae7b9d1cf9> Add test cases for UHADD16.


git-svn-id: svn://svn.valgrind.org/valgrind/trunk@12659 a5019735-40e9-0310-863c-91ae7b9d1cf9
rm/v6media.c
rm/v6media.stdout.exp
f831631cac8f24739ef6cf1f65c5ac165ab0ca99 20-Jun-2012 sewardj <sewardj@a5019735-40e9-0310-863c-91ae7b9d1cf9> Update.


git-svn-id: svn://svn.valgrind.org/valgrind/trunk@12657 a5019735-40e9-0310-863c-91ae7b9d1cf9
md64/avx-1.c
68831a1c1fe8e13bb0e365adc02e0fa18f7f1833 20-Jun-2012 sewardj <sewardj@a5019735-40e9-0310-863c-91ae7b9d1cf9> Update.


git-svn-id: svn://svn.valgrind.org/valgrind/trunk@12656 a5019735-40e9-0310-863c-91ae7b9d1cf9
md64/avx-1.c
70a88d3a8d547fe596aa81613856475968a4b740 19-Jun-2012 sewardj <sewardj@a5019735-40e9-0310-863c-91ae7b9d1cf9> Update.


git-svn-id: svn://svn.valgrind.org/valgrind/trunk@12654 a5019735-40e9-0310-863c-91ae7b9d1cf9
md64/avx-1.c
337cea1f0a79cd6339f27e74468fe1e0cd6c0aa2 19-Jun-2012 sewardj <sewardj@a5019735-40e9-0310-863c-91ae7b9d1cf9> Update.


git-svn-id: svn://svn.valgrind.org/valgrind/trunk@12653 a5019735-40e9-0310-863c-91ae7b9d1cf9
md64/avx-1.c
1ff29ef079170ed4441d52b5b572914451e4fa5f 18-Jun-2012 sewardj <sewardj@a5019735-40e9-0310-863c-91ae7b9d1cf9> Update.


git-svn-id: svn://svn.valgrind.org/valgrind/trunk@12652 a5019735-40e9-0310-863c-91ae7b9d1cf9
md64/avx-1.c
f491479ff110a500b8852cc69cb481366d52b5a3 15-Jun-2012 sewardj <sewardj@a5019735-40e9-0310-863c-91ae7b9d1cf9> Update.


git-svn-id: svn://svn.valgrind.org/valgrind/trunk@12640 a5019735-40e9-0310-863c-91ae7b9d1cf9
md64/avx-1.c
00d89cd0863667bde81a369d4432297ef6509634 15-Jun-2012 sewardj <sewardj@a5019735-40e9-0310-863c-91ae7b9d1cf9> Update.


git-svn-id: svn://svn.valgrind.org/valgrind/trunk@12639 a5019735-40e9-0310-863c-91ae7b9d1cf9
md64/avx-1.c
31fec702c6e0229b3e277a6c4fe02b2d725e176b 14-Jun-2012 sewardj <sewardj@a5019735-40e9-0310-863c-91ae7b9d1cf9> Update.


git-svn-id: svn://svn.valgrind.org/valgrind/trunk@12636 a5019735-40e9-0310-863c-91ae7b9d1cf9
md64/avx-1.c
eecec67afdb62d5d3a1e1ab16a7b298b3a2ca426 13-Jun-2012 sewardj <sewardj@a5019735-40e9-0310-863c-91ae7b9d1cf9> Update.


git-svn-id: svn://svn.valgrind.org/valgrind/trunk@12633 a5019735-40e9-0310-863c-91ae7b9d1cf9
md64/avx-1.c
926d3536a48f1924e3687b5e5f4d3d8de800305a 12-Jun-2012 sewardj <sewardj@a5019735-40e9-0310-863c-91ae7b9d1cf9> Update.


git-svn-id: svn://svn.valgrind.org/valgrind/trunk@12632 a5019735-40e9-0310-863c-91ae7b9d1cf9
md64/avx-1.c
a060b3c5dba8217c173d47be8656ee6ce86b74f5 12-Jun-2012 sewardj <sewardj@a5019735-40e9-0310-863c-91ae7b9d1cf9> Update.


git-svn-id: svn://svn.valgrind.org/valgrind/trunk@12631 a5019735-40e9-0310-863c-91ae7b9d1cf9
md64/avx-1.c
ce004ebec861b6a0154e20aa928ce6c5cada4628 09-Jun-2012 florian <florian@a5019735-40e9-0310-863c-91ae7b9d1cf9> Add a stackframe around function call. Avoids testcase hangs
when compiled with -O3. Found and debugged by Christian.


git-svn-id: svn://svn.valgrind.org/valgrind/trunk@12628 a5019735-40e9-0310-863c-91ae7b9d1cf9
390x/cgij.c
390x/cgrj.c
390x/cij.c
390x/clgij.c
390x/clgrj.c
390x/clij.c
390x/clrj.c
390x/crj.c
60747ac92be008e71d498fba085828464fd33da1 09-Jun-2012 petarj <petarj@a5019735-40e9-0310-863c-91ae7b9d1cf9> Adjusting the svn:executable property on none/tests/mips32/filter_stderr.

vg_regtest failed on MIPS as filter_stderr was not an executable.
MIPS port is currently tracked as bug #270777.


git-svn-id: svn://svn.valgrind.org/valgrind/trunk@12625 a5019735-40e9-0310-863c-91ae7b9d1cf9
ips32/filter_stderr
c2edb63063e1b409997c7722e80f1375448a8844 08-Jun-2012 cborntra <cborntra@a5019735-40e9-0310-863c-91ae7b9d1cf9> avoid gcc warning regarding local/global variable shadowing in cdsg test


git-svn-id: svn://svn.valgrind.org/valgrind/trunk@12623 a5019735-40e9-0310-863c-91ae7b9d1cf9
390x/cdsg.c
9148efd4f1ad32d2729037fe6c51f387c80d5675 08-Jun-2012 cborntra <cborntra@a5019735-40e9-0310-863c-91ae7b9d1cf9> CDSG needs quad word (16 byte) aligned data structures. Since the stack
on s390 has only 8 byte alignment gcc cant guarantee 16 byte alignment
for local variables. As a global variable gcc can do that.



git-svn-id: svn://svn.valgrind.org/valgrind/trunk@12620 a5019735-40e9-0310-863c-91ae7b9d1cf9
390x/cdsg.c
d14f0776cace6739bb4faf2f8b4f296f11d6c5f9 07-Jun-2012 sewardj <sewardj@a5019735-40e9-0310-863c-91ae7b9d1cf9> mips32-linux port: add missing (empty) stderr.exp files.


git-svn-id: svn://svn.valgrind.org/valgrind/trunk@12619 a5019735-40e9-0310-863c-91ae7b9d1cf9
ips32/FPUarithmetic.stderr.exp
ips32/LoadStore.stderr.exp
ips32/LoadStore1.stderr.exp
ips32/MIPS32int.stderr.exp
ips32/MemCpyTest.stderr.exp
ips32/MoveIns.stderr.exp
ips32/branches.stderr.exp
ips32/round.stderr.exp
ips32/vfp.stderr.exp
e584b0e99b31e6d257cc58c630cd6067550539e3 07-Jun-2012 sewardj <sewardj@a5019735-40e9-0310-863c-91ae7b9d1cf9> Merge in a port for mips32-linux, by Petar Jovanovic and Dejan Jevtic,
mips-valgrind@rt-rk.com, Bug 270777.

Valgrind: new non-test files for mips32-linux.


git-svn-id: svn://svn.valgrind.org/valgrind/trunk@12618 a5019735-40e9-0310-863c-91ae7b9d1cf9
ips32/.deps/FPUarithmetic.Po
ips32/.deps/LoadStore.Po
ips32/.deps/LoadStore1.Po
ips32/.deps/MIPS32int.Po
ips32/.deps/MemCpyTest.Po
ips32/.deps/MoveIns.Po
ips32/.deps/allexec-allexec.Po
ips32/.deps/branches.Po
ips32/.deps/round.Po
ips32/.deps/vfp.Po
ips32/FPUarithmetic.c
ips32/FPUarithmetic.stdout.exp
ips32/FPUarithmetic.vgtest
ips32/LoadStore.c
ips32/LoadStore.stdout.exp
ips32/LoadStore.stdout.exp-BE
ips32/LoadStore.vgtest
ips32/LoadStore1.c
ips32/LoadStore1.stdout.exp
ips32/LoadStore1.stdout.exp-LE
ips32/LoadStore1.vgtest
ips32/MIPS32int.c
ips32/MIPS32int.stdout.exp
ips32/MIPS32int.stdout.exp-BE
ips32/MIPS32int.vgtest
ips32/Makefile.am
ips32/MemCpyTest.c
ips32/MemCpyTest.stdout.exp
ips32/MemCpyTest.vgtest
ips32/MoveIns.c
ips32/MoveIns.stdout.exp
ips32/MoveIns.stdout.exp-BE
ips32/MoveIns.vgtest
ips32/allexec.c
ips32/branches.c
ips32/branches.stdout.exp
ips32/branches.vgtest
ips32/filter_stderr
ips32/round.c
ips32/round.stdout.exp
ips32/round.vgtest
ips32/vfp.c
ips32/vfp.stdout.exp
ips32/vfp.stdout.exp-BE
ips32/vfp.vgtest
5db15403e889d4db339b342bc2a824ef0bfaa654 07-Jun-2012 sewardj <sewardj@a5019735-40e9-0310-863c-91ae7b9d1cf9> Merge in a port for mips32-linux, by Petar Jovanovic and Dejan Jevtic,
mips-valgrind@rt-rk.com, Bug 270777.

Valgrind: changes to existing files.


git-svn-id: svn://svn.valgrind.org/valgrind/trunk@12616 a5019735-40e9-0310-863c-91ae7b9d1cf9
akefile.am
llexec_prepare_prereq
cc58cefa007df87ab22a79baa7ce4f2d1b627195 06-Jun-2012 florian <florian@a5019735-40e9-0310-863c-91ae7b9d1cf9> Support "compare double ansd swap" insns: CDS, CDSY, and CDSG
valgrind bits for fixing bugzilla #291865. See also VEX r2372.


git-svn-id: svn://svn.valgrind.org/valgrind/trunk@12615 a5019735-40e9-0310-863c-91ae7b9d1cf9
390x/Makefile.am
390x/cds.c
390x/cds.stderr.exp
390x/cds.stdout.exp
390x/cds.vgtest
390x/cdsg.c
390x/cdsg.stderr.exp
390x/cdsg.stdout.exp
390x/cdsg.vgtest
a62e96128f1910930ecde240cf5b2491325f3a30 05-Jun-2012 sewardj <sewardj@a5019735-40e9-0310-863c-91ae7b9d1cf9> Fixes for 'make dist'.


git-svn-id: svn://svn.valgrind.org/valgrind/trunk@12614 a5019735-40e9-0310-863c-91ae7b9d1cf9
akefile.am
md64/Makefile.am
9fb31caa4f37a42ed9c3bed36bddc72ed550e7ed 05-Jun-2012 sewardj <sewardj@a5019735-40e9-0310-863c-91ae7b9d1cf9> Convert avx-1 into a proper regression test.


git-svn-id: svn://svn.valgrind.org/valgrind/trunk@12611 a5019735-40e9-0310-863c-91ae7b9d1cf9
md64/Makefile.am
md64/avx-1.stderr.exp
md64/avx-1.stdout.exp
md64/avx-1.vgtest
8ad4ff347d9797747814dbcf4bf7b3278e931188 04-Jun-2012 sewardj <sewardj@a5019735-40e9-0310-863c-91ae7b9d1cf9> Update.


git-svn-id: svn://svn.valgrind.org/valgrind/trunk@12607 a5019735-40e9-0310-863c-91ae7b9d1cf9
md64/avx-1.c
3be2aaf9bf53e2f1f3d8605e38cc3c9cb668892b 04-Jun-2012 florian <florian@a5019735-40e9-0310-863c-91ae7b9d1cf9> Tweak testcase. Invalidate cc, making sure it is set later.


git-svn-id: svn://svn.valgrind.org/valgrind/trunk@12604 a5019735-40e9-0310-863c-91ae7b9d1cf9
390x/cs.c
390x/csg.c
457cba665b03815e2f375abd093aac35aaab303a 03-Jun-2012 sewardj <sewardj@a5019735-40e9-0310-863c-91ae7b9d1cf9> POWER Processor decimal FP support, part 5. (Valgrind side). Bug #299694.
(Carl Love, carll@us.ibm.com and Maynard Johnson, maynardj@us.ibm.com)

This patch adds support for Power Decimal Floating Point (DFP) . This
is the fifth patch set in the series of five to add the DFP
instruction support to Valgrind. Adds support for the ddedpd,
ddedpdq, denbcd, denbcdq, dtstsf, and dtstsfq instructions.



git-svn-id: svn://svn.valgrind.org/valgrind/trunk@12603 a5019735-40e9-0310-863c-91ae7b9d1cf9
pc32/Makefile.am
pc32/test_dfp5.c
pc32/test_dfp5.stderr.exp
pc32/test_dfp5.stdout.exp
pc32/test_dfp5.vgtest
pc64/Makefile.am
pc64/test_dfp5.c
pc64/test_dfp5.stderr.exp
pc64/test_dfp5.stdout.exp
pc64/test_dfp5.vgtest
2d5b2a55dd4283552ee6a6a691d8070f376d543f 02-Jun-2012 sewardj <sewardj@a5019735-40e9-0310-863c-91ae7b9d1cf9> Update.


git-svn-id: svn://svn.valgrind.org/valgrind/trunk@12601 a5019735-40e9-0310-863c-91ae7b9d1cf9
md64/avx-1.c
0bb707e1126baccfdce980a6d2a92d57e9aff550 30-May-2012 florian <florian@a5019735-40e9-0310-863c-91ae7b9d1cf9> Add testcases for "compare and swap".


git-svn-id: svn://svn.valgrind.org/valgrind/trunk@12595 a5019735-40e9-0310-863c-91ae7b9d1cf9
390x/Makefile.am
390x/cs.c
390x/cs.stderr.exp
390x/cs.stdout.exp
390x/cs.vgtest
390x/csg.c
390x/csg.stderr.exp
390x/csg.stdout.exp
390x/csg.vgtest
dde285be7677ed44f2d1927cd98401418d4f4fc7 27-May-2012 sewardj <sewardj@a5019735-40e9-0310-863c-91ae7b9d1cf9> Add more test cases for VCMPSS, and reenable disabled tests for VCMPSD
and VEXTRACTF128, now that the implementation has been fixed. Current
status that all so-far implemented AVX instructions are tested by this
file, and none have any detectable failures.


git-svn-id: svn://svn.valgrind.org/valgrind/trunk@12588 a5019735-40e9-0310-863c-91ae7b9d1cf9
md64/avx-1.c
7d4f1fe1d7043271db650a152e2bc1ae99da176e 27-May-2012 sewardj <sewardj@a5019735-40e9-0310-863c-91ae7b9d1cf9> Add tests for all AVX instructions implemented so far.


git-svn-id: svn://svn.valgrind.org/valgrind/trunk@12587 a5019735-40e9-0310-863c-91ae7b9d1cf9
md64/avx-1.c
0c960ff8ed4bd3a9a4851c14d89cdca7c53a2bbd 25-May-2012 sewardj <sewardj@a5019735-40e9-0310-863c-91ae7b9d1cf9> Update.


git-svn-id: svn://svn.valgrind.org/valgrind/trunk@12583 a5019735-40e9-0310-863c-91ae7b9d1cf9
md64/avx-1.c
cf0de705622c4711cd696291c331e6e94e6b15e9 25-May-2012 sewardj <sewardj@a5019735-40e9-0310-863c-91ae7b9d1cf9> Update.


git-svn-id: svn://svn.valgrind.org/valgrind/trunk@12582 a5019735-40e9-0310-863c-91ae7b9d1cf9
md64/avx-1.c
d5af4c24e3be249b26e96b4f69664a5b0179b0ca 24-May-2012 sewardj <sewardj@a5019735-40e9-0310-863c-91ae7b9d1cf9> Update.


git-svn-id: svn://svn.valgrind.org/valgrind/trunk@12580 a5019735-40e9-0310-863c-91ae7b9d1cf9
md64/avx-1.c
d2b33d0ff54f44f4deaaee50e35a02ec1db4c756 23-May-2012 sewardj <sewardj@a5019735-40e9-0310-863c-91ae7b9d1cf9> Update.


git-svn-id: svn://svn.valgrind.org/valgrind/trunk@12577 a5019735-40e9-0310-863c-91ae7b9d1cf9
md64/avx-1.c
4eb86cedfb83bf133a422f5f41533b93fb2f9ac4 22-May-2012 sewardj <sewardj@a5019735-40e9-0310-863c-91ae7b9d1cf9> Update.


git-svn-id: svn://svn.valgrind.org/valgrind/trunk@12576 a5019735-40e9-0310-863c-91ae7b9d1cf9
md64/avx-1.c
45fa9f4bd1819c7ac0d9469df4e35cee0c130153 21-May-2012 sewardj <sewardj@a5019735-40e9-0310-863c-91ae7b9d1cf9> Add initial support for Intel AVX instructions (Valgrind side).
Tracker bug is #273475.



git-svn-id: svn://svn.valgrind.org/valgrind/trunk@12569 a5019735-40e9-0310-863c-91ae7b9d1cf9
md64/avx-1.c
abbc9afe94e1712fadb403d3f426fbd69744b658 12-May-2012 florian <florian@a5019735-40e9-0310-863c-91ae7b9d1cf9> Add a few testcases that exercise the s390_calculate_icc helper.


git-svn-id: svn://svn.valgrind.org/valgrind/trunk@12561 a5019735-40e9-0310-863c-91ae7b9d1cf9
390x/Makefile.am
390x/cgij.c
390x/cgij.stderr.exp
390x/cgij.stdout.exp
390x/cgij.vgtest
390x/cgrj.c
390x/cgrj.stderr.exp
390x/cgrj.stdout.exp
390x/cgrj.vgtest
390x/cij.c
390x/cij.stderr.exp
390x/cij.stdout.exp
390x/cij.vgtest
390x/clgij.c
390x/clgij.stderr.exp
390x/clgij.stdout.exp
390x/clgij.vgtest
390x/clgrj.c
390x/clgrj.stderr.exp
390x/clgrj.stdout.exp
390x/clgrj.vgtest
390x/clij.c
390x/clij.stderr.exp
390x/clij.stdout.exp
390x/clij.vgtest
390x/clrj.c
390x/clrj.stderr.exp
390x/clrj.stdout.exp
390x/clrj.vgtest
390x/crj.c
390x/crj.stderr.exp
390x/crj.stdout.exp
390x/crj.vgtest
1e470b5ec96bdd4fb46750d4e2e596e194af56fe 11-May-2012 philippe <philippe@a5019735-40e9-0310-863c-91ae7b9d1cf9> fix 219156 support static malloc or alternate malloc lib (e.g. tcmalloc) with new option --soname-synonyms

* pub_tool_redir.h : define the prefix to be used for "soname synonym"
place holder
* vg_replace_malloc.c : define synonym place holder for malloc related
functions
* m_redir.c : when detecting a soname synonym place holder redir spec, search
in clo_soname_synonyms if there is a synonym pattern.
If yes, replace the soname pattern. If not, ignore the redir spec.
* various files: implement or document the new clo --soname-synonyms
* new test memcheck/tests/static_malloc.vgtest



git-svn-id: svn://svn.valgrind.org/valgrind/trunk@12559 a5019735-40e9-0310-863c-91ae7b9d1cf9
mdline1.stdout.exp
mdline2.stdout.exp
841b5b651c8e9e537dfe2408bd14c84106f9db5b 01-May-2012 sewardj <sewardj@a5019735-40e9-0310-863c-91ae7b9d1cf9> Add DFP test cases that accidentally missed in r12546.


git-svn-id: svn://svn.valgrind.org/valgrind/trunk@12547 a5019735-40e9-0310-863c-91ae7b9d1cf9
pc32/test_dfp4.c
pc32/test_dfp4.stderr.exp
pc32/test_dfp4.stdout.exp
pc32/test_dfp4.vgtest
0892b8268c61648ba031eba3dc83db8f4b036613 29-Apr-2012 sewardj <sewardj@a5019735-40e9-0310-863c-91ae7b9d1cf9> Test cases for POWER Power Decimal Floating Point (DFP) test class,
test group and test exponent instructions dtstdc, dtstdcq, dtstdg,
dtstdgq, dtstex and dtstexq. Bug #298862. (Carl Love,
carll@us.ibm.com and Maynard Johnson, maynardj@us.ibm.com)



git-svn-id: svn://svn.valgrind.org/valgrind/trunk@12546 a5019735-40e9-0310-863c-91ae7b9d1cf9
pc32/Makefile.am
pc64/Makefile.am
pc64/test_dfp4.c
pc64/test_dfp4.stderr.exp
pc64/test_dfp4.stdout.exp
pc64/test_dfp4.vgtest
18c72faa664f18877f33a40c8b429f3aa41dc5e2 23-Apr-2012 sewardj <sewardj@a5019735-40e9-0310-863c-91ae7b9d1cf9> POWER Processor decimal floating point instruction support, part 3 --
test cases. (Carl Love, carll@us.ibm.com). Bug 298080.



git-svn-id: svn://svn.valgrind.org/valgrind/trunk@12541 a5019735-40e9-0310-863c-91ae7b9d1cf9
pc32/Makefile.am
pc32/test_dfp3.c
pc32/test_dfp3.stderr.exp
pc32/test_dfp3.stdout.exp
pc32/test_dfp3.vgtest
pc64/Makefile.am
pc64/test_dfp3.c
pc64/test_dfp3.stderr.exp
pc64/test_dfp3.stdout.exp
pc64/test_dfp3.vgtest
8050bb782a2010d8453d161c7c291f52be4f0cc1 14-Apr-2012 philippe <philippe@a5019735-40e9-0310-863c-91ae7b9d1cf9> patch fixing 297991: mmap changing a file descriptor current position

Bug caused by the following problem:
for each mmap, Valgrind reads the 1st 1024 bytes to detect
if this is an mmap-ed file containing debug info to decode.

Reading this 1Kb is done with VG_(pread). VG_(pread) should be
the equivalent of syscall pread but on linux, it is implemented as
a seek+read.

The patch implements VG_(pread) in terms of the underlying pread syscall.

Test mmap_fcntl_bug.c completed to also verify the fd current position
before and after the mmap.

tested on linux x86/amd64/ppc32/ppc64/s390.
(not tested on Darwin)
(manually tested on arm-android)



git-svn-id: svn://svn.valgrind.org/valgrind/trunk@12504 a5019735-40e9-0310-863c-91ae7b9d1cf9
map_fcntl_bug.c
c3643233c8043bfceb7e4f1b29e3b25cb134f32b 12-Apr-2012 sewardj <sewardj@a5019735-40e9-0310-863c-91ae7b9d1cf9> Add symlinks that were missed out from r12500 due to last-minute SVN
snafus.



git-svn-id: svn://svn.valgrind.org/valgrind/trunk@12501 a5019735-40e9-0310-863c-91ae7b9d1cf9
pc64/test_dfp2.stdout.exp
pc64/test_dfp2.stdout.exp_Without_dcffix
ea8b02f730f184b4edb9ebe1ad07a5d823ef8155 12-Apr-2012 sewardj <sewardj@a5019735-40e9-0310-863c-91ae7b9d1cf9> POWER Processor decimal floating point instruction support: part 2
(bug #297497) (Carl Love, carll@us.ibm.com) (Valgrind side, mostly
tests)



git-svn-id: svn://svn.valgrind.org/valgrind/trunk@12500 a5019735-40e9-0310-863c-91ae7b9d1cf9
pc32/Makefile.am
pc32/test_dfp2.c
pc32/test_dfp2.stderr.exp
pc32/test_dfp2.stdout.exp
pc32/test_dfp2.stdout.exp_Without_dcffix
pc32/test_dfp2.vgtest
pc64/Makefile.am
pc64/test_dfp2.c
pc64/test_dfp2.stderr.exp
pc64/test_dfp2.vgtest
d9ceb5a429bb6007b52e5654195518010518ccc2 11-Apr-2012 sewardj <sewardj@a5019735-40e9-0310-863c-91ae7b9d1cf9> Add a test re conversions of QNaNs between 64- and 80-bit FP
formats. Related to Mozilla bug #738117.


git-svn-id: svn://svn.valgrind.org/valgrind/trunk@12497 a5019735-40e9-0310-863c-91ae7b9d1cf9
md64/Makefile.am
md64/nan80and64.c
md64/nan80and64.stderr.exp
md64/nan80and64.stdout.exp
md64/nan80and64.vgtest
b0ccb4d09a74c94a712b2edf9894b408f270493a 02-Apr-2012 sewardj <sewardj@a5019735-40e9-0310-863c-91ae7b9d1cf9> Initial support for POWER Processor decimal floating point
instruction support -- VEX side changes. See #295221.

This patch adds test cases. Also adds some minor Memcheck
instrumentation tweaks necessitated by the IR changes.



git-svn-id: svn://svn.valgrind.org/valgrind/trunk@12476 a5019735-40e9-0310-863c-91ae7b9d1cf9
pc32/Makefile.am
pc32/test_dfp1.c
pc32/test_dfp1.stderr.exp
pc32/test_dfp1.stdout.exp
pc32/test_dfp1.vgtest
pc64/Makefile.am
pc64/test_dfp1.c
pc64/test_dfp1.stderr.exp
pc64/test_dfp1.stdout.exp
pc64/test_dfp1.vgtest
74a1658227999f2faf7137fb7a27c0f5c9462ed2 27-Mar-2012 sewardj <sewardj@a5019735-40e9-0310-863c-91ae7b9d1cf9> rlimit64_nofile won't build on Darwin, so don't try.


git-svn-id: svn://svn.valgrind.org/valgrind/trunk@12465 a5019735-40e9-0310-863c-91ae7b9d1cf9
akefile.am
de7daf4d98a776ecfaf0b87aa163be215cee4cca 11-Mar-2012 philippe <philippe@a5019735-40e9-0310-863c-91ae7b9d1cf9> Modify none/tests/execve.c so to avoid infinite loop with --trace-children=yes

With --trace-children=yes, none/test/execve exec ve forever.

This avoids an infinite loop when running outer on inner regression
tests (for which --trace-children=yes is mandatory for the outer).



git-svn-id: svn://svn.valgrind.org/valgrind/trunk@12440 a5019735-40e9-0310-863c-91ae7b9d1cf9
xecve.c
300c15afb5ab4456ba385d0f5ab4e7ea993561fb 06-Mar-2012 florian <florian@a5019735-40e9-0310-863c-91ae7b9d1cf9> Fix a testcase. Constraint was incorrect allowing r0 to be used
for the EX insn. Patch by Christian Borntraeger (borntraeger@de.ibm.com).


git-svn-id: svn://svn.valgrind.org/valgrind/trunk@12417 a5019735-40e9-0310-863c-91ae7b9d1cf9
390x/tr.c
859b3fa4eec17ea61db16152d3a570f8473fa955 02-Mar-2012 bart <bart@a5019735-40e9-0310-863c-91ae7b9d1cf9> none/tests/mq.c: Fix a copy-paste bug

git-svn-id: svn://svn.valgrind.org/valgrind/trunk@12413 a5019735-40e9-0310-863c-91ae7b9d1cf9
q.c
aba260b91b0331551006d15f25b8576b7544d0e8 01-Mar-2012 tom <tom@a5019735-40e9-0310-863c-91ae7b9d1cf9> Handle prlimit64 the same way we do getrlimit and setrlimit, with
some requests trapped and handled by valgrind.

Patch from Matthias Schwarzott via BZ#294047.


git-svn-id: svn://svn.valgrind.org/valgrind/trunk@12411 a5019735-40e9-0310-863c-91ae7b9d1cf9
akefile.am
limit64_nofile.c
limit64_nofile.stderr.exp
limit64_nofile.stdout.exp
limit64_nofile.vgtest
limit_nofile.c
b34cb7f0fdefec97f5d3618841b140e7bd681820 21-Feb-2012 sewardj <sewardj@a5019735-40e9-0310-863c-91ae7b9d1cf9> Add test cases for MPSADBW. See #294048.


git-svn-id: svn://svn.valgrind.org/valgrind/trunk@12395 a5019735-40e9-0310-863c-91ae7b9d1cf9
md64/sse4-64.c
md64/sse4-64.stdout.exp
a63005c6d9b95e37301376702dbcbb20bfee3782 16-Feb-2012 sewardj <sewardj@a5019735-40e9-0310-863c-91ae7b9d1cf9> Add test cases for PHMINPOSUW (SSE 4.1). See #287301.


git-svn-id: svn://svn.valgrind.org/valgrind/trunk@12390 a5019735-40e9-0310-863c-91ae7b9d1cf9
md64/sse4-64.c
md64/sse4-64.stdout.exp
9db268cc7344d8751213307737285e7cdac4fbec 16-Feb-2012 sewardj <sewardj@a5019735-40e9-0310-863c-91ae7b9d1cf9> Add test cases for 16 bit PCMPxSTRx variants. See #293754.
(Eliot Moss, moss@cs.umass.edu)


git-svn-id: svn://svn.valgrind.org/valgrind/trunk@12389 a5019735-40e9-0310-863c-91ae7b9d1cf9
md64/Makefile.am
md64/pcmpstr64w.c
md64/pcmpstr64w.stderr.exp
md64/pcmpstr64w.stdout.exp
md64/pcmpstr64w.vgtest
md64/pcmpxstrx64w.c
md64/pcmpxstrx64w.stderr.exp
md64/pcmpxstrx64w.stdout.exp
md64/pcmpxstrx64w.vgtest
c6fccd62dfa60298a8e5cef27b92ec1270dafc1e 15-Feb-2012 florian <florian@a5019735-40e9-0310-863c-91ae7b9d1cf9> Use LC_ALL=C for a controlled environment.
Patch by zzam@gentoo.org. Fixes #294055.


git-svn-id: svn://svn.valgrind.org/valgrind/trunk@12386 a5019735-40e9-0310-863c-91ae7b9d1cf9
hell
6156b7789544f5f091a5284e0783da69d192f77f 14-Feb-2012 philippe <philippe@a5019735-40e9-0310-863c-91ae7b9d1cf9> * fix Bug 290655 - Add support for AESKEYGENASSIST instruction
(Valgrind part : test for AES instructions (AESKEYGENASSIST, AESIMC,
AESENC, AESENCLAST, AESDEC, AESDECLAST).



git-svn-id: svn://svn.valgrind.org/valgrind/trunk@12384 a5019735-40e9-0310-863c-91ae7b9d1cf9
md64/Makefile.am
md64/aes.c
md64/aes.stderr.exp
md64/aes.stdout.exp
md64/aes.vgtest
9e4b636f786d7d105cb8ead0a4c9f0b403e82e71 10-Feb-2012 tom <tom@a5019735-40e9-0310-863c-91ae7b9d1cf9> Add support for process_vm_readv and process_vm_writev system calls.
Patch from Lénaïc Huard to fix BZ#292995.


git-svn-id: svn://svn.valgrind.org/valgrind/trunk@12374 a5019735-40e9-0310-863c-91ae7b9d1cf9
akefile.am
rocess_vm_readv_writev.c
rocess_vm_readv_writev.stderr.exp
rocess_vm_readv_writev.vgtest
da27543e012f62e295a172da3014044dac076225 04-Feb-2012 florian <florian@a5019735-40e9-0310-863c-91ae7b9d1cf9> Add testcases for TR, TRE, TRTT, TROT, TRTO insns.
Fixes #273114. Patch by Divya Vyas (divyvyas@linux.vnet.ibm.com).


git-svn-id: svn://svn.valgrind.org/valgrind/trunk@12368 a5019735-40e9-0310-863c-91ae7b9d1cf9
390x/Makefile.am
390x/table.h
390x/tr.c
390x/tr.stderr.exp
390x/tr.stdout.exp
390x/tr.vgtest
390x/tre.c
390x/tre.stderr.exp
390x/tre.stdout.exp
390x/tre.vgtest
390x/troo.c
390x/trot.c
390x/trot.stderr.exp
390x/trot.stdout.exp
390x/trot.vgtest
390x/trto.c
390x/trto.stderr.exp
390x/trto.stdout.exp
390x/trto.vgtest
390x/trtt.c
390x/trtt.stderr.exp
390x/trtt.stdout.exp
390x/trtt.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
86/bug125959-x86.c
d19733c03aa442a5927770f327ee5ec4bd944a60 15-Jan-2012 florian <florian@a5019735-40e9-0310-863c-91ae7b9d1cf9> Add support for the s390's TROO insn. These are the valgrind bits.
Detect ETF2 enhancement facility using STFLE. Add testcases.
Patch by Divya Vyas (divyvyas@linux.vnet.ibm.com) with
modifications. Partial fix of #273114


git-svn-id: svn://svn.valgrind.org/valgrind/trunk@12335 a5019735-40e9-0310-863c-91ae7b9d1cf9
390x/Makefile.am
390x/troo.c
390x/troo.stderr.exp
390x/troo.stdout.exp
390x/troo.vgtest
59451647ad0829e0ffae02db4d20baeeff2e3239 24-Dec-2011 florian <florian@a5019735-40e9-0310-863c-91ae7b9d1cf9> Beef up VG_(strerror) to provide correct messages for the
errno codes in asm-generic/errno-base.h (on linux).
The error strings were obtained by calling strerror natively in
Linux.
Extend vki-linux.h accordingly. vki-darwin.h already had
those errno codes.
Add testcase. This fixes #287858.


git-svn-id: svn://svn.valgrind.org/valgrind/trunk@12316 a5019735-40e9-0310-863c-91ae7b9d1cf9
akefile.am
odir.stderr.exp
odir.vgtest
15e301e2b0540fea8dd8b5410bf75d2fa0e8eac1 22-Dec-2011 philippe <philippe@a5019735-40e9-0310-863c-91ae7b9d1cf9> * none/tests/linux/mremap3.vgtest : new test
mremap3.c based on testcase provided by Jan Engelhardt
* coregrind/m_syswrap/syswrap-generic.c
- The two 'no-thrash checks' that were introduced to fix bug #129866
were (probably) broken when adress space manager was reworked.
The new VG_(am_get_advisory_client_simple) returns NULL for a free
segment, but the check was based on checking not NULL and then
that the state is free.
=> replaces these two local checks by a call to the new
am Bool VG_(am_covered_by_single_free_segment) function.

* coregrind/pub_core_aspacemgr.h
coregrind/m_aspacemgr/aspacemgr-linux.c
- new function Bool VG_(am_covered_by_single_free_segment)



git-svn-id: svn://svn.valgrind.org/valgrind/trunk@12314 a5019735-40e9-0310-863c-91ae7b9d1cf9
inux/Makefile.am
inux/mremap3.c
inux/mremap3.stderr.exp
inux/mremap3.stdout.exp
inux/mremap3.vgtest
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
llexec32.stderr.exp
llexec32.stdout.exp
llexec32.vgtest
llexec64.stderr.exp
llexec64.stdout.exp
llexec64.vgtest
llexec_prepare_prereq
md64/Makefile.am
md64/allexec.c
rm/Makefile.am
rm/allexec.c
pc32/Makefile.am
pc32/allexec.c
pc64/Makefile.am
pc64/allexec.c
390x/Makefile.am
390x/allexec.c
86/Makefile.am
86/allexec.c
78bfc711d3e684c76eeab5f89a94a78d40ed6f4b 08-Dec-2011 bart <bart@a5019735-40e9-0310-863c-91ae7b9d1cf9> Add command-line option --fair-sched=[no|yes|try]. Use --fair-sched=try
when running the annotate_hbefore regression test. Closes #270006.

To do: update manual.


git-svn-id: svn://svn.valgrind.org/valgrind/trunk@12280 a5019735-40e9-0310-863c-91ae7b9d1cf9
mdline1.stdout.exp
mdline2.stdout.exp
e035cd13c1e554b70037a31574706b9313a8e484 29-Oct-2011 florian <florian@a5019735-40e9-0310-863c-91ae7b9d1cf9> Remove unneeded prerequisites in testcases.
Followup to r11693.


git-svn-id: svn://svn.valgrind.org/valgrind/trunk@12253 a5019735-40e9-0310-863c-91ae7b9d1cf9
390x/add_EI.vgtest
390x/add_GE.vgtest
390x/and_EI.vgtest
390x/condloadstore.vgtest
390x/flogr.vgtest
390x/insert_EI.vgtest
390x/mul_GE.vgtest
390x/or_EI.vgtest
390x/sub_EI.vgtest
390x/xor_EI.vgtest
9047fa7d499e8ce0a13761d53f621981481893d8 29-Oct-2011 florian <florian@a5019735-40e9-0310-863c-91ae7b9d1cf9> Include insn_pclmulqdq.def in tarball.


git-svn-id: svn://svn.valgrind.org/valgrind/trunk@12252 a5019735-40e9-0310-863c-91ae7b9d1cf9
md64/Makefile.am
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
86/insn_ssse3.vgtest
86/ssse3_misaligned.vgtest
4b3a74204894e943c43cb8e8aae39d813040702c 24-Oct-2011 sewardj <sewardj@a5019735-40e9-0310-863c-91ae7b9d1cf9> Fix #284384 (clang 3.1 -Wunused-value warnings in valgrind.h,
memcheck.h) by changing a bunch of VALGRIND_DO_CLIENT_REQUEST_EXPR
into VALGRIND_DO_CLIENT_REQUEST_STMT for cases where the return value
of the former would be unused. (Bart Van Assche, bart.vanassche@gmail.com)



git-svn-id: svn://svn.valgrind.org/valgrind/trunk@12226 a5019735-40e9-0310-863c-91ae7b9d1cf9
iscard.c
5f2dcad945d0bf3aaa9c9449ae90a5f2ca69adf1 24-Oct-2011 sewardj <sewardj@a5019735-40e9-0310-863c-91ae7b9d1cf9> Don't break fcntl locks when program does mmap. #280965.
(Rusty Russell, rusty@rustcorp.com.au)

tdb uses fcntl locks and mmap, and some of the tests fail under valgrind.
strace showed valgrind opening the tdb file, reading 1024 bytes, then closing
it. This is not allowed: POSIX says if you open and close a file, all fcntl
locks on it are dropped (insane, yes).

Finally got around to hacking the source to track this down: di_notify_mmap is
doing the damage. The simplest fix was to hand in an optional fd for it to
use, then have it do pread.

I had to fix your pread; surely this should seek back even if the platform
doesn't have pread support?



git-svn-id: svn://svn.valgrind.org/valgrind/trunk@12224 a5019735-40e9-0310-863c-91ae7b9d1cf9
akefile.am
map_fcntl_bug.c
map_fcntl_bug.stderr.exp
map_fcntl_bug.stdout.exp
map_fcntl_bug.vgtest
08f08c0dbf3080f4398cac9c8d5c5548bcbef33c 23-Oct-2011 florian <florian@a5019735-40e9-0310-863c-91ae7b9d1cf9> Remove pth_specific.c which is unused.


git-svn-id: svn://svn.valgrind.org/valgrind/trunk@12219 a5019735-40e9-0310-863c-91ae7b9d1cf9
th_specific.c
d19fd67f4c5ed468c9fcc17387de821eada0cc2a 23-Oct-2011 sewardj <sewardj@a5019735-40e9-0310-863c-91ae7b9d1cf9> Update expected outputs following update of copyright dates.


git-svn-id: svn://svn.valgrind.org/valgrind/trunk@12208 a5019735-40e9-0310-863c-91ae7b9d1cf9
mdline1.stdout.exp
mdline2.stdout.exp
9872085e4ce7058f248549f3a743463f2a97df6c 21-Oct-2011 florian <florian@a5019735-40e9-0310-863c-91ae7b9d1cf9> Adapt the faultstatus.c testcase to work properly on systems with larger
page size. E.g. ppc64 running SLES 11 has 64k pages.
Patch by Maynard Johnson (maynardj@us.ibm.com) with small modification
to minimize source code changes. Fixes bugzilla #283709.


git-svn-id: svn://svn.valgrind.org/valgrind/trunk@12183 a5019735-40e9-0310-863c-91ae7b9d1cf9
aultstatus.c
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
md64/Makefile.am
md64/filter_int
86/filter_int
69c11fe097c3bc5f6790dd411c2e686c7a0178dc 20-Oct-2011 sewardj <sewardj@a5019735-40e9-0310-863c-91ae7b9d1cf9> Add (well, actually, enable existing) test cases for Thumb2 ROR
(register) encoding T2. See #284472.


git-svn-id: svn://svn.valgrind.org/valgrind/trunk@12176 a5019735-40e9-0310-863c-91ae7b9d1cf9
rm/v6intThumb.c
rm/v6intThumb.stdout.exp
e801ed2c0d58802634b06de65a730364df4c08b2 19-Oct-2011 sewardj <sewardj@a5019735-40e9-0310-863c-91ae7b9d1cf9> Add test cases for PCMPxSTRx case 0x38. See #273318.


git-svn-id: svn://svn.valgrind.org/valgrind/trunk@12168 a5019735-40e9-0310-863c-91ae7b9d1cf9
md64/pcmpstr64.c
md64/pcmpstr64.stdout.exp
12f508afbe006f56c8123ae7498854fdd2c2f366 19-Oct-2011 sewardj <sewardj@a5019735-40e9-0310-863c-91ae7b9d1cf9> Add test cases for PMULUDQ and PCMPEQQ. Duh -- in future, add test
cases at the end, since adding in the middle changes the random
data used for all tests that follow, and makes the diff huge.


git-svn-id: svn://svn.valgrind.org/valgrind/trunk@12166 a5019735-40e9-0310-863c-91ae7b9d1cf9
md64/sse4-64.c
md64/sse4-64.stdout.exp
5767b60a2c48e3186faed4cec752dc24085ef6d2 14-Oct-2011 bart <bart@a5019735-40e9-0310-863c-91ae7b9d1cf9> Add empty-exe regression test to the distribution tarball

git-svn-id: svn://svn.valgrind.org/valgrind/trunk@12153 a5019735-40e9-0310-863c-91ae7b9d1cf9
akefile.am
64e2e726b4b706271fbe2d683773843457ea44db 14-Oct-2011 bart <bart@a5019735-40e9-0310-863c-91ae7b9d1cf9> Add insn_pclmulqdq regression test files to the distribution tarball even if the system on which the tarball has been generated does not support pclmulqdq

git-svn-id: svn://svn.valgrind.org/valgrind/trunk@12152 a5019735-40e9-0310-863c-91ae7b9d1cf9
md64/Makefile.am
5430ede14ea58c17a4a1163454f1c95afed36571 10-Oct-2011 florian <florian@a5019735-40e9-0310-863c-91ae7b9d1cf9> First round of changes to get make dist working again.


git-svn-id: svn://svn.valgrind.org/valgrind/trunk@12131 a5019735-40e9-0310-863c-91ae7b9d1cf9
akefile.am
md64/Makefile.am
390x/Makefile.am
d83f3d082cadb74b267b558b8875ea36703fa5e6 09-Oct-2011 bart <bart@a5019735-40e9-0310-863c-91ae7b9d1cf9> none/tests/shell: An attempt to compensate for variations in bash error messages

git-svn-id: svn://svn.valgrind.org/valgrind/trunk@12129 a5019735-40e9-0310-863c-91ae7b9d1cf9
akefile.am
ilter_shell_output
hell.vgtest
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
86/Makefile.am
86/fxtract.stdout.exp-older-glibc
147a6a1bffda44f133c452a3bdb40318ed3d97a0 07-Oct-2011 sewardj <sewardj@a5019735-40e9-0310-863c-91ae7b9d1cf9> Remove two junk commas that got committed in r12117.


git-svn-id: svn://svn.valgrind.org/valgrind/trunk@12118 a5019735-40e9-0310-863c-91ae7b9d1cf9
md64/Makefile.am
5547572e0e3795c71e45167ad92912e660c6b640 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.

Also, fix incorrect filename in Makefile.am committed in r12116.



git-svn-id: svn://svn.valgrind.org/valgrind/trunk@12117 a5019735-40e9-0310-863c-91ae7b9d1cf9
md64/Makefile.am
md64/sse4-64.stdout.exp-older-glibc
5491c5587eb2bcac57aa543c3084882f92af5a33 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@12116 a5019735-40e9-0310-863c-91ae7b9d1cf9
md64/Makefile.am
md64/fxtract.stdout.exp-older-glibc
206b2b3c0e80c2434f35c7d8b7d23e997300c488 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. (sigh)


git-svn-id: svn://svn.valgrind.org/valgrind/trunk@12115 a5019735-40e9-0310-863c-91ae7b9d1cf9
md64/Makefile.am
md64/bug132918.stdout.exp-older-glibc
04abdd708b3941a45361c0be010c0b49cae12583 12-Sep-2011 florian <florian@a5019735-40e9-0310-863c-91ae7b9d1cf9> Add an .exp for s390x. Certain older kernels had a bug in providing
an invalid siginfo for SIGBUS. Hunted down and fixed by
Christian Borntraeger (borntraeger@de.ibm.com).


git-svn-id: svn://svn.valgrind.org/valgrind/trunk@12032 a5019735-40e9-0310-863c-91ae7b9d1cf9
aultstatus.stderr.exp-s390x
bcc95cfa30412ef9afa11005e365db3b043c9f6b 10-Sep-2011 florian <florian@a5019735-40e9-0310-863c-91ae7b9d1cf9> Sensitivity fix. On slow machines (s390x z900) need to sleep longer.


git-svn-id: svn://svn.valgrind.org/valgrind/trunk@12027 a5019735-40e9-0310-863c-91ae7b9d1cf9
ls.c
7dbbd19ccd8585dd8214109a758eeb590c541ec6 08-Sep-2011 florian <florian@a5019735-40e9-0310-863c-91ae7b9d1cf9> Support CLCL and MVCL instructions. This is the non-VEX part.
Fixes #279027. See VEX r2200.


git-svn-id: svn://svn.valgrind.org/valgrind/trunk@12015 a5019735-40e9-0310-863c-91ae7b9d1cf9
390x/Makefile.am
390x/clcl.c
390x/clcl.stderr.exp
390x/clcl.stdout.exp
390x/clcl.vgtest
390x/mvcl.c
390x/mvcl.stderr.exp
390x/mvcl.stdout.exp
390x/mvcl.vgtest
2062dc6ae4b4674619f0e330a551e18f0ea21da1 05-Sep-2011 sewardj <sewardj@a5019735-40e9-0310-863c-91ae7b9d1cf9> Add support for IBM Power ISA 2.06 -- stage 3 -- Test cases.
Bug 279994 comment 2).
(Maynard Johnson, maynardj@us.ibm.com)


git-svn-id: svn://svn.valgrind.org/valgrind/trunk@12007 a5019735-40e9-0310-863c-91ae7b9d1cf9
pc32/Makefile.am
pc32/test_isa_2_06_part3.c
pc32/test_isa_2_06_part3.stderr.exp
pc32/test_isa_2_06_part3.stdout.exp
pc32/test_isa_2_06_part3.vgtest
pc64/Makefile.am
pc64/test_isa_2_06_part3.c
pc64/test_isa_2_06_part3.stderr.exp
pc64/test_isa_2_06_part3.stdout.exp
pc64/test_isa_2_06_part3.vgtest
cc3de2dfcb3b724ecd305d9a30e9095fae6664c5 18-Aug-2011 sewardj <sewardj@a5019735-40e9-0310-863c-91ae7b9d1cf9> Add a new simulation hint, --sim-hints=fuse-compatible, which causes
a bunch of file-related syscalls to be handled on the might-block
syscall path rather than the fast syscall path. This fixes deadlocks
when running some FUSE-specific filesystem codes. Fixes #278057.
(Mike Shal, marfey@gmail.com)



git-svn-id: svn://svn.valgrind.org/valgrind/trunk@11993 a5019735-40e9-0310-863c-91ae7b9d1cf9
mdline1.stdout.exp
mdline2.stdout.exp
ce83509251bd1412552915f5d642a2ec503a5810 12-Aug-2011 tom <tom@a5019735-40e9-0310-863c-91ae7b9d1cf9> Add test for address size override prefixes for REP prefixed string
instructions on amd64. Fixes remaining issues from #211371.


git-svn-id: svn://svn.valgrind.org/valgrind/trunk@11969 a5019735-40e9-0310-863c-91ae7b9d1cf9
md64/Makefile.am
md64/asorep.c
md64/asorep.stderr.exp
md64/asorep.stdout.exp
md64/asorep.vgtest
469bd1e6c7bccf6ce9e92f1b6cb28915791b40f6 11-Aug-2011 florian <florian@a5019735-40e9-0310-863c-91ae7b9d1cf9> Non-VEX changes to fix #275517.
Add testcase and announce fix in NEWS.


git-svn-id: svn://svn.valgrind.org/valgrind/trunk@11966 a5019735-40e9-0310-863c-91ae7b9d1cf9
390x/Makefile.am
390x/cksm.c
390x/cksm.stderr.exp
390x/cksm.stdout.exp
390x/cksm.vgtest
74dc34f08fac78168d73f8a1e5ffebc2e732d0f3 11-Aug-2011 florian <florian@a5019735-40e9-0310-863c-91ae7b9d1cf9> Due to a kernel bug the siginfo struct was not filled in correctly.
The si_code was incorrect not matching any of the VKI_ILL_....
cases checked in m_signals.c function default_action.
So let's have two expected output files for buggy kernels and otherwise.
Also, add op00 to the list of files to be ignored.


git-svn-id: svn://svn.valgrind.org/valgrind/trunk@11964 a5019735-40e9-0310-863c-91ae7b9d1cf9
390x/op00.stderr.exp
390x/op00.stderr.exp1
390x/op00.stderr.exp2
ebfd3a8c69b8b3e7efdc26ef5aef2ce0ed70c4b6 10-Aug-2011 tom <tom@a5019735-40e9-0310-863c-91ae7b9d1cf9> Add tests for XCHG AX, reg16 on amd64. Fixes #252695.


git-svn-id: svn://svn.valgrind.org/valgrind/trunk@11962 a5019735-40e9-0310-863c-91ae7b9d1cf9
md64/insn_basic.def
md64/insn_basic.stdout.exp
84c90e6090c570249f8a81911c6e5622d4a4fa04 09-Aug-2011 florian <florian@a5019735-40e9-0310-863c-91ae7b9d1cf9> Followup to VEX r2189 -- handling invalid opcode 00 specially.
Update golden log for testcase op_exception which no longer
complains about invalid opcode 00.
Add testcase op00.c


git-svn-id: svn://svn.valgrind.org/valgrind/trunk@11958 a5019735-40e9-0310-863c-91ae7b9d1cf9
390x/Makefile.am
390x/op00.c
390x/op00.stderr.exp
390x/op00.vgtest
390x/op_exception.stderr.exp
fd5e53595fec7edd294e9162c305b194a4f7c3c3 24-Jul-2011 sewardj <sewardj@a5019735-40e9-0310-863c-91ae7b9d1cf9> The cmpxchg16b tests in this need to have 16-aligned addresses;
make it so. Else they die with segfaults on F15.


git-svn-id: svn://svn.valgrind.org/valgrind/trunk@11912 a5019735-40e9-0310-863c-91ae7b9d1cf9
md64/bug127521-64.c
d99bad8ced046157531c26e5ecc61a98a1c2fdc1 24-Jul-2011 sewardj <sewardj@a5019735-40e9-0310-863c-91ae7b9d1cf9> Change this file to be a symlink to the identical version
in the 32-bit equivalent directory
(none/tests/ppc32/test_isa_2_06_part1.c). Bug #277199.



git-svn-id: svn://svn.valgrind.org/valgrind/trunk@11909 a5019735-40e9-0310-863c-91ae7b9d1cf9
pc64/test_isa_2_06_part1.c
ab853107614a94f93c5058b03be61137e956fb27 24-Jul-2011 sewardj <sewardj@a5019735-40e9-0310-863c-91ae7b9d1cf9> Add support for IBM Power ISA 2.06 -- stage 2 (testcases).
Bug 276784. (Maynard Johnson, maynardj@us.ibm.com)


git-svn-id: svn://svn.valgrind.org/valgrind/trunk@11908 a5019735-40e9-0310-863c-91ae7b9d1cf9
pc32/Makefile.am
pc32/test_isa_2_06_part2.c
pc32/test_isa_2_06_part2.stderr.exp
pc32/test_isa_2_06_part2.stdout.exp
pc32/test_isa_2_06_part2.vgtest
pc64/Makefile.am
pc64/test_isa_2_06_part2.c
pc64/test_isa_2_06_part2.stderr.exp
pc64/test_isa_2_06_part2.stdout.exp
pc64/test_isa_2_06_part2.vgtest
24ec9f82e6e98e3b7db681052f1ce8650ae6437a 19-Jul-2011 sewardj <sewardj@a5019735-40e9-0310-863c-91ae7b9d1cf9> Add test cases for bug 277780. (fix for VMOV.F32).
Bug 277780. (Mans Rullgard, mans@mansr.com)


git-svn-id: svn://svn.valgrind.org/valgrind/trunk@11903 a5019735-40e9-0310-863c-91ae7b9d1cf9
rm/neon128.c
rm/neon128.stdout.exp
rm/neon64.c
rm/neon64.stdout.exp
e8c5c388bf60fe8ee00e299e8bc48a2233746671 19-Jul-2011 sewardj <sewardj@a5019735-40e9-0310-863c-91ae7b9d1cf9> Fix regtest: the delta value printed by the VSTn with register
post-index is bogus due to an accidental stringification in the macro.
Bug 277689. (Mans Rullgard, mans@mansr.com)


git-svn-id: svn://svn.valgrind.org/valgrind/trunk@11902 a5019735-40e9-0310-863c-91ae7b9d1cf9
rm/neon64.c
rm/neon64.stdout.exp
11b40674ec0857602b74f7649c3c09c706dccb0d 19-Jul-2011 sewardj <sewardj@a5019735-40e9-0310-863c-91ae7b9d1cf9> Add test cases for NEON VMUL by float scalar.
Bug 277663. (Mans Rullgard, mans@mansr.com)


git-svn-id: svn://svn.valgrind.org/valgrind/trunk@11901 a5019735-40e9-0310-863c-91ae7b9d1cf9
rm/neon128.c
rm/neon128.stdout.exp
rm/neon64.c
rm/neon64.stdout.exp
036113b63389de28f972414b684c01f414c13714 11-Jul-2011 florian <florian@a5019735-40e9-0310-863c-91ae7b9d1cf9> Valgrind-side changes to fix bug #271776.
Add testcase for s390x's STFLE instruction.
Patch provided by Divya Vyas <divyvyas@linux.vnet.ibm.com>


git-svn-id: svn://svn.valgrind.org/valgrind/trunk@11864 a5019735-40e9-0310-863c-91ae7b9d1cf9
390x/Makefile.am
390x/stfle.c
390x/stfle.stderr.exp
390x/stfle.stdout.exp
390x/stfle.vgtest
3f52be4640aafb1186950b780df7ab933332ba06 08-Jul-2011 sewardj <sewardj@a5019735-40e9-0310-863c-91ae7b9d1cf9> Add regression tests for {ADD,SUB}W reg, reg, #uimm12 (vex r2170)


git-svn-id: svn://svn.valgrind.org/valgrind/trunk@11863 a5019735-40e9-0310-863c-91ae7b9d1cf9
rm/v6intThumb.c
rm/v6intThumb.stdout.exp
63b52cfe3df319eac28ad8c8b40adde62079e07f 05-Jul-2011 sewardj <sewardj@a5019735-40e9-0310-863c-91ae7b9d1cf9> Enable testing of fres{.} and frsqrt{.} instructions. Fixes #275308.
Based on a patch by Maynard Johnson <maynardj@us.ibm.com>.



git-svn-id: svn://svn.valgrind.org/valgrind/trunk@11857 a5019735-40e9-0310-863c-91ae7b9d1cf9
pc32/jm-fp.stdout.exp
pc32/jm-insns.c
pc64/jm-fp.stdout.exp
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
akefile.am
md64/xadd.c
dleak_cmsg.c
th_atfork1.c
86/xadd.c
eb67dbf0bae27a165d9547b9e11029e283df3618 25-Jun-2011 florian <florian@a5019735-40e9-0310-863c-91ae7b9d1cf9> Get rid of some compiler warnings.
Fixes 275339 (Christian Borntraeger <borntraeger@de.ibm.com>)


git-svn-id: svn://svn.valgrind.org/valgrind/trunk@11832 a5019735-40e9-0310-863c-91ae7b9d1cf9
390x/fgx.c
390x/op_exception.c
1568e17cf07007c677274ce877973c7ed9357df2 18-Jun-2011 sewardj <sewardj@a5019735-40e9-0310-863c-91ae7b9d1cf9> Minor GDBserver source tidying. Also a small usability fix: if
--vgdb-error=N is specified, print a bit of text telling the user the
magic commands to give GDB in order to attach to the process.



git-svn-id: svn://svn.valgrind.org/valgrind/trunk@11822 a5019735-40e9-0310-863c-91ae7b9d1cf9
mdline1.stdout.exp
mdline2.stdout.exp
2a258897a1f1af8f5c7f0035a546971bce5c00b0 15-Jun-2011 sewardj <sewardj@a5019735-40e9-0310-863c-91ae7b9d1cf9> Valgrind-side fixes and tests for PACKUSDW, to track r2160.


git-svn-id: svn://svn.valgrind.org/valgrind/trunk@11816 a5019735-40e9-0310-863c-91ae7b9d1cf9
md64/sse4-64.c
md64/sse4-64.stdout.exp
6dbcc639e7138f80cf82f5bbcd426df0a293eb0d 07-Jun-2011 sewardj <sewardj@a5019735-40e9-0310-863c-91ae7b9d1cf9> Add a fourth --smc-check= variant, --smc-check=all-non-file. This
adds self-modifying-code checks to all guest code taken from mappings
which are not file backed, but omits checks in code from file backed
mappings. This has the effect of giving complete smc-coverage of JIT
generated code -- since that is invariably generated into anonymous
mapped areas -- without burdening non-JIT generated code with such
checks. Running Firefox 6, --smc-check=all-non-file reduces by a
factor of between 3 and 10 the number of translations requiring a self
check, compared to --smc-check=all. These changes depend on the vex
interface changes in r2158.



git-svn-id: svn://svn.valgrind.org/valgrind/trunk@11798 a5019735-40e9-0310-863c-91ae7b9d1cf9
mdline1.stdout.exp
mdline2.stdout.exp
73787c1540ca4ec04b1383f7b6363a461db37f35 17-May-2011 sewardj <sewardj@a5019735-40e9-0310-863c-91ae7b9d1cf9> gdbserver: (#214909 c 91)
add cleanup: line to none/tests/require-text-symbol-2.vgtest
In case Valgrind terminates abnormally, then no cleanup is done.
In this case, the abnormal termination is in the test which checks
--require-text-symbol=:*libc.so*:doesntexist
This patch adds a cleanup: line to the test.

(Philippe Waroquiers, philippe.waroquiers@skynet.be)



git-svn-id: svn://svn.valgrind.org/valgrind/trunk@11772 a5019735-40e9-0310-863c-91ae7b9d1cf9
equire-text-symbol-2.vgtest
02b89e887521d3f4e0cb0d3408eb3f462142f932 17-May-2011 sewardj <sewardj@a5019735-40e9-0310-863c-91ae7b9d1cf9> s390x: add test cases for STCK{,E,F} instructions. See #271779.
(Christian Borntraeger <borntraeger@de.ibm.com> and Divya Vyas)


git-svn-id: svn://svn.valgrind.org/valgrind/trunk@11766 a5019735-40e9-0310-863c-91ae7b9d1cf9
390x/Makefile.am
390x/stck.c
390x/stck.stderr.exp
390x/stck.stdout.exp
390x/stck.vgtest
390x/stcke.c
390x/stcke.stderr.exp
390x/stcke.stdout.exp
390x/stcke.vgtest
390x/stckf.c
390x/stckf.stderr.exp
390x/stckf.stdout.exp
390x/stckf.vgtest
fa253e1b429b953f200e83742b127005f86d4a2f 15-May-2011 bart <bart@a5019735-40e9-0310-863c-91ae7b9d1cf9> Suppressed compiler warnings triggered by none/tests/amd64/fxtract.c too.

git-svn-id: svn://svn.valgrind.org/valgrind/trunk@11760 a5019735-40e9-0310-863c-91ae7b9d1cf9
md64/Makefile.am
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
86/Makefile.am
575ce8ef8fa86a502dabe152293320676922dcfe 15-May-2011 bart <bart@a5019735-40e9-0310-863c-91ae7b9d1cf9> Get rid of the remaining "set but not used" warnings reported by gcc 4.6 by
swapping the roles of the VALGRIND_DO_CLIENT_REQUEST() and
VALGRIND_DO_CLIENT_REQUEST_EXPR() macros. Also, many __attribute__((unused))
declarations on variables have been eliminated. Closes #269778.

Note: so far this patch has been tested on x86/Linux, amd64/Linux and
ppc64/Linux but not yet on any other supported CPU/OS combination.


git-svn-id: svn://svn.valgrind.org/valgrind/trunk@11755 a5019735-40e9-0310-863c-91ae7b9d1cf9
iscard.c
3b290486cd4cd601b20e04340e593c9ed9717e5f 06-May-2011 sewardj <sewardj@a5019735-40e9-0310-863c-91ae7b9d1cf9> Implement a GDB server in Valgrind. See #214909.
(Philippe Waroquiers, philippe.waroquiers@skynet.be)



git-svn-id: svn://svn.valgrind.org/valgrind/trunk@11727 a5019735-40e9-0310-863c-91ae7b9d1cf9
mdline1.stdout.exp
mdline2.stdout.exp
algrind_cpp_test.cpp
98b56b672f5c1c00a360fa62a08ea6a8e06af727 28-Apr-2011 sewardj <sewardj@a5019735-40e9-0310-863c-91ae7b9d1cf9> s390x : misc cleanups

- Forgotten cleanups in none/tests/s390x/Makefile.am

Partial fix for #271501. (Florian Krohm, britzel@acm.org)



git-svn-id: svn://svn.valgrind.org/valgrind/trunk@11718 a5019735-40e9-0310-863c-91ae7b9d1cf9
390x/Makefile.am
1c6f6ab689f5f0ad3882cc12a4d9dd5a18a0a2a0 27-Apr-2011 sewardj <sewardj@a5019735-40e9-0310-863c-91ae7b9d1cf9> s390x: fpr - gpr transfer facility -- valgrind side fixes,
and test cases. Fixes #268619.
(Florian Krohm, britzel@acm.org)



git-svn-id: svn://svn.valgrind.org/valgrind/trunk@11713 a5019735-40e9-0310-863c-91ae7b9d1cf9
390x/Makefile.am
390x/fgx.c
390x/fgx.stderr.exp
390x/fgx.stdout.exp
390x/fgx.vgtest
9f4e472e71cf49860745eaf439a021f00ddc2c7c 27-Apr-2011 sewardj <sewardj@a5019735-40e9-0310-863c-91ae7b9d1cf9> Fix bogus asm constraints in jm-insns.c. Fixes #263919.
(Maynard Johnson, maynardj@us.ibm.com)


git-svn-id: svn://svn.valgrind.org/valgrind/trunk@11712 a5019735-40e9-0310-863c-91ae7b9d1cf9
pc32/jm-insns.c
6ae0095e4630c7527fbb738ab1f57dc08dc0d1e1 27-Apr-2011 sewardj <sewardj@a5019735-40e9-0310-863c-91ae7b9d1cf9> Add alternative expected output cases for more recent glibcs (eg,
2.12), which print a minus sign for NaNs. Fixes #262989.
(Maynard Johnson, maynardj@us.ibm.com)



git-svn-id: svn://svn.valgrind.org/valgrind/trunk@11711 a5019735-40e9-0310-863c-91ae7b9d1cf9
pc32/Makefile.am
pc32/jm-vmx.stdout.exp_Minus_nan
pc32/test_fx.stdout.exp_Minus_nan
pc32/test_gx.stdout.exp_Minus_nan
pc64/Makefile.am
pc64/jm-vmx.stdout.exp_Minus_nan
2762a738523d6f37cab30c4b1fae6a30414a81f6 27-Apr-2011 sewardj <sewardj@a5019735-40e9-0310-863c-91ae7b9d1cf9> Fix a bunch of printf format-string warnings when compiling this "-m64".


git-svn-id: svn://svn.valgrind.org/valgrind/trunk@11710 a5019735-40e9-0310-863c-91ae7b9d1cf9
pc32/jm-insns.c
29f081107fcbf3c9931b85a8cde16d9321bfd15a 26-Apr-2011 sewardj <sewardj@a5019735-40e9-0310-863c-91ae7b9d1cf9> Remove some unused code that gcc-4.6 warns about.


git-svn-id: svn://svn.valgrind.org/valgrind/trunk@11708 a5019735-40e9-0310-863c-91ae7b9d1cf9
md64/sse4-64.c
6d06b390d6ced1600acbefeea6b8cee3a51143f2 22-Apr-2011 sewardj <sewardj@a5019735-40e9-0310-863c-91ae7b9d1cf9> Fix a couple of warnings when building the regtests.


git-svn-id: svn://svn.valgrind.org/valgrind/trunk@11706 a5019735-40e9-0310-863c-91ae7b9d1cf9
oolo_sigaction.cpp
f34eb496099507090f26dcf94bb780da8b3894e5 15-Apr-2011 sewardj <sewardj@a5019735-40e9-0310-863c-91ae7b9d1cf9> Add support for IBM Power ISA 2.06 -- stage 1. Valgrind-side changes
and test cases. Bug #267630 and followup fix #270794.
(Maynard Johnson, maynardj@us.ibm.com)



git-svn-id: svn://svn.valgrind.org/valgrind/trunk@11697 a5019735-40e9-0310-863c-91ae7b9d1cf9
pc32/Makefile.am
pc32/test_isa_2_06_part1.c
pc32/test_isa_2_06_part1.stderr.exp
pc32/test_isa_2_06_part1.stdout.exp
pc32/test_isa_2_06_part1.vgtest
pc64/Makefile.am
pc64/test_isa_2_06_part1.c
pc64/test_isa_2_06_part1.stderr.exp
pc64/test_isa_2_06_part1.stdout.exp
pc64/test_isa_2_06_part1.vgtest
6d62a0e728931ad8fc6a98775b57377f71b271d8 13-Apr-2011 sewardj <sewardj@a5019735-40e9-0310-863c-91ae7b9d1cf9> Followup fix for r11693: add a file that was missed.
Related to #270115. (Florian Krohm, britzel@acm.org)


git-svn-id: svn://svn.valgrind.org/valgrind/trunk@11696 a5019735-40e9-0310-863c-91ae7b9d1cf9
390x/opcodes.h
852c640f09bde263e91eefb9ef35af1e88466a95 13-Apr-2011 sewardj <sewardj@a5019735-40e9-0310-863c-91ae7b9d1cf9> Test cases for #270082 (s390x: Make sure to point the PSW address to
the next address on SIGILL)
(Christian Borntraeger <borntraeger@de.ibm.com>)



git-svn-id: svn://svn.valgrind.org/valgrind/trunk@11694 a5019735-40e9-0310-863c-91ae7b9d1cf9
390x/Makefile.am
390x/op_exception.c
390x/op_exception.stderr.exp
390x/op_exception.stdout.exp
390x/op_exception.vgtest
d50650d6cb0e3577ba28b470a4e5f5df8368afaa 13-Apr-2011 sewardj <sewardj@a5019735-40e9-0310-863c-91ae7b9d1cf9> s390x: rewrite some testcases. To make my testing and debugging life
simpler, I've rewritten those testcases from none/tests/s390x that
require binutils to recognize opcodes defined in the
extended-immediate and general-instruction-extension facilities. As a
side effect this change removes the special casing in
none/tests/s390x/Makefile.am and the configury bits to support it.
Fixes #270115. (Florian Krohm, britzel@acm.org)



git-svn-id: svn://svn.valgrind.org/valgrind/trunk@11693 a5019735-40e9-0310-863c-91ae7b9d1cf9
390x/Makefile.am
390x/add.c
390x/add.h
390x/add.stdout.exp
390x/add_EI.c
390x/add_EI.stdout.exp
390x/add_GE.c
390x/add_GE.stdout.exp
390x/and.c
390x/and.h
390x/and_EI.c
390x/and_EI.stdout.exp
390x/condloadstore.c
390x/condloadstore.stdout.exp
390x/flogr.c
390x/insert.c
390x/insert.h
390x/insert_EI.c
390x/insert_EI.stdout.exp
390x/mul.c
390x/mul.h
390x/mul_GE.c
390x/mul_GE.stdout.exp
390x/or.c
390x/or.h
390x/or_EI.c
390x/or_EI.stdout.exp
390x/sub.c
390x/sub.h
390x/sub.stdout.exp
390x/sub_EI.c
390x/sub_EI.stdout.exp
390x/xor.c
390x/xor.h
390x/xor_EI.c
390x/xor_EI.stdout.exp
aba3533d4cf547c3950144a00dca9258631a32bd 05-Apr-2011 sewardj <sewardj@a5019735-40e9-0310-863c-91ae7b9d1cf9> Testcases for s390x conditional load and store. See #269209.
(Christian Borntraeger, borntraeger@de.ibm.com)


git-svn-id: svn://svn.valgrind.org/valgrind/trunk@11685 a5019735-40e9-0310-863c-91ae7b9d1cf9
390x/Makefile.am
390x/condloadstore.c
390x/condloadstore.stderr.exp
390x/condloadstore.stdout.exp
390x/condloadstore.vgtest
669b910a82c120019727f87045c721992c8d0c0f 05-Apr-2011 sewardj <sewardj@a5019735-40e9-0310-863c-91ae7b9d1cf9> Add s390x-esque test for folding Iop_And16. From #268513 comment 3.
(Florian Krohm, britzel@acm.org)


git-svn-id: svn://svn.valgrind.org/valgrind/trunk@11684 a5019735-40e9-0310-863c-91ae7b9d1cf9
390x/Makefile.am
390x/fold_And16.c
390x/fold_And16.stderr.exp
390x/fold_And16.stdout.exp
390x/fold_And16.vgtest
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
ug129866.c
oolo_sigaction.cpp
inux/mremap2.c
86/aad_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
md64/gen_insn_test.pl
86/gen_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
md64/gen_insn_test.pl
86/gen_insn_test.pl
039f7e10c5bd199ad3c3ccd7d834b8b433de76cd 28-Mar-2011 sewardj <sewardj@a5019735-40e9-0310-863c-91ae7b9d1cf9> Fix broken inline assembly preventing compilation on RHEL6.
Fixes #256703. (Jakub Jelinek, jakub@redhat.com)


git-svn-id: svn://svn.valgrind.org/valgrind/trunk@11670 a5019735-40e9-0310-863c-91ae7b9d1cf9
pc32/xlc_dbl_u32.c
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
86/Makefile.am
86/shift_ndep.c
86/shift_ndep.stderr.exp
86/shift_ndep.stdout.exp
86/shift_ndep.vgtest
8ef7224ba09b9320f1417cabbd56109e0408351e 24-Mar-2011 sewardj <sewardj@a5019735-40e9-0310-863c-91ae7b9d1cf9> Test improvements for FLOGR. Part of #268715.
(Florian Krohm, britzel@acm.org)


git-svn-id: svn://svn.valgrind.org/valgrind/trunk@11662 a5019735-40e9-0310-863c-91ae7b9d1cf9
390x/flogr.c
98d0212457b411d68f9cbdaeef15ec105bddaa47 15-Mar-2011 sewardj <sewardj@a5019735-40e9-0310-863c-91ae7b9d1cf9> Some fixes for the faultstatus testcase. Fixes #253206.
(Christian Borntraeger, borntraeger@de.ibm.com)


git-svn-id: svn://svn.valgrind.org/valgrind/trunk@11644 a5019735-40e9-0310-863c-91ae7b9d1cf9
aultstatus.c
15f9feb6d4e065d5732b1bd7a46b02a7c52bc685 10-Mar-2011 sewardj <sewardj@a5019735-40e9-0310-863c-91ae7b9d1cf9> 'make dist' fixes following s390x-linux merge. (Christian Borntraeger
<borntraeger@de.ibm.com>)



git-svn-id: svn://svn.valgrind.org/valgrind/trunk@11616 a5019735-40e9-0310-863c-91ae7b9d1cf9
390x/Makefile.am
390x/flogr.stdout.exp
8b8e680854e49bf5bb4d8d74ad1ca046b3ecc2e5 07-Mar-2011 sewardj <sewardj@a5019735-40e9-0310-863c-91ae7b9d1cf9> Make this executable.


git-svn-id: svn://svn.valgrind.org/valgrind/trunk@11606 a5019735-40e9-0310-863c-91ae7b9d1cf9
390x/filter_stderr
b5b87408c0c99f9f6938d8cd921e2a5f420577c4 07-Mar-2011 sewardj <sewardj@a5019735-40e9-0310-863c-91ae7b9d1cf9> Add a port to IBM z/Architecture (s390x) running Linux -- Valgrind
side components. (Florian Krohm <britzel@acm.org> and Christian
Borntraeger <borntraeger@de.ibm.com>). Fixes #243404.



git-svn-id: svn://svn.valgrind.org/valgrind/trunk@11604 a5019735-40e9-0310-863c-91ae7b9d1cf9
akefile.am
390x/Makefile.am
390x/add.c
390x/add.h
390x/add.stderr.exp
390x/add.stdout.exp
390x/add.vgtest
390x/add_EI.c
390x/add_EI.stderr.exp
390x/add_EI.stdout.exp
390x/add_EI.vgtest
390x/add_GE.c
390x/add_GE.stderr.exp
390x/add_GE.stdout.exp
390x/add_GE.vgtest
390x/and.c
390x/and.h
390x/and.stderr.exp
390x/and.stdout.exp
390x/and.vgtest
390x/and_EI.c
390x/and_EI.stderr.exp
390x/and_EI.stdout.exp
390x/and_EI.vgtest
390x/clc.c
390x/clc.stderr.exp
390x/clc.stdout.exp
390x/clc.vgtest
390x/clcle.c
390x/clcle.stderr.exp
390x/clcle.stdout.exp
390x/clcle.vgtest
390x/cvb.c
390x/cvb.stderr.exp
390x/cvb.stdout.exp
390x/cvb.vgtest
390x/cvd.c
390x/cvd.stderr.exp
390x/cvd.stdout.exp
390x/cvd.vgtest
390x/div.c
390x/div.h
390x/div.stderr.exp
390x/div.stdout.exp
390x/div.vgtest
390x/ex_clone.c
390x/ex_clone.stderr.exp
390x/ex_clone.stdout.exp
390x/ex_clone.vgtest
390x/ex_sig.c
390x/ex_sig.stderr.exp
390x/ex_sig.stdout.exp
390x/ex_sig.vgtest
390x/filter_stderr
390x/flogr.c
390x/flogr.stderr.exp
390x/flogr.vgtest
390x/icm.c
390x/icm.stderr.exp
390x/icm.stdout.exp
390x/icm.vgtest
390x/insert.c
390x/insert.h
390x/insert.stderr.exp
390x/insert.stdout.exp
390x/insert.vgtest
390x/insert_EI.c
390x/insert_EI.stderr.exp
390x/insert_EI.stdout.exp
390x/insert_EI.vgtest
390x/lam_stam.c
390x/lam_stam.stderr.exp
390x/lam_stam.stdout.exp
390x/lam_stam.vgtest
390x/lpr.c
390x/lpr.stderr.exp
390x/lpr.stdout.exp
390x/lpr.vgtest
390x/mul.c
390x/mul.h
390x/mul.stderr.exp
390x/mul.stdout.exp
390x/mul.vgtest
390x/mul_GE.c
390x/mul_GE.stderr.exp
390x/mul_GE.stdout.exp
390x/mul_GE.vgtest
390x/mvst.c
390x/mvst.stderr.exp
390x/mvst.stdout.exp
390x/mvst.vgtest
390x/or.c
390x/or.h
390x/or.stderr.exp
390x/or.stdout.exp
390x/or.vgtest
390x/or_EI.c
390x/or_EI.stderr.exp
390x/or_EI.stdout.exp
390x/or_EI.vgtest
390x/srst.c
390x/srst.stderr.exp
390x/srst.stdout.exp
390x/srst.vgtest
390x/sub.c
390x/sub.h
390x/sub.stderr.exp
390x/sub.stdout.exp
390x/sub.vgtest
390x/sub_EI.c
390x/sub_EI.stderr.exp
390x/sub_EI.stdout.exp
390x/sub_EI.vgtest
390x/tcxb.c
390x/tcxb.stderr.exp
390x/tcxb.stdout.exp
390x/tcxb.vgtest
390x/test.h
390x/xc.c
390x/xc.stderr.exp
390x/xc.stdout.exp
390x/xc.vgtest
390x/xor.c
390x/xor.h
390x/xor.stderr.exp
390x/xor.stdout.exp
390x/xor.vgtest
390x/xor_EI.c
390x/xor_EI.stderr.exp
390x/xor_EI.stdout.exp
390x/xor_EI.vgtest
e44f4b26c794828660aae1bdf50ccf8a6e90906f 05-Mar-2011 bart <bart@a5019735-40e9-0310-863c-91ae7b9d1cf9> Darwin: Re-enabled four regression tests.


git-svn-id: svn://svn.valgrind.org/valgrind/trunk@11588 a5019735-40e9-0310-863c-91ae7b9d1cf9
md64/Makefile.am
1005ef5ea5158da9b9f2fd252ba603243c5e5302 05-Mar-2011 bart <bart@a5019735-40e9-0310-863c-91ae7b9d1cf9> Darwin: Build fixes for four regression tests by Rich Coe (see also #267488).


git-svn-id: svn://svn.valgrind.org/valgrind/trunk@11587 a5019735-40e9-0310-863c-91ae7b9d1cf9
md64/cmpxchg.c
md64/sbbmisc.c
md64/sse4-64.c
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
86/Makefile.am
df9fa2eda08beac38a43a1f9380931583788e7ae 05-Mar-2011 bart <bart@a5019735-40e9-0310-863c-91ae7b9d1cf9> Updated Subversion ignore list.

git-svn-id: svn://svn.valgrind.org/valgrind/trunk@11583 a5019735-40e9-0310-863c-91ae7b9d1cf9
md64/Makefile.am
2f61c02dd0d6aad5a268f329f1a4ae85d7a82d19 21-Jan-2011 sewardj <sewardj@a5019735-40e9-0310-863c-91ae7b9d1cf9> Add a test for LOOPNEL. See #256669.
(Jakub Jelinek <jakub@redhat.com>)


git-svn-id: svn://svn.valgrind.org/valgrind/trunk@11507 a5019735-40e9-0310-863c-91ae7b9d1cf9
md64/Makefile.am
md64/loopnel.c
md64/loopnel.stderr.exp
md64/loopnel.stdout.exp
md64/loopnel.vgtest
4a12423d8c9cf8853332483f653d27913eb27f3e 21-Jan-2011 sewardj <sewardj@a5019735-40e9-0310-863c-91ae7b9d1cf9> Add tests for SSE4.2 CRC32{B,W,L,Q} insns.


git-svn-id: svn://svn.valgrind.org/valgrind/trunk@11505 a5019735-40e9-0310-863c-91ae7b9d1cf9
md64/Makefile.am
md64/crc32.c
md64/crc32.stderr.exp
md64/crc32.stdout.exp
md64/crc32.vgtest
3b20b17c01834d95e1ce9785a0a366057320fe5c 18-Jan-2011 sewardj <sewardj@a5019735-40e9-0310-863c-91ae7b9d1cf9> Add test cases for PCMPxSTRx $0x00.


git-svn-id: svn://svn.valgrind.org/valgrind/trunk@11503 a5019735-40e9-0310-863c-91ae7b9d1cf9
md64/pcmpstr64.c
md64/pcmpstr64.stdout.exp
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
86/Makefile.am
86/aad_aam.c
86/aad_aam.stderr.exp
86/aad_aam.stdout.exp
86/aad_aam.vgtest
2ecb7cc676adab884584e79c23238344b4300e5c 17-Jan-2011 sewardj <sewardj@a5019735-40e9-0310-863c-91ae7b9d1cf9> Connect up tests for PCMPxSTRx to the build system.


git-svn-id: svn://svn.valgrind.org/valgrind/trunk@11501 a5019735-40e9-0310-863c-91ae7b9d1cf9
md64/Makefile.am
md64/pcmpstr64.stderr.exp
md64/pcmpstr64.stdout.exp
md64/pcmpstr64.vgtest
md64/pcmpxstrx64.stderr.exp
md64/pcmpxstrx64.stdout.exp
md64/pcmpxstrx64.vgtest
9dd960f9d9511af90082d0ecabd07a1c460b0a6c 17-Jan-2011 sewardj <sewardj@a5019735-40e9-0310-863c-91ae7b9d1cf9> Connect up sse4 tests to the build system.


git-svn-id: svn://svn.valgrind.org/valgrind/trunk@11500 a5019735-40e9-0310-863c-91ae7b9d1cf9
md64/Makefile.am
md64/sse4-64.stderr.exp
md64/sse4-64.stdout.exp
md64/sse4-64.vgtest
f60af032f3a3e1c8438ceaef2b92caa403802b21 17-Jan-2011 sewardj <sewardj@a5019735-40e9-0310-863c-91ae7b9d1cf9> Add test cases for EXTRACTPS, BLENDVPD, BLENDVPS, PBLENDVB.


git-svn-id: svn://svn.valgrind.org/valgrind/trunk@11498 a5019735-40e9-0310-863c-91ae7b9d1cf9
md64/sse4-64.c
4fbf7c76db1a37051d329a5bd29f8733832d56a2 11-Jan-2011 sewardj <sewardj@a5019735-40e9-0310-863c-91ae7b9d1cf9> Add tests for non-immediate-rounding-mode versions of ROUND{P,S}{S,D}.


git-svn-id: svn://svn.valgrind.org/valgrind/trunk@11496 a5019735-40e9-0310-863c-91ae7b9d1cf9
md64/sse4-64.c
9ab64a4d3043c251561419d0e0f51492172b1072 06-Dec-2010 sewardj <sewardj@a5019735-40e9-0310-863c-91ae7b9d1cf9> New command line option: --trace-children-skip-by-arg, which allows
chase/nochase decisions for child processes to be made on the basis
of their argv[] entries rather than on the name of their executables.



git-svn-id: svn://svn.valgrind.org/valgrind/trunk@11483 a5019735-40e9-0310-863c-91ae7b9d1cf9
mdline1.stdout.exp
mdline2.stdout.exp
05b885350430ded6fe29966b5af645e16c88f18b 06-Dec-2010 sewardj <sewardj@a5019735-40e9-0310-863c-91ae7b9d1cf9> Add tests for ROUNDPD and ROUNDPS.


git-svn-id: svn://svn.valgrind.org/valgrind/trunk@11481 a5019735-40e9-0310-863c-91ae7b9d1cf9
md64/sse4-64.c
ef64c47326c045cf99c334513d9128799049e4c9 18-Oct-2010 sewardj <sewardj@a5019735-40e9-0310-863c-91ae7b9d1cf9> Add test cases for SMSAD{X}, SMLSD{X}, USAD{A}8, added in vex r2067.


git-svn-id: svn://svn.valgrind.org/valgrind/trunk@11455 a5019735-40e9-0310-863c-91ae7b9d1cf9
rm/v6media.c
rm/v6media.stdout.exp
e089f012b564f8abef451fe7a5a135a71fb6488d 13-Oct-2010 sewardj <sewardj@a5019735-40e9-0310-863c-91ae7b9d1cf9> Documentation update for 3.6.0 (not including NEWS).


git-svn-id: svn://svn.valgrind.org/valgrind/trunk@11440 a5019735-40e9-0310-863c-91ae7b9d1cf9
mdline1.stdout.exp
mdline2.stdout.exp
14cdbf8f4ac7e49de2bced6546f7867b2e0655f0 12-Oct-2010 sewardj <sewardj@a5019735-40e9-0310-863c-91ae7b9d1cf9> Make the --prefix-to-strip=... command-line option added in r11312
behave more like the original proposal in #245535. This makes it
more flexible and general. Also rename it.

* new name is --fullpath-after=

* allow multiple instances of --fullpath-after=

* don't require the specified strings to be prefixes, only substrings

But retain the elegant backwards-compatibility trick in Bart's r11312
commit: if --fullpath-after= is not specified at all, then behave
exactly as before.

Fixes #245535. A mixture of patches from Bart Van Assche
(bart.vanassche@gmail.com), Alexander Potapenko (glider@google.com),
and me (integration and documentation).



git-svn-id: svn://svn.valgrind.org/valgrind/trunk@11430 a5019735-40e9-0310-863c-91ae7b9d1cf9
mdline1.stdout.exp
mdline2.stdout.exp
992d76c3589374f8450aab000b6b59f671129a91 11-Oct-2010 sewardj <sewardj@a5019735-40e9-0310-863c-91ae7b9d1cf9> Add tests for NOP cases.


git-svn-id: svn://svn.valgrind.org/valgrind/trunk@11427 a5019735-40e9-0310-863c-91ae7b9d1cf9
rm/v6intARM.c
rm/v6intARM.stdout.exp
rm/v6intThumb.c
rm/v6intThumb.stdout.exp
7838ae668b857baeea24b5fa4119ed44c315eb8c 11-Oct-2010 sewardj <sewardj@a5019735-40e9-0310-863c-91ae7b9d1cf9> Improve NEON instruction set tests, so as to run tests with
different data in high and low d-register halves.
(Dmitry Zhurikhin, zhur@ispras.ru)



git-svn-id: svn://svn.valgrind.org/valgrind/trunk@11426 a5019735-40e9-0310-863c-91ae7b9d1cf9
rm/neon128.c
rm/neon128.stdout.exp
rm/neon64.c
rm/neon64.stdout.exp
ad69807130f312d8714f40214aab43bee38d0747 11-Oct-2010 bart <bart@a5019735-40e9-0310-863c-91ae7b9d1cf9> none/tests/ppc*/jm-insns.c: Minor simplification.

git-svn-id: svn://svn.valgrind.org/valgrind/trunk@11425 a5019735-40e9-0310-863c-91ae7b9d1cf9
pc32/jm-insns.c
e4f74838b9b2bbaaaca08117214194ec368caf95 06-Oct-2010 bart <bart@a5019735-40e9-0310-863c-91ae7b9d1cf9> ppc/jm-insns.c: Use proper integer types.

git-svn-id: svn://svn.valgrind.org/valgrind/trunk@11401 a5019735-40e9-0310-863c-91ae7b9d1cf9
pc32/jm-insns.c
e3ae8a3c0768f7fe0d2627e6f889bff3c4c053ec 28-Sep-2010 sewardj <sewardj@a5019735-40e9-0310-863c-91ae7b9d1cf9> Test cases for amd64 PCLMULDQ (Emmanuel Thome, Emmanuel.Thome@gmail.com).


git-svn-id: svn://svn.valgrind.org/valgrind/trunk@11389 a5019735-40e9-0310-863c-91ae7b9d1cf9
md64/Makefile.am
md64/insn_pclmulqdq.def
md64/insn_pclmulqdq.stderr.exp
md64/insn_pclmulqdq.stdout.exp
md64/insn_pclmulqdq.vgtest
6dc769e2484fb51976947db6c49f844bf4f761b7 28-Sep-2010 sewardj <sewardj@a5019735-40e9-0310-863c-91ae7b9d1cf9> Add test cases for CMPXCHG reg, reg on amd64. (Vince Weaver,
vince@csl.cornell.edu). See #246311.



git-svn-id: svn://svn.valgrind.org/valgrind/trunk@11386 a5019735-40e9-0310-863c-91ae7b9d1cf9
md64/Makefile.am
md64/cmpxchg.c
md64/cmpxchg.stderr.exp
md64/cmpxchg.stdout.exp
md64/cmpxchg.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
md64/Makefile.am
md64/sbbmisc.c
md64/sbbmisc.stderr.exp
md64/sbbmisc.stdout.exp
md64/sbbmisc.vgtest
86/sbbmisc.c
86/sbbmisc.stdout.exp
e397c03399a1e4ebcd645123184ae24c8bd1a306 26-Sep-2010 sewardj <sewardj@a5019735-40e9-0310-863c-91ae7b9d1cf9> Add tests for all encodings of REV and REV16 in both ARM and Thumb mode.


git-svn-id: svn://svn.valgrind.org/valgrind/trunk@11381 a5019735-40e9-0310-863c-91ae7b9d1cf9
rm/v6intARM.c
rm/v6intARM.stdout.exp
rm/v6intThumb.c
rm/v6intThumb.stdout.exp
2f9210e2ccfa949480b0464b4d22d238b6fc7dcf 26-Sep-2010 sewardj <sewardj@a5019735-40e9-0310-863c-91ae7b9d1cf9> Add tests for ORN (immediate) and ORN (register).


git-svn-id: svn://svn.valgrind.org/valgrind/trunk@11380 a5019735-40e9-0310-863c-91ae7b9d1cf9
rm/v6intThumb.c
rm/v6intThumb.stdout.exp
841c44704316560e5323ed4fab9c4f7318c44373 25-Sep-2010 sewardj <sewardj@a5019735-40e9-0310-863c-91ae7b9d1cf9> Test for RBIT in ARM mode.


git-svn-id: svn://svn.valgrind.org/valgrind/trunk@11379 a5019735-40e9-0310-863c-91ae7b9d1cf9
rm/v6intARM.c
rm/v6intARM.stdout.exp
1791f9352889fa5d7a8f3b74fcf7f6ac8521c821 23-Sep-2010 sewardj <sewardj@a5019735-40e9-0310-863c-91ae7b9d1cf9> Add VFP test cases, as per bug 244493 comment 1. Minorly cleaned up
version of a patch by (Dmitry Zhurikhin, zhur@ispras.ru)



git-svn-id: svn://svn.valgrind.org/valgrind/trunk@11374 a5019735-40e9-0310-863c-91ae7b9d1cf9
rm/Makefile.am
rm/vfp.c
rm/vfp.stderr.exp
rm/vfp.stdout.exp
rm/vfp.vgtest
5c9b293ea963bfc71fa47ebbf87a1cbbe9af9f2a 22-Sep-2010 sewardj <sewardj@a5019735-40e9-0310-863c-91ae7b9d1cf9> Add more test cases for {U,S}{ADD,SUB}16.


git-svn-id: svn://svn.valgrind.org/valgrind/trunk@11372 a5019735-40e9-0310-863c-91ae7b9d1cf9
rm/v6media.c
rm/v6media.stdout.exp
9fd1aa31463162feb20edc5dd71c8c191676c31b 21-Sep-2010 sewardj <sewardj@a5019735-40e9-0310-863c-91ae7b9d1cf9> Add test cases for SSUB8 and UHADD8.


git-svn-id: svn://svn.valgrind.org/valgrind/trunk@11370 a5019735-40e9-0310-863c-91ae7b9d1cf9
rm/v6media.c
rm/v6media.stdout.exp
9745a82a0984ab93811a9f511ef30ac12fa39e69 21-Sep-2010 sewardj <sewardj@a5019735-40e9-0310-863c-91ae7b9d1cf9> Add tests for new insns in vex r2033 (SADD16, SSUB16, SASX, SMLAWB, SMLAWT)


git-svn-id: svn://svn.valgrind.org/valgrind/trunk@11369 a5019735-40e9-0310-863c-91ae7b9d1cf9
rm/v6media.c
rm/v6media.stdout.exp
23358861dc967bd95b30221ec539102b52c9b647 18-Sep-2010 bart <bart@a5019735-40e9-0310-863c-91ae7b9d1cf9> Made power6_bcmp testcases pass - patch from Maynard Johnson. Closes #250777.

git-svn-id: svn://svn.valgrind.org/valgrind/trunk@11359 a5019735-40e9-0310-863c-91ae7b9d1cf9
pc32/power6_bcmp.c
pc64/power6_bcmp.c
482d35c0fad2f5452db44154f3740838f49e4c76 14-Sep-2010 bart <bart@a5019735-40e9-0310-863c-91ae7b9d1cf9> PowerPC, Altivec: avoid using typedefs in combination with the vector keyword.
Patch by Maynard Johnson (see also #247526).


git-svn-id: svn://svn.valgrind.org/valgrind/trunk@11358 a5019735-40e9-0310-863c-91ae7b9d1cf9
pc32/jm-insns.c
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
md64/Makefile.am
86/Makefile.am
7f0ac75001859158cd4db60807ccad8a4528bfc4 10-Sep-2010 sewardj <sewardj@a5019735-40e9-0310-863c-91ae7b9d1cf9> Add missing (empty) stdout.exp files.


git-svn-id: svn://svn.valgrind.org/valgrind/trunk@11350 a5019735-40e9-0310-863c-91ae7b9d1cf9
pc32/power6_bcmp.stdout.exp
pc64/power6_bcmp.stdout.exp
0415734ea82b60f95db8a3549e8db83720bffb18 08-Sep-2010 sewardj <sewardj@a5019735-40e9-0310-863c-91ae7b9d1cf9> Add tests for RBIT (bit-reverse) instruction (Thumb only).


git-svn-id: svn://svn.valgrind.org/valgrind/trunk@11344 a5019735-40e9-0310-863c-91ae7b9d1cf9
rm/v6intThumb.c
rm/v6intThumb.stdout.exp
0e342a0c84f17f2e5ca3e244db36dba074fdd5d0 04-Sep-2010 sewardj <sewardj@a5019735-40e9-0310-863c-91ae7b9d1cf9> Add tests for new PowerISA_2.05 instructions available on Power6 CPUs.
(Maynard Johnson, maynardj@us.ibm.com and Pete Eberlein, eberlein@us.ibm.com)



git-svn-id: svn://svn.valgrind.org/valgrind/trunk@11338 a5019735-40e9-0310-863c-91ae7b9d1cf9
pc32/Makefile.am
pc32/bug129390-ppc32.vgtest
pc32/jm-insns.c
pc32/jm-vmx.vgtest
pc32/power5+_round.c
pc32/power5+_round.stderr.exp
pc32/power5+_round.stdout.exp
pc32/power5+_round.vgtest
pc32/power6_bcmp.c
pc32/power6_bcmp.stderr.exp
pc32/power6_bcmp.vgtest
pc32/testVMX.vgtest
pc64/Makefile.am
pc64/jm-vmx.vgtest
pc64/power6_bcmp.c
pc64/power6_bcmp.stderr.exp
pc64/power6_bcmp.vgtest
pc64/power6_mf_gpr.c
pc64/power6_mf_gpr.stderr.exp
pc64/power6_mf_gpr.stdout.exp
pc64/power6_mf_gpr.vgtest
f9fe602a426e4ec8e8ca18f0005af7319a566858 03-Sep-2010 sewardj <sewardj@a5019735-40e9-0310-863c-91ae7b9d1cf9> Followup to r11333: rename HAVE_ALTIVEC back to HAS_ALTIVEC, since the
symbol is used in more places than those addressed by r11333.


git-svn-id: svn://svn.valgrind.org/valgrind/trunk@11335 a5019735-40e9-0310-863c-91ae7b9d1cf9
pc32/jm-insns.c
6467a15a56f58e1007dc9cf26bee3de17606417b 03-Sep-2010 sewardj <sewardj@a5019735-40e9-0310-863c-91ae7b9d1cf9> Un-break feature detection for Altivec, so that the Altivec tests
get built properly.


git-svn-id: svn://svn.valgrind.org/valgrind/trunk@11333 a5019735-40e9-0310-863c-91ae7b9d1cf9
pc32/jm-insns.c
5dd0190bc0ea66f8ffa7218c66f5a2e1c7b51b30 31-Aug-2010 bart <bart@a5019735-40e9-0310-863c-91ae7b9d1cf9> Added command-line option --prefix-to-strip=... Closes #245535.


git-svn-id: svn://svn.valgrind.org/valgrind/trunk@11312 a5019735-40e9-0310-863c-91ae7b9d1cf9
mdline1.stdout.exp
mdline2.stdout.exp
2536c9d1537a082217ef230394e9eebb75e9a100 31-Aug-2010 sewardj <sewardj@a5019735-40e9-0310-863c-91ae7b9d1cf9> Improved test cases for Neon VLDn/VSTn instructions.
(Kirill Batuzov <batuzovk@ispras.ru>)



git-svn-id: svn://svn.valgrind.org/valgrind/trunk@11309 a5019735-40e9-0310-863c-91ae7b9d1cf9
rm/neon64.c
rm/neon64.stdout.exp
81e06dc4e4b45e5a363cdf7e8cf221ef1289fff0 29-Aug-2010 sewardj <sewardj@a5019735-40e9-0310-863c-91ae7b9d1cf9> Add test cases for v6 media instructions in both ARM and Thumb mode.
(Donna Robinson, donna@valgrind.org).


git-svn-id: svn://svn.valgrind.org/valgrind/trunk@11303 a5019735-40e9-0310-863c-91ae7b9d1cf9
rm/Makefile.am
rm/v6media.c
rm/v6media.stderr.exp
rm/v6media.stdout.exp
rm/v6media.vgtest
1c29a94792c57d831d536fa83fa5fb9556d01006 22-Aug-2010 sewardj <sewardj@a5019735-40e9-0310-863c-91ae7b9d1cf9> Add tests for all {ARM,Thumb} x {integer,NEON} instructions.


git-svn-id: svn://svn.valgrind.org/valgrind/trunk@11286 a5019735-40e9-0310-863c-91ae7b9d1cf9
rm/Makefile.am
rm/neon128.stderr.exp
rm/neon128.stdout.exp
rm/neon128.vgtest
rm/neon64.stderr.exp
rm/neon64.stdout.exp
rm/neon64.vgtest
rm/v6int.c
rm/v6int.stderr.exp
rm/v6int.stdout.exp
rm/v6int.vgtest
rm/v6intARM.c
rm/v6intARM.stderr.exp
rm/v6intARM.stdout.exp
rm/v6intARM.vgtest
rm/v6intThumb.stderr.exp
rm/v6intThumb.stdout.exp
rm/v6intThumb.vgtest
6b564a035bff6173937a9ddf0811af10236286ab 22-Aug-2010 sewardj <sewardj@a5019735-40e9-0310-863c-91ae7b9d1cf9> Merge from branches/THUMB: test programs for NEON and Thumb.


git-svn-id: svn://svn.valgrind.org/valgrind/trunk@11285 a5019735-40e9-0310-863c-91ae7b9d1cf9
rm/neon128.c
rm/neon64.c
rm/v6intThumb.c
fc9b17107d04d22f59c82a379d8fa059680166cf 18-Aug-2010 sewardj <sewardj@a5019735-40e9-0310-863c-91ae7b9d1cf9> Add a test which checks the ISTRI-vs-ESTRI-vs-ISTRM-vs-ESTRM
aspects of PCMP{I,E}STR{I,M}. Doesn't check the actual arithmetic
very much -- that's done by pcmpstr64.c.



git-svn-id: svn://svn.valgrind.org/valgrind/trunk@11267 a5019735-40e9-0310-863c-91ae7b9d1cf9
md64/pcmpxstrx64.c
db3c42fa77005947079b12ea19291c7fe041ec19 18-Aug-2010 sewardj <sewardj@a5019735-40e9-0310-863c-91ae7b9d1cf9> Add tests for PINSRB and PTEST.


git-svn-id: svn://svn.valgrind.org/valgrind/trunk@11266 a5019735-40e9-0310-863c-91ae7b9d1cf9
md64/sse4-64.c
7f3019bfbbbbc5356c351c5cd319c36fe731b806 18-Aug-2010 sewardj <sewardj@a5019735-40e9-0310-863c-91ae7b9d1cf9> Fix strict-aliasing violations; + minor futzing.


git-svn-id: svn://svn.valgrind.org/valgrind/trunk@11265 a5019735-40e9-0310-863c-91ae7b9d1cf9
md64/pcmpstr64.c
5ac99069b0538adcb2f18b04b078ea27b00b4185 17-Aug-2010 sewardj <sewardj@a5019735-40e9-0310-863c-91ae7b9d1cf9> Majorly improve and generalise the core arithmetic routines.


git-svn-id: svn://svn.valgrind.org/valgrind/trunk@11262 a5019735-40e9-0310-863c-91ae7b9d1cf9
md64/pcmpstr64.c
0a87e8d2d445c36fbd78787c3a553ea46bfe50de 06-Aug-2010 sewardj <sewardj@a5019735-40e9-0310-863c-91ae7b9d1cf9> Add a test program for PCMPISTRI on amd64 (not yet hooked up).


git-svn-id: svn://svn.valgrind.org/valgrind/trunk@11250 a5019735-40e9-0310-863c-91ae7b9d1cf9
md64/pcmpstr64.c
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
md64/Makefile.am
md64/lzcnt64.c
md64/lzcnt64.stderr.exp
md64/lzcnt64.stdout.exp
md64/lzcnt64.vgtest
md64/test_lzcnt64.c
86/Makefile.am
86/lzcnt32.c
86/lzcnt32.stderr.exp
86/lzcnt32.stdout.exp
86/lzcnt32.vgtest
86/test_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
md64/test_lzcnt64.c
86/test_lzcnt32.c
e12694d7ddf72481d715d12fe6b3f82a9c2b5c7b 29-Jul-2010 sewardj <sewardj@a5019735-40e9-0310-863c-91ae7b9d1cf9> Update expected output for Ubuntu 10.04.


git-svn-id: svn://svn.valgrind.org/valgrind/trunk@11236 a5019735-40e9-0310-863c-91ae7b9d1cf9
md64/bug132918.stdout.exp
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
md64/fxtract.stdout.exp
86/fxtract.stdout.exp
b1cc5d666cc8f8065419e4a8c819ed0b8256a764 06-Jul-2010 njn <njn@a5019735-40e9-0310-863c-91ae7b9d1cf9> Make error messages at start-up more consistent. Every line of such
messages now begin with "valgrind: ", and they're more often printed before
the preamble. This required introducing a new message kind, Vg_FailMsg, and
functions VG_(fmsg) and VG_(fmsg_bad_option), and removing
VG_(err_bad_option).

Where we used to have horrible output like this:

[ocean:~/grind/ws2] vg5 --tool=massif --threshold=101 date
==31877== Massif, a heap profiler
==31877== Copyright (C) 2003-2010, and GNU GPL'd, by Nicholas Nethercote
==31877== Using Valgrind-3.6.0.SVN and LibVEX; rerun with -h for copyright info
==31877== Command: date
==31877==
==31877== --threshold must be between 0.0 and 100.0
valgrind: Bad option '--threshold'; aborting.
valgrind: Use --help for more information.

We now have nice output like this:

[ocean:~/grind/ws2] vg2 --tool=massif --threshold=101 date
valgrind: Bad option: --threshold=101
valgrind: --threshold must be between 0.0 and 100.0
valgrind: Use --help for more information or consult the user manual.



git-svn-id: svn://svn.valgrind.org/valgrind/trunk@11209 a5019735-40e9-0310-863c-91ae7b9d1cf9
mdline2.stdout.exp
mdline4.stderr.exp
c7d0a8fd9316f0f54af4c4c762d905453809d09f 28-Jun-2010 sewardj <sewardj@a5019735-40e9-0310-863c-91ae7b9d1cf9> Add tests for ROUNDSS and ROUNDSD -- partial coverage, for the cases
where the rounding mode is encoded in the instruction itself.


git-svn-id: svn://svn.valgrind.org/valgrind/trunk@11190 a5019735-40e9-0310-863c-91ae7b9d1cf9
md64/sse4-64.c
b823b8531aedef4c8abff2544ea12aa0795e914d 18-Jun-2010 sewardj <sewardj@a5019735-40e9-0310-863c-91ae7b9d1cf9> Valgrind-side changes needed to go with vex r1984 (Implement SSE4
insns: CMPGTQ PMAXUD PMINUD PMAXSB PMINSB PMULLD)



git-svn-id: svn://svn.valgrind.org/valgrind/trunk@11181 a5019735-40e9-0310-863c-91ae7b9d1cf9
md64/sse4-64.c
e7acec738f3821704c69a3a1bbf449d4ef0fc680 15-Jun-2010 sewardj <sewardj@a5019735-40e9-0310-863c-91ae7b9d1cf9> Add a test program for SSE4 instructions. Currently not integrated
into the build/regtest system.


git-svn-id: svn://svn.valgrind.org/valgrind/trunk@11177 a5019735-40e9-0310-863c-91ae7b9d1cf9
md64/sse4-64.c
c5eceacf1f203e92714d9ee029f925346317b54e 14-May-2010 sewardj <sewardj@a5019735-40e9-0310-863c-91ae7b9d1cf9> Add missing backslash.


git-svn-id: svn://svn.valgrind.org/valgrind/trunk@11131 a5019735-40e9-0310-863c-91ae7b9d1cf9
akefile.am
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
md64/Makefile.am
md64/xadd.c
md64/xadd.stderr.exp
md64/xadd.stdout.exp
md64/xadd.vgtest
86/Makefile.am
86/xadd.c
86/xadd.stderr.exp
86/xadd.stdout.exp
86/xadd.vgtest
958c1f3af5910c98117f5c089066e89e2b4323fc 10-May-2010 sewardj <sewardj@a5019735-40e9-0310-863c-91ae7b9d1cf9> Enable testing of FISTS and FISTPS on amd64.


git-svn-id: svn://svn.valgrind.org/valgrind/trunk@11126 a5019735-40e9-0310-863c-91ae7b9d1cf9
md64/insn_fpu.def
md64/insn_fpu.stdout.exp
f9ebc3956087ce01561c4ab3faf5a8983b0f7c1c 10-May-2010 sewardj <sewardj@a5019735-40e9-0310-863c-91ae7b9d1cf9> New flag --require-text-symbol=:sopatt:fnpatt, to be used to check
that specified shared objects contain specified symbols. Along with a
couple of regtests that unfortunately will fail on MacOSX.



git-svn-id: svn://svn.valgrind.org/valgrind/trunk@11125 a5019735-40e9-0310-863c-91ae7b9d1cf9
akefile.am
mdline1.stdout.exp
mdline2.stdout.exp
equire-text-symbol-1.stderr.exp
equire-text-symbol-1.vgtest
equire-text-symbol-2.stderr.exp-libcso6
equire-text-symbol-2.vgtest
equire-text-symbol.c
9eecbbb9a9cbbd30b903c09a9e04d8efc20bda33 03-May-2010 sewardj <sewardj@a5019735-40e9-0310-863c-91ae7b9d1cf9> Update copyright dates to 2010.


git-svn-id: svn://svn.valgrind.org/valgrind/trunk@11121 a5019735-40e9-0310-863c-91ae7b9d1cf9
mdline1.stdout.exp
mdline2.stdout.exp
faf67274d90a498a56b6b781f1b0d4f9e8cc99ef 29-Apr-2010 tom <tom@a5019735-40e9-0310-863c-91ae7b9d1cf9> Link the tls test against tls2.so as it references symbols in it
and Fedora 13 no longer allows so's to be required indirectly (via
tls.so in this case).


git-svn-id: svn://svn.valgrind.org/valgrind/trunk@11114 a5019735-40e9-0310-863c-91ae7b9d1cf9
akefile.am
f6122a06222625b8e632a19ad1a09a8f13e26afe 27-Mar-2010 bart <bart@a5019735-40e9-0310-863c-91ae7b9d1cf9> The help text printed by command-line option -h does now show the default
value for option --read-var-info. Fixes bug #231458.


git-svn-id: svn://svn.valgrind.org/valgrind/trunk@11097 a5019735-40e9-0310-863c-91ae7b9d1cf9
mdline1.stdout.exp
mdline2.stdout.exp
9be5bdcfb6ff52f4fe995247c1fed817bd7b0eda 08-Mar-2010 sewardj <sewardj@a5019735-40e9-0310-863c-91ae7b9d1cf9> Add tests for UXTAB and SXTAH.


git-svn-id: svn://svn.valgrind.org/valgrind/trunk@11084 a5019735-40e9-0310-863c-91ae7b9d1cf9
rm/v6int.c
rm/v6int.stdout.exp
540cc4a46fea7e3fef9703fb1c8c106b5b558fd7 15-Jan-2010 sewardj <sewardj@a5019735-40e9-0310-863c-91ae7b9d1cf9> Add command line flag --vex-guest-chase-cond=no|yes [no] to control
whether front ends should speculatively chase through conditional
branches. Disabled by default.



git-svn-id: svn://svn.valgrind.org/valgrind/trunk@11026 a5019735-40e9-0310-863c-91ae7b9d1cf9
mdline2.stdout.exp
f94d467ec26cfe7300cdf3675dc5d5c18c4a044e 09-Jan-2010 sewardj <sewardj@a5019735-40e9-0310-863c-91ae7b9d1cf9> Add tests for PLD (cache-prefetch-hint) instructions.


git-svn-id: svn://svn.valgrind.org/valgrind/trunk@11024 a5019735-40e9-0310-863c-91ae7b9d1cf9
rm/v6int.c
rm/v6int.stdout.exp
dc2371ca1de84b7c60191e899f89e81637ea23da 04-Jan-2010 sewardj <sewardj@a5019735-40e9-0310-863c-91ae7b9d1cf9> Add a test program for ARM v5 integer instructions, and also for some
v6 instructions. (Johan Björk)


git-svn-id: svn://svn.valgrind.org/valgrind/trunk@11003 a5019735-40e9-0310-863c-91ae7b9d1cf9
rm/Makefile.am
rm/v6int.c
rm/v6int.stderr.exp
rm/v6int.stdout.exp
rm/v6int.vgtest
96e5d2757e6a285f5ad6f7c8759acb65a316cd2a 04-Jan-2010 sewardj <sewardj@a5019735-40e9-0310-863c-91ae7b9d1cf9> Add the default stderr_filter for this directory; else no tests work.


git-svn-id: svn://svn.valgrind.org/valgrind/trunk@11002 a5019735-40e9-0310-863c-91ae7b9d1cf9
rm/filter_stderr
f18fa95e03f911a2f41eb1756e7ad0cdf019d4af 03-Jan-2010 sewardj <sewardj@a5019735-40e9-0310-863c-91ae7b9d1cf9> Further buildsystem bashing, in order to try and get something
make-dist-able.



git-svn-id: svn://svn.valgrind.org/valgrind/trunk@11000 a5019735-40e9-0310-863c-91ae7b9d1cf9
rm/Makefile.am
1ba8a8edcec1219d788cf70802ccfa8f8d0a8c2d 03-Jan-2010 sewardj <sewardj@a5019735-40e9-0310-863c-91ae7b9d1cf9> Try to integrate none/tests/arm properly in the build system.


git-svn-id: svn://svn.valgrind.org/valgrind/trunk@10998 a5019735-40e9-0310-863c-91ae7b9d1cf9
akefile.am
rm/Makefile.am
10bd938fd7f0552800ae799738d0569720054498 03-Jan-2010 sewardj <sewardj@a5019735-40e9-0310-863c-91ae7b9d1cf9> Portability fix for arm-linux.


git-svn-id: svn://svn.valgrind.org/valgrind/trunk@10995 a5019735-40e9-0310-863c-91ae7b9d1cf9
aultstatus.c
59570ffbe31930ab4d678754daaeec0715117a3d 01-Jan-2010 sewardj <sewardj@a5019735-40e9-0310-863c-91ae7b9d1cf9> Merge from branches/ARM, all parts of the ARM-Linux port except for
the changes to do with reading and using ELF and DWARF3 info.
This breaks all targets except amd64-linux and x86-linux.



git-svn-id: svn://svn.valgrind.org/valgrind/trunk@10982 a5019735-40e9-0310-863c-91ae7b9d1cf9
rm/Makefile.am
116458b096287fc6dd0350f59198cdad8f5a7ae2 29-Dec-2009 bart <bart@a5019735-40e9-0310-863c-91ae7b9d1cf9> Changes:
- Made sure that C++ compilers do not complain about the header files
include/pub_tool_libcassert.h and include/pub_tool_basics.h.
- Added the source file none/tests/valgrind_cpp_test.cpp. This source file
is compiled together with the regression tests in order to verify that
Valgrind's public header files compile cleanly with a C++ compiler.
These modifications are based on a patch provided by Konstantin Serebryany.


git-svn-id: svn://svn.valgrind.org/valgrind/trunk@10970 a5019735-40e9-0310-863c-91ae7b9d1cf9
akefile.am
algrind_cpp_test.cpp
064212709dc8988a48d2cbde5b90528952d8cd74 05-Nov-2009 sewardj <sewardj@a5019735-40e9-0310-863c-91ae7b9d1cf9> New flag: --trace-children-skip=patt1,patt2,etc
Specifies a comma-separated list of executable-names
(with "*" and "?" wildcards allowed) that should not be traced into
even when --trace-children=yes. Modified version of a patch
from Bill Hoffman. Fixes #148932.



git-svn-id: svn://svn.valgrind.org/valgrind/trunk@10927 a5019735-40e9-0310-863c-91ae7b9d1cf9
mdline1.stdout.exp
mdline2.stdout.exp
8758264131ddb5c919aed655d35d60c8368ec703 27-Aug-2009 rjwalsh <rjwalsh@a5019735-40e9-0310-863c-91ae7b9d1cf9> Remove a trailing whitespace.


git-svn-id: svn://svn.valgrind.org/valgrind/trunk@10873 a5019735-40e9-0310-863c-91ae7b9d1cf9
akefile.am
2b0837825f4c925d42125e4deeaec15426ca53db 26-Aug-2009 bart <bart@a5019735-40e9-0310-863c-91ae7b9d1cf9> Added output variant for Linux systems without readlinkat().

git-svn-id: svn://svn.valgrind.org/valgrind/trunk@10872 a5019735-40e9-0310-863c-91ae7b9d1cf9
akefile.am
rocfs-linux.stderr.exp
rocfs-linux.stderr.exp-with-readlinkat
rocfs-linux.stderr.exp-without-readlinkat
d1f724c5724658fa19d71cb7c6cd5ad5e164e6aa 26-Aug-2009 bart <bart@a5019735-40e9-0310-863c-91ae7b9d1cf9> Added regression tests that verify the following behavior:
- On Linux, whether Valgrind properly intercepts the system calls that access
/proc/self/cmdline, /proc/<pid>/cmdline, /proc/self/exe and /proc/<pid>/exe.
- On Darwin, whether Valgrind does not modify the behavior of the system calls
that access the aforementioned files.


git-svn-id: svn://svn.valgrind.org/valgrind/trunk@10871 a5019735-40e9-0310-863c-91ae7b9d1cf9
akefile.am
rocfs-cmdline-exe.c
rocfs-linux.stderr.exp
rocfs-linux.vgtest
rocfs-non-linux.stderr.exp
rocfs-non-linux.vgtest
0f212dc3ed1402136eb094a57cab48155e50cb54 20-Aug-2009 bart <bart@a5019735-40e9-0310-863c-91ae7b9d1cf9> Fixed bug #204317: regression tests none/tests/cmdline[12] fail if
the gdb path detected by configure differs from /usr/bin/gdb.


git-svn-id: svn://svn.valgrind.org/valgrind/trunk@10855 a5019735-40e9-0310-863c-91ae7b9d1cf9
mdline1.stdout.exp
mdline2.stdout.exp
ilter_cmdline1
3b7f39b501abf4ee81511d5fb027604f801cb37f 16-Aug-2009 njn <njn@a5019735-40e9-0310-863c-91ae7b9d1cf9> Fix the access_extended wrapper, which was rather broken. That's what I get
for not testing properly. Added a regtest for it too. Fixes bug 200760
(again, properly this time).



git-svn-id: svn://svn.valgrind.org/valgrind/trunk@10826 a5019735-40e9-0310-863c-91ae7b9d1cf9
arwin/Makefile.am
arwin/access_extended.c
arwin/access_extended.stderr.exp
arwin/access_extended.vgtest
cab64bca3a865a294b2c20f158c8c2182fa4eb7e 12-Aug-2009 njn <njn@a5019735-40e9-0310-863c-91ae7b9d1cf9> Update .exp files for r10783.



git-svn-id: svn://svn.valgrind.org/valgrind/trunk@10784 a5019735-40e9-0310-863c-91ae7b9d1cf9
ilter_stderr
2d9e874b7a628ada216f09cc4f065798c65fffa4 07-Aug-2009 sewardj <sewardj@a5019735-40e9-0310-863c-91ae7b9d1cf9> Tidy up of messaging:

* For all tools and the core, don't show statistics when -v is in
effect. Instead, try to restrict -v to mostly user-useful
stuff.

* A new flag --stats=no|yes [no] produces statistics output instead.

* Fix longstanding problem in that Memcheck's leak checker ran after
the core's error manager module shut down, thereby not showing use
counts of leak suppressions. This fixes #186790.

* As a consequence, the leak checker text output of Memcheck has
changed a bit -- leak check is done before the final error
summary is done (much more logical), and the output has been
tidied up a bit.

* Helgrind, Drd and Ptrcheck now also print "For counts of
detected and suppressed errors, rerun with: -v", which makes
them consistent with Memcheck in this regard. These are
filtered out by the regtest filter scripts.

For all tools except Memcheck, the regtests are unchanged. On
Memcheck regtests still fail due to rearrangements of the leak
checker output. This will be fixed by a followup commit.



git-svn-id: svn://svn.valgrind.org/valgrind/trunk@10746 a5019735-40e9-0310-863c-91ae7b9d1cf9
mdline1.stdout.exp
mdline2.stdout.exp
97db761d2a94fc7a349aee9359ef85828d9618b6 04-Aug-2009 njn <njn@a5019735-40e9-0310-863c-91ae7b9d1cf9> Various option-related tweaks:

- Match the ordering of the non-tool-specific options in the usage message
with the order in the user manual. As a result, we now always print
--alignment and --trace-malloc in the core's usage messages, which saves
malloc-replacing tools from doing it themselves (and brings it in line
with options that only apply to error-collecting tools).

- Improved the presentation of the Vex options with --help-debug.

- Removed documentation of -d in the manual because it's a debugging-only flag.

- Documented --read-var-info in the manual. This fixes bug 201169.

- Renamed --auto-run-dsymutil as --dsymutil and documented it in the usage
message.

- Fixed an XML error in manual-core-adv.xml.


git-svn-id: svn://svn.valgrind.org/valgrind/trunk@10703 a5019735-40e9-0310-863c-91ae7b9d1cf9
akefile.am
mdline1.stdout.exp
mdline1.vgtest
mdline2.stdout.exp
mdline2.vgtest
ilter_cmdline1
99319b3c7fb2546957914dde7c1770ad833e5e6e 04-Aug-2009 njn <njn@a5019735-40e9-0310-863c-91ae7b9d1cf9> This should have been removed in r10699.



git-svn-id: svn://svn.valgrind.org/valgrind/trunk@10700 a5019735-40e9-0310-863c-91ae7b9d1cf9
akefile.am
ilter_long_command
f3977a33ba7df76fd46d598e1f0993edac89e450 04-Aug-2009 njn <njn@a5019735-40e9-0310-863c-91ae7b9d1cf9> Don't wrap the "Command:" line, as doing so makes cutting-and-pasting the
command difficult. Also, when wrapping I was failing to factor in the
escape chars needed for chars like ' '; now I don't need to. And this
means the 'long-command' test is no longer necessary. In other words,
favour utility and simplicity over aesthetics.

Also, the "Command:" line wasn't being wrapped in <line></line> in XML
output. It now is.


git-svn-id: svn://svn.valgrind.org/valgrind/trunk@10699 a5019735-40e9-0310-863c-91ae7b9d1cf9
akefile.am
ong-command.stderr.exp
ong-command.vgtest
d55f0d924062c7b5b3453242a6f9611bd5ce7458 03-Aug-2009 njn <njn@a5019735-40e9-0310-863c-91ae7b9d1cf9> With the recent VG_(message) change,
VALGRIND_{PRINTF,PRINTF_BACKTRACE,INTERNAL_PRINTF} were no longer appending
newlines. This meant that --trace-malloc=yes spewed everything onto a
single line, among other things.

Rather than adding the newline back in, I chose to offically change their
behaviour to not add the newlines, as this is more flexible (and the reason
for the underlying VG_(message) change). I updated all the relevant places
I could find.


git-svn-id: svn://svn.valgrind.org/valgrind/trunk@10694 a5019735-40e9-0310-863c-91ae7b9d1cf9
akefile.am
gprintf.c
gprintf.stderr.exp
gprintf.stdout.exp
gprintf.vgtest
0c58a74bc908846da0cb5e0bc56102ce9367b17e 03-Aug-2009 njn <njn@a5019735-40e9-0310-863c-91ae7b9d1cf9> Forgot to add these in r10690.



git-svn-id: svn://svn.valgrind.org/valgrind/trunk@10691 a5019735-40e9-0310-863c-91ae7b9d1cf9
md-with-special.stderr.exp
md-with-special.vgtest
f8a11cf5b8e9495b4951657d7a16dd5a9df0c16f 03-Aug-2009 njn <njn@a5019735-40e9-0310-863c-91ae7b9d1cf9> In the "Command:" line in the preamble, escape special chars such as ' ' and
'\\'.



git-svn-id: svn://svn.valgrind.org/valgrind/trunk@10690 a5019735-40e9-0310-863c-91ae7b9d1cf9
akefile.am
53162bf1c186b8a23ddcc2a3df3b3b28c35915bf 30-Jul-2009 njn <njn@a5019735-40e9-0310-863c-91ae7b9d1cf9> Print the command being run at startup. It wraps to avoid going over 80
chars wide whenever possible. Finishes off bug 197933.



git-svn-id: svn://svn.valgrind.org/valgrind/trunk@10657 a5019735-40e9-0310-863c-91ae7b9d1cf9
akefile.am
ilter_long_command
ilter_timestamp
ong-command.stderr.exp
ong-command.vgtest
05a8917ed79c7b76ad4764087e9262c0ef8befd9 29-Jul-2009 njn <njn@a5019735-40e9-0310-863c-91ae7b9d1cf9> Started overhauling the documentation:
- There were detailed descriptions of all the tools in the Quick Start
Guide, the Manual introduction, and the start of each tool chapter. To
avoid duplication/overlap, I removed these altogether from the Quick Start
Guide, and shortened them in the intro.

- Improved the description of what errors Memcheck can find.

- Made all tool chapters start with "Overview" section, for consistency.

- Made the "run with --tool=XXX" bit consistent in each tool chapter.

- Made all tool chapter titles match the description given when running them.

- Added BBV to the User Manual intro.

- Generally clarified, updated, and future-proofed various bits of text in
the Quick Start Guide and User Manual introduction.

Also:
- Changed Nulgrind's start-up description to "the minimal Valgrind tool".

- Fixed some punctuation in the usage message.


git-svn-id: svn://svn.valgrind.org/valgrind/trunk@10652 a5019735-40e9-0310-863c-91ae7b9d1cf9
mdline1.stdout.exp
mdline2.stdout.exp
ilter_stderr
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
86/bug152818-x86.c
86/gen_insn_test.pl
bf599f75ec515aa92cb1531d8ba413ddf1726737 24-Jul-2009 njn <njn@a5019735-40e9-0310-863c-91ae7b9d1cf9> mremap2 is a totally unreliable test; it's the only test that fails on a
number of Linux machines. This change makes it more reliable, at the cost
of being less specific.



git-svn-id: svn://svn.valgrind.org/valgrind/trunk@10575 a5019735-40e9-0310-863c-91ae7b9d1cf9
inux/Makefile.am
inux/mremap2.c
inux/mremap2.stdout.exp
inux/mremap2.stdout.exp-glibc28-amd64
inux/mremap2.stdout.exp2
d6db25935a725082517d3a604983f14dc6cae6d4 24-Jul-2009 njn <njn@a5019735-40e9-0310-863c-91ae7b9d1cf9> In r10465 --time-stamp=yes got slightly broken -- the space between the time
and the PID was removed. This commit adds it back in. It also adds a basic
test that would have detected this regression, and also the breakage in bug
200990.



git-svn-id: svn://svn.valgrind.org/valgrind/trunk@10573 a5019735-40e9-0310-863c-91ae7b9d1cf9
akefile.am
ilter_timestamp
imestamp.c
imestamp.stderr.exp
imestamp.vgtest
e4b9921b09e54c52bba314f92a8a86d0ef71ae30 22-Jul-2009 bart <bart@a5019735-40e9-0310-863c-91ae7b9d1cf9> Updated expected output.

git-svn-id: svn://svn.valgrind.org/valgrind/trunk@10522 a5019735-40e9-0310-863c-91ae7b9d1cf9
mdline1.stdout.exp
mdline2.stdout.exp
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
86/pushpopseg.c
8fd875852a05e2eb3659344654faf1922a44ef9b 15-Jul-2009 sewardj <sewardj@a5019735-40e9-0310-863c-91ae7b9d1cf9> Merge none/ changes from branches/MESSAGING_TIDYUP r10464.
See trunk r10465 commit message for details.



git-svn-id: svn://svn.valgrind.org/valgrind/trunk@10475 a5019735-40e9-0310-863c-91ae7b9d1cf9
mdline1.stdout.exp
mdline2.stdout.exp
gprintf.c
10b9aea527d9e58518791522d2d3c610ed6f295e 14-Jul-2009 njn <njn@a5019735-40e9-0310-863c-91ae7b9d1cf9> Shorten the preamble by moving some of it into the --help output. This
partly fixes bug 197933.



git-svn-id: svn://svn.valgrind.org/valgrind/trunk@10451 a5019735-40e9-0310-863c-91ae7b9d1cf9
mdline1.stdout.exp
mdline2.stdout.exp
d4f90d24fc0b3c70e427fee9d1700f58a4a5709d 13-Jul-2009 njn <njn@a5019735-40e9-0310-863c-91ae7b9d1cf9> Suppress an error within syslog(). Patch from Dan Kegel. Fixes bug 191192.



git-svn-id: svn://svn.valgrind.org/valgrind/trunk@10438 a5019735-40e9-0310-863c-91ae7b9d1cf9
akefile.am
yslog.c
yslog.stderr.exp
yslog.vgtest
a01ed5e21c0a4fcbc0025ff03ccf47289491f25e 12-Jul-2009 sewardj <sewardj@a5019735-40e9-0310-863c-91ae7b9d1cf9> Only run none/tests/amd64/bug127521-64 on machines supporting cmpxchg16b.



git-svn-id: svn://svn.valgrind.org/valgrind/trunk@10433 a5019735-40e9-0310-863c-91ae7b9d1cf9
md64/bug127521-64.vgtest
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
md64/Makefile.am
md64/amd64locked.c
md64/amd64locked.stderr.exp
md64/amd64locked.stdout.exp
md64/amd64locked.vgtest
86/Makefile.am
86/x86locked.c
86/x86locked.stderr.exp
86/x86locked.stdout.exp
86/x86locked.vgtest
33e57a7bcf079398e9003f892a853037f9bd5de0 29-Jun-2009 njn <njn@a5019735-40e9-0310-863c-91ae7b9d1cf9> Make the Linux launcher more like the Darwin one in how it reads the
executable headers. This means it no longer crashes on an empty executable.
Fixes bug 156065.



git-svn-id: svn://svn.valgrind.org/valgrind/trunk@10384 a5019735-40e9-0310-863c-91ae7b9d1cf9
mpty-exe.stderr.exp
mpty-exe.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
md64/Makefile.am
arwin/Makefile.am
inux/Makefile.am
pc32/Makefile.am
pc64/Makefile.am
86-linux/Makefile.am
86/Makefile.am
20d3e602a1cd4bfdc9723f50e3512831579f0d89 29-May-2009 njn <njn@a5019735-40e9-0310-863c-91ae7b9d1cf9> Unbreak nestedfns on --enable-only32bit installations.



git-svn-id: svn://svn.valgrind.org/valgrind/trunk@10165 a5019735-40e9-0310-863c-91ae7b9d1cf9
akefile.am
656b077844096cb30846b2c4f5e384569862a2ee 28-May-2009 njn <njn@a5019735-40e9-0310-863c-91ae7b9d1cf9> Make this file executable too.



git-svn-id: svn://svn.valgrind.org/valgrind/trunk@10158 a5019735-40e9-0310-863c-91ae7b9d1cf9
arwin/filter_stderr
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
md64/Makefile.am
arwin/Makefile.am
arwin/apple-main-arg.c
arwin/apple-main-arg.stderr.exp
arwin/apple-main-arg.vgtest
arwin/filter_stderr
arwin/rlimit.c
arwin/rlimit.stderr.exp
arwin/rlimit.vgtest
th_atfork1.c
86/Makefile.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
86/Makefile.am
d243486aaab81395b8b53233c02f743991c365da 20-May-2009 njn <njn@a5019735-40e9-0310-863c-91ae7b9d1cf9> DARWIN sync: add a #include.



git-svn-id: svn://svn.valgrind.org/valgrind/trunk@10013 a5019735-40e9-0310-863c-91ae7b9d1cf9
dleak_cmsg.c
1119c8fe3a13a715705e4884379d2a3bc358df22 19-May-2009 njn <njn@a5019735-40e9-0310-863c-91ae7b9d1cf9> Remove unnecessary #include.



git-svn-id: svn://svn.valgrind.org/valgrind/trunk@9964 a5019735-40e9-0310-863c-91ae7b9d1cf9
md64/redundantRexW.c
747115d845902bfd42ba97719118672e8c2e3b7a 19-May-2009 njn <njn@a5019735-40e9-0310-863c-91ae7b9d1cf9> Add some missing 'make dist' files.



git-svn-id: svn://svn.valgrind.org/valgrind/trunk@9907 a5019735-40e9-0310-863c-91ae7b9d1cf9
akefile.am
inux/Makefile.am
ff5bdd44269ff21fb26e2e6910c25914e19bb50f 19-May-2009 njn <njn@a5019735-40e9-0310-863c-91ae7b9d1cf9> Merge r9900 (make dist fixes) from the MESSAGING_TIDYUP branch.



git-svn-id: svn://svn.valgrind.org/valgrind/trunk@9905 a5019735-40e9-0310-863c-91ae7b9d1cf9
akefile.am
2d5ff4f1dc5ea8d37eff486478945ca210e84770 04-May-2009 njn <njn@a5019735-40e9-0310-863c-91ae7b9d1cf9> Merge part of r9709 (m_signals.c clean-ups) from the DARWIN branch.



git-svn-id: svn://svn.valgrind.org/valgrind/trunk@9737 a5019735-40e9-0310-863c-91ae7b9d1cf9
akefile.am
f96aa84c3166def316fe98d470752108ffcbb748 01-May-2009 njn <njn@a5019735-40e9-0310-863c-91ae7b9d1cf9> Refactor and recomment async-sigs so it's easier to understand. Send all
its output to stderr as well.



git-svn-id: svn://svn.valgrind.org/valgrind/trunk@9706 a5019735-40e9-0310-863c-91ae7b9d1cf9
akefile.am
sync-sigs.c
sync-sigs.stderr.exp
sync-sigs.stdout.exp
sync-sigs.vgtest
492f00bd4274d5157f97554de53f9f5b6e52a8e4 30-Apr-2009 njn <njn@a5019735-40e9-0310-863c-91ae7b9d1cf9> Fix test breakage caused by r9694.



git-svn-id: svn://svn.valgrind.org/valgrind/trunk@9697 a5019735-40e9-0310-863c-91ae7b9d1cf9
inux/blockfault.stderr.exp
2f2b1b3a36c5f09f26dc24c98a3fafe6c2b4e567 29-Apr-2009 njn <njn@a5019735-40e9-0310-863c-91ae7b9d1cf9> Merged r9673 (remove susphello) from the DARWIN branch.


git-svn-id: svn://svn.valgrind.org/valgrind/trunk@9674 a5019735-40e9-0310-863c-91ae7b9d1cf9
akefile.am
usphello.c
usphello.stderr.exp
usphello.stdout.exp
usphello.vgtest
28eafaa62ca6353f511faaa9e71fb619c8a482e7 29-Apr-2009 njn <njn@a5019735-40e9-0310-863c-91ae7b9d1cf9> Merge r9667 (fdleak_ipv4 portability tweak) from the DARWIN branch.



git-svn-id: svn://svn.valgrind.org/valgrind/trunk@9669 a5019735-40e9-0310-863c-91ae7b9d1cf9
dleak_ipv4.c
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
86/badseg.c
86/badseg.stdout.exp
81b975ce84471039f9d668274fd544419541ebab 28-Apr-2009 njn <njn@a5019735-40e9-0310-863c-91ae7b9d1cf9> Merged r9657 (fdleak fixes) from the DARWIN branch.



git-svn-id: svn://svn.valgrind.org/valgrind/trunk@9658 a5019735-40e9-0310-863c-91ae7b9d1cf9
dleak.h
dleak_cmsg.c
dleak_cmsg.stderr.exp
dleak_creat.c
dleak_creat.stderr.exp
dleak_dup.c
dleak_dup.stderr.exp
dleak_dup2.c
dleak_dup2.stderr.exp
dleak_fcntl.c
dleak_fcntl.stderr.exp
dleak_ipv4.c
dleak_ipv4.stderr.exp
dleak_open.c
dleak_open.stderr.exp
dleak_pipe.c
dleak_pipe.stderr.exp
dleak_socketpair.c
dleak_socketpair.stderr.exp
ilter_fdleak
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
md64/Makefile.am
pc32/Makefile.am
pc64/Makefile.am
86-linux/Makefile.am
86/Makefile.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
86/Makefile.am
86/cpuid_s.S
86/cpuid_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
pc32/Makefile.am
pc64/Makefile.am
86/Makefile.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
86/faultstatus.c
0f8731a6e060b7b69673ccf25a43bfbacd6b80ae 16-Apr-2009 njn <njn@a5019735-40e9-0310-863c-91ae7b9d1cf9> Merge r9564 (make pth_cvsimple more reliable) from the DARWIN branch.



git-svn-id: svn://svn.valgrind.org/valgrind/trunk@9565 a5019735-40e9-0310-863c-91ae7b9d1cf9
th_cvsimple.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
86-linux/Makefile.am
86-linux/filter_stderr
86-linux/seg_override.c
86-linux/seg_override.stderr.exp
86-linux/seg_override.stdout.exp
86-linux/seg_override.vgtest
86-linux/sigcontext.c
86-linux/sigcontext.stderr.exp
86-linux/sigcontext.stdout.exp
86-linux/sigcontext.vgtest
86/Makefile.am
86/seg_override.c
86/seg_override.stderr.exp
86/seg_override.stdout.exp
86/seg_override.vgtest
86/sigcontext.c
86/sigcontext.stderr.exp
86/sigcontext.stdout.exp
86/sigcontext.vgtest
5281fd1acb3d23901dee8272b2a13e37f48c65ef 15-Apr-2009 njn <njn@a5019735-40e9-0310-863c-91ae7b9d1cf9> Merged r9546..r9548 (moved blockfault, and filtering fixes) from the DARWIN
branch.



git-svn-id: svn://svn.valgrind.org/valgrind/trunk@9549 a5019735-40e9-0310-863c-91ae7b9d1cf9
akefile.am
lockfault.c
lockfault.stderr.exp
lockfault.stdout.exp
lockfault.vgtest
ilter_stderr
inux/Makefile.am
inux/blockfault.c
inux/blockfault.stderr.exp
inux/blockfault.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
md64/bug137714-amd64.c
md64/faultstatus.c
md64/nibz_bennee_mmap.c
md64/redundantRexW.c
md64/smc1.c
md64/ssse3_misaligned.c
aultstatus.c
inux/mremap.c
inux/mremap2.c
ap_unaligned.c
ap_unmap.c
unmap_exe.c
pc32/jm-insns.c
pc32/test_fx.c
pc32/test_gx.c
86/Makefile.am
86/bug126147-x86.c
86/cmpxchg8b.c
86/faultstatus.c
86/fcmovnu.c
86/fxtract.c
86/incdec_alt.c
86/jcxz.c
86/lahf.c
86/looper.c
86/sbbmisc.c
86/ssse3_misaligned.c
cff47f6d07be8dcdc8e12d57f8248b5c1cef21f4 17-Mar-2009 njn <njn@a5019735-40e9-0310-863c-91ae7b9d1cf9> Merge r9456 (pending change) from the DARWIN branch.



git-svn-id: svn://svn.valgrind.org/valgrind/trunk@9457 a5019735-40e9-0310-863c-91ae7b9d1cf9
ending.c
ending.stdout.exp
9105a3eb241b6a8db986712859b8191e9e6696b8 16-Mar-2009 njn <njn@a5019735-40e9-0310-863c-91ae7b9d1cf9> Merge r9429 (map_unaligned porting) from the DARWIN branch.



git-svn-id: svn://svn.valgrind.org/valgrind/trunk@9430 a5019735-40e9-0310-863c-91ae7b9d1cf9
ap_unaligned.c
ap_unaligned.stderr.exp
6cc2247cdfab852131fd392fb041ed07cd9117c6 16-Mar-2009 njn <njn@a5019735-40e9-0310-863c-91ae7b9d1cf9> Merge r9426, r9427 ('pending' portability tweaks) from the DARWIN branch.



git-svn-id: svn://svn.valgrind.org/valgrind/trunk@9428 a5019735-40e9-0310-863c-91ae7b9d1cf9
ending.c
ending.stdout.exp
cfaa0a7c58df1b5723e358582905a7ed9db45384 13-Mar-2009 njn <njn@a5019735-40e9-0310-863c-91ae7b9d1cf9> Merge r9380, r9381 (test portability tweaks) from the DARWIN branch.



git-svn-id: svn://svn.valgrind.org/valgrind/trunk@9394 a5019735-40e9-0310-863c-91ae7b9d1cf9
oolo_sigaction.cpp
oolo_sigaction.stdout.exp
igstackgrowth.c
553c42fad6eeae28d751806ff9c2803c41e80310 13-Mar-2009 njn <njn@a5019735-40e9-0310-863c-91ae7b9d1cf9> Added better filtering for Helgrind tests, removing all unreliable stack
traces, and a few other unreliable pieces. This allowed most of the tests
to be reduced to a single .stderr.exp file. It also means that all Helgrind
tests succeed on my AMD64/Linux box when configured with --enable-only32bit,
whereas previously 20 of them failed.

Also tweaked a couple non-Helgrind filters a tiny bit.


git-svn-id: svn://svn.valgrind.org/valgrind/trunk@9389 a5019735-40e9-0310-863c-91ae7b9d1cf9
ilter_fdleak
9f207460d70d38c46c9e81996a3dcdf90961c6db 10-Mar-2009 njn <njn@a5019735-40e9-0310-863c-91ae7b9d1cf9> Updated copyright years.



git-svn-id: svn://svn.valgrind.org/valgrind/trunk@9344 a5019735-40e9-0310-863c-91ae7b9d1cf9
mdline1.stdout.exp
mdline2.stdout.exp
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
86/gen_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
md64/insn_sse3.vgtest
md64/insn_ssse3.vgtest
md64/ssse3_misaligned.vgtest
86/bug137714-x86.vgtest
86/cse_fail.vgtest
86/gen_insn_test.pl
86/insn_cmov.vgtest
86/insn_fpu.vgtest
86/insn_mmx.vgtest
86/insn_mmxext.vgtest
86/insn_sse.vgtest
86/insn_sse2.vgtest
86/insn_sse3.vgtest
86/insn_ssse3.vgtest
86/ssse3_misaligned.vgtest
683b7cb9f0e69048308224d3606278361aae04c2 27-Feb-2009 njn <njn@a5019735-40e9-0310-863c-91ae7b9d1cf9> Merged r9287 (vgprintf fix) from the DARWIN branch.



git-svn-id: svn://svn.valgrind.org/valgrind/trunk@9288 a5019735-40e9-0310-863c-91ae7b9d1cf9
gprintf.stdout.exp
251a0e7577a99aff8a723dc4c7ca67f5c7db252f 26-Feb-2009 bart <bart@a5019735-40e9-0310-863c-91ae7b9d1cf9> Ported this test to ppc.

git-svn-id: svn://svn.valgrind.org/valgrind/trunk@9275 a5019735-40e9-0310-863c-91ae7b9d1cf9
aultstatus.c
449642ae330f08ce1c66a6861abc15e6fae0ef6d 23-Feb-2009 njn <njn@a5019735-40e9-0310-863c-91ae7b9d1cf9> Another 'make check' warning fix.



git-svn-id: svn://svn.valgrind.org/valgrind/trunk@9240 a5019735-40e9-0310-863c-91ae7b9d1cf9
usphello.c
819e764e55c8fc0a7b7fbf3ad43a722178ee4946 23-Feb-2009 njn <njn@a5019735-40e9-0310-863c-91ae7b9d1cf9> More 'make check' warning fixes.



git-svn-id: svn://svn.valgrind.org/valgrind/trunk@9239 a5019735-40e9-0310-863c-91ae7b9d1cf9
limit_nofile.c
685a9596ed607e3bd72ee1b4f094abb3a2f3f96e 23-Feb-2009 njn <njn@a5019735-40e9-0310-863c-91ae7b9d1cf9> Fix some more 'make check' warnings, ones that appear on non-Linux
platforms.



git-svn-id: svn://svn.valgrind.org/valgrind/trunk@9238 a5019735-40e9-0310-863c-91ae7b9d1cf9
limit_nofile.c
usphello.c
efc13c21199dbb35ad07a5e00d538aa884863c01 23-Feb-2009 njn <njn@a5019735-40e9-0310-863c-91ae7b9d1cf9> Get rid of all "make check" compile warnings, except for the ones from
fxtract.c.

Also, gets rid of some of the warnings that -Wextra finds in Massif.



git-svn-id: svn://svn.valgrind.org/valgrind/trunk@9237 a5019735-40e9-0310-863c-91ae7b9d1cf9
oolo_sigaction.cpp
dleak_cmsg.c
6ab37c7a35d177b1da1cf5bae4dd8501eee0cd3e 23-Feb-2009 njn <njn@a5019735-40e9-0310-863c-91ae7b9d1cf9> A few more test/build changes.



git-svn-id: svn://svn.valgrind.org/valgrind/trunk@9228 a5019735-40e9-0310-863c-91ae7b9d1cf9
inux/Makefile.am
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
86/Makefile.am
07891f956fcdaf4ab3e458da5ad08eb6db975ffd 23-Feb-2009 njn <njn@a5019735-40e9-0310-863c-91ae7b9d1cf9> Test files were being passed multiple arch options (eg. "-m32 -m64") when
built. This worked fine on the x86/Linux and AMD64/Linux but broke
ppc*/Linux. This commit fixes the problem. Thanks to Bart for spotting it.



git-svn-id: svn://svn.valgrind.org/valgrind/trunk@9222 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
md64/Makefile.am
inux/Makefile.am
pc32/Makefile.am
pc64/Makefile.am
86/Makefile.am
cda5a15212bf5ab669e1f9e6d9c73d79d2a51e05 17-Feb-2009 njn <njn@a5019735-40e9-0310-863c-91ae7b9d1cf9> For the fdleak_* tests, completely remove the stack traces showing where
file descriptors came into existence, because there's too much variation and
all the expected outputs are a pain. This allows 16 fdleak_*.exp[234] files
to be removed.

Also remove an unnecessary newline in a tmp filename in fdleak_creat.c.


git-svn-id: svn://svn.valgrind.org/valgrind/trunk@9194 a5019735-40e9-0310-863c-91ae7b9d1cf9
akefile.am
dleak_cmsg.stderr.exp
dleak_cmsg.stderr.exp2
dleak_cmsg.stderr.exp3
dleak_cmsg.stderr.exp4
dleak_creat.c
dleak_creat.stderr.exp
dleak_creat.stderr.exp2
dleak_creat.stderr.exp3
dleak_dup.stderr.exp
dleak_dup.stderr.exp2
dleak_dup.stderr.exp3
dleak_dup2.stderr.exp
dleak_dup2.stderr.exp2
dleak_dup2.stderr.exp3
dleak_fcntl.stderr.exp
dleak_fcntl.stderr.exp2
dleak_fcntl.stderr.exp3
dleak_fcntl.stderr.exp4
dleak_ipv4.stderr.exp
dleak_ipv4.stderr.exp2
dleak_open.stderr.exp
dleak_open.stderr.exp2
dleak_pipe.stderr.exp
dleak_pipe.stderr.exp2
dleak_socketpair.stderr.exp
dleak_socketpair.stderr.exp2
ilter_fdleak
870f170ccce872764e974b86f55247c0d97dc634 16-Feb-2009 njn <njn@a5019735-40e9-0310-863c-91ae7b9d1cf9> Stack traces for Memcheck's syscall param errors are terribly unreliable, so
I changed it to just filter the entire stack trace out for these errors (both
normal and XML cases). The syscall name is still present in the error
string. This allows a one or more alternative expected output files to be
removed for several tests, which is A Very Good Thing.

Also, I killed filter_test_paths because it was weird and clumsy and the
above change obviated most of its use and the remaining effects could be
achieved in other ways.

Also, I fixed up the scalar* tests a little and they now pass on my machine,
(and hopefully at least some other machines) for the first time ever!


git-svn-id: svn://svn.valgrind.org/valgrind/trunk@9178 a5019735-40e9-0310-863c-91ae7b9d1cf9
ilter_fdleak
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
md64/insn_sse3.vgtest
md64/insn_ssse3.vgtest
md64/ssse3_misaligned.vgtest
86/bug137714-x86.vgtest
86/cse_fail.vgtest
86/insn_cmov.vgtest
86/insn_fpu.vgtest
86/insn_mmx.vgtest
86/insn_mmxext.vgtest
86/insn_sse.vgtest
86/insn_sse2.vgtest
86/insn_sse3.vgtest
86/insn_ssse3.vgtest
86/ssse3_misaligned.vgtest
0458a129fc028564626015b5712870424d11ee75 13-Feb-2009 njn <njn@a5019735-40e9-0310-863c-91ae7b9d1cf9> Moved 3 Linux-specific tests into linux/ directories.



git-svn-id: svn://svn.valgrind.org/valgrind/trunk@9144 a5019735-40e9-0310-863c-91ae7b9d1cf9
akefile.am
inux/Makefile.am
inux/filter_stderr
inux/mremap.c
inux/mremap.stderr.exp
inux/mremap.stderr.exp-glibc27
inux/mremap.stdout.exp
inux/mremap.vgtest
inux/mremap2.c
inux/mremap2.stderr.exp
inux/mremap2.stdout.exp
inux/mremap2.stdout.exp-glibc28-amd64
inux/mremap2.stdout.exp2
inux/mremap2.vgtest
remap.c
remap.stderr.exp
remap.stderr.exp-glibc27
remap.stdout.exp
remap.vgtest
remap2.c
remap2.stderr.exp
remap2.stdout.exp
remap2.stdout.exp-glibc28-amd64
remap2.stdout.exp2
remap2.vgtest
e66ffee96759787d71542aef565a67dd0e825b4f 12-Feb-2009 njn <njn@a5019735-40e9-0310-863c-91ae7b9d1cf9> Filter out everything after "(below main)" in a line. This will help with
Darwin, for which such entries can occur within the executable, rather than
within libc.



git-svn-id: svn://svn.valgrind.org/valgrind/trunk@9142 a5019735-40e9-0310-863c-91ae7b9d1cf9
dleak_creat.stderr.exp
dleak_dup.stderr.exp
dleak_dup.stderr.exp2
dleak_dup2.stderr.exp
dleak_dup2.stderr.exp2
dleak_fcntl.stderr.exp
dleak_fcntl.stderr.exp2
dleak_fcntl.stderr.exp3
dleak_open.stderr.exp
dleak_pipe.stderr.exp
dleak_socketpair.stderr.exp
6882443ef154bca367bc591287de641e43a9e108 10-Feb-2009 njn <njn@a5019735-40e9-0310-863c-91ae7b9d1cf9> Cleaned up the mess that was the treatment of "below main" functions such as
'__libc_start_main', in Massif, m_debuginfo and m_stacktrace. As part of
this, --show-below-main is now visible to tools, and Massif pays attention
to it.

Improved the description of --show-below-main=yes in the manual.

Replaced some instances of "__libc_start_main" in the test *.exp files with
"(below main)", which is what will actually be seen. Also updated
scalar.stderr.exp*, which should make it get closer to actually passing.


git-svn-id: svn://svn.valgrind.org/valgrind/trunk@9131 a5019735-40e9-0310-863c-91ae7b9d1cf9
dleak_dup.stderr.exp2
dleak_dup2.stderr.exp2
dleak_fcntl.stderr.exp2
dleak_fcntl.stderr.exp3
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
86/bug137714-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
86/Makefile.am
86/yield.c
a6dbb3fe36d405ed53ad00730d19cf3501670eed 22-Jan-2009 njn <njn@a5019735-40e9-0310-863c-91ae7b9d1cf9> - No longer using VG_ARCH_ALL to determine the DIST_SUBDIRS used for
arch/OS/platform-specific tool test dirs, instead writing it by hand.
This is important because up until now if we had any arch-specific test
dirs, we needed such dirs for all archs. Now that we also have
OS-specific and platform-specific test dirs, we don't want to have
(mostly) empty dirs for every arch/OS/platform.

- Correspondingly, removed several empty directories under memcheck/tests/
and cachegrind/tests that are no longer needed.

- Also removed VG_ARCH_ALL from configure.in.

- Also used an arch-specific guard rather than a platform-specific one where
appropriate in cachegrind/tests/Makefile.am.


git-svn-id: svn://svn.valgrind.org/valgrind/trunk@9017 a5019735-40e9-0310-863c-91ae7b9d1cf9
akefile.am
3ec9d9a63c4670ed384ef82e726a25cdb106f841 21-Jan-2009 njn <njn@a5019735-40e9-0310-863c-91ae7b9d1cf9> Merge part of r8943 from the Darwin branch -- use VGA_* instead of VGP_* for
selecting the arch-specific tests.


git-svn-id: svn://svn.valgrind.org/valgrind/trunk@9015 a5019735-40e9-0310-863c-91ae7b9d1cf9
akefile.am
86728b2eb2fc4099d7b708d9941f720fc777403d 19-Jan-2009 njn <njn@a5019735-40e9-0310-863c-91ae7b9d1cf9> Add a comment explaining this test.



git-svn-id: svn://svn.valgrind.org/valgrind/trunk@8984 a5019735-40e9-0310-863c-91ae7b9d1cf9
xecve.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
md64/insn_ssse3.vgtest
md64/ssse3_misaligned.vgtest
86/insn_ssse3.vgtest
86/ssse3_misaligned.vgtest
4d598ebb28c9ab4482b7399e0b7d0022a8af5a4f 11-Jan-2009 bart <bart@a5019735-40e9-0310-863c-91ae7b9d1cf9> Fixed typo (a space was lost by copying text between shell sessions).

git-svn-id: svn://svn.valgrind.org/valgrind/trunk@8933 a5019735-40e9-0310-863c-91ae7b9d1cf9
ilter_stderr
fcb1cd6f3e37339a145e856b63b6124c72cc45b6 10-Jan-2009 bart <bart@a5019735-40e9-0310-863c-91ae7b9d1cf9> The blockfault regression test now passes on 64 bit systems too.

git-svn-id: svn://svn.valgrind.org/valgrind/trunk@8932 a5019735-40e9-0310-863c-91ae7b9d1cf9
lockfault.stderr.exp
ilter_stderr
9ba91f4c4ae800d23b81c53e303a80760183580c 22-Dec-2008 sewardj <sewardj@a5019735-40e9-0310-863c-91ae7b9d1cf9> Update expected outputs.


git-svn-id: svn://svn.valgrind.org/valgrind/trunk@8863 a5019735-40e9-0310-863c-91ae7b9d1cf9
mdline1.stdout.exp
mdline2.stdout.exp
6967b5f13cd66a02924f317a40246a66dacf97b4 08-Nov-2008 sewardj <sewardj@a5019735-40e9-0310-863c-91ae7b9d1cf9> Add a new expected output for this test. Really it's a bad test,
in the sense that there are a huge number of valid outcomes, but
I'm not sure how to test it better.


git-svn-id: svn://svn.valgrind.org/valgrind/trunk@8740 a5019735-40e9-0310-863c-91ae7b9d1cf9
akefile.am
remap2.stdout.exp-glibc28-amd64
6f089c7722d75946c7de10b4e79190aaea483118 08-Nov-2008 sewardj <sewardj@a5019735-40e9-0310-863c-91ae7b9d1cf9> Update expected output.


git-svn-id: svn://svn.valgrind.org/valgrind/trunk@8739 a5019735-40e9-0310-863c-91ae7b9d1cf9
mdline2.stdout.exp
5e3e56b8882ce3ad174068689ad2429384ffc76d 08-Nov-2008 sewardj <sewardj@a5019735-40e9-0310-863c-91ae7b9d1cf9> Run this test -q, so as to remove the variance in outputs exhibited as
different numbers of blank lines than expected. I assume this
signifies that different numbers of forked-but-not-exec'd processes
are exiting, but I'm not sure.



git-svn-id: svn://svn.valgrind.org/valgrind/trunk@8738 a5019735-40e9-0310-863c-91ae7b9d1cf9
hell.stderr.exp
hell.stderr.exp-dash
hell.vgtest
f4f5cd25278663ebff1dd7e3c43f95b663d833b7 30-Oct-2008 sewardj <sewardj@a5019735-40e9-0310-863c-91ae7b9d1cf9> Add a test case for #156404 (main thread stack not getting extended
downwards properly at syscalls).


git-svn-id: svn://svn.valgrind.org/valgrind/trunk@8718 a5019735-40e9-0310-863c-91ae7b9d1cf9
md64/Makefile.am
md64/bug156404-amd64.c
md64/bug156404-amd64.stderr.exp
md64/bug156404-amd64.stdout.exp
md64/bug156404-amd64.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
86/Makefile.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
86/Makefile.am
9c606bd8634cd6b67bb41fa645b5c639668cfa2d 18-Sep-2008 sewardj <sewardj@a5019735-40e9-0310-863c-91ae7b9d1cf9> Merge all remaining changes from branches/PTRCHECK. These are some
relatively minor extensions to m_debuginfo, a major overhaul of
m_debuginfo/readdwarf3.c to get its space usage under control, and
changes throughout the system to enable heap-use profiling.

The majority of the merged changes were committed into
branches/PTRCHECK as the following revs: 8591 8595 8598 8599 8601 and
8161.



git-svn-id: svn://svn.valgrind.org/valgrind/trunk@8621 a5019735-40e9-0310-863c-91ae7b9d1cf9
akefile.am
pc32/Makefile.am
pc64/Makefile.am
93ca0cb1fc88ce54d36ce6dc982beaa3a8292a67 27-May-2008 bart <bart@a5019735-40e9-0310-863c-91ae7b9d1cf9> Make the rlimit_nofile regression tests less system dependent.

git-svn-id: svn://svn.valgrind.org/valgrind/trunk@8134 a5019735-40e9-0310-863c-91ae7b9d1cf9
limit_nofile.c
fbce73d25315db49193d07f386cc083e8382d727 27-May-2008 bart <bart@a5019735-40e9-0310-863c-91ae7b9d1cf9> Make the fdleak regression tests less system dependent.

git-svn-id: svn://svn.valgrind.org/valgrind/trunk@8133 a5019735-40e9-0310-863c-91ae7b9d1cf9
dleak.h
dleak_cmsg.c
dleak_creat.c
dleak_dup.c
dleak_dup2.c
dleak_fcntl.c
dleak_ipv4.c
dleak_open.c
dleak_pipe.c
dleak_socketpair.c
c8741428225d78e61dc5315515f92f0faa666440 25-May-2008 bart <bart@a5019735-40e9-0310-863c-91ae7b9d1cf9> #define HAS_ALTIVEC is now fetched from config.h instead of from Makefile.am.

git-svn-id: svn://svn.valgrind.org/valgrind/trunk@8128 a5019735-40e9-0310-863c-91ae7b9d1cf9
pc32/Makefile.am
pc32/jm-insns.c
pc64/Makefile.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
86/bug152818-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
86/Makefile.am
86/bug152818-x86.c
86/bug152818-x86.stderr.exp
86/bug152818-x86.stdout.exp
86/bug152818-x86.vgtest
cec15e8fb87380058cc8fdad6430150d3612f02e 07-May-2008 sewardj <sewardj@a5019735-40e9-0310-863c-91ae7b9d1cf9> Make sure compilation of pth_cancel1.c gets $(AM_FLAG_M3264_PRI).


git-svn-id: svn://svn.valgrind.org/valgrind/trunk@8014 a5019735-40e9-0310-863c-91ae7b9d1cf9
akefile.am
c3818493ae9c81418f2d1c76fdb5cbe102c63757 27-Apr-2008 bart <bart@a5019735-40e9-0310-863c-91ae7b9d1cf9> Added yet another output variant.

git-svn-id: svn://svn.valgrind.org/valgrind/trunk@7938 a5019735-40e9-0310-863c-91ae7b9d1cf9
remap.stderr.exp-glibc27
137f8f6de44b996bbd400c83385b9e08b3deda4a 27-Apr-2008 bart <bart@a5019735-40e9-0310-863c-91ae7b9d1cf9> Added yet another output variant.

git-svn-id: svn://svn.valgrind.org/valgrind/trunk@7937 a5019735-40e9-0310-863c-91ae7b9d1cf9
hell_zerolength.stderr.exp-dash
d8b6689a492aab914266a55142138b8f34b91356 27-Apr-2008 bart <bart@a5019735-40e9-0310-863c-91ae7b9d1cf9> Added yet another output variant.

git-svn-id: svn://svn.valgrind.org/valgrind/trunk@7936 a5019735-40e9-0310-863c-91ae7b9d1cf9
hell.stderr.exp-dash
3a3e8caf9aa4ab0c9a62f6ee3895b40b6bce7b29 26-Apr-2008 bart <bart@a5019735-40e9-0310-863c-91ae7b9d1cf9> Suppress unavoidable warning during compilation of pth_cancel1.c.

git-svn-id: svn://svn.valgrind.org/valgrind/trunk@7924 a5019735-40e9-0310-863c-91ae7b9d1cf9
akefile.am
71a50b31acfed31e5aaa590ef16b3852c7441dea 22-Apr-2008 bart <bart@a5019735-40e9-0310-863c-91ae7b9d1cf9> Moved mallinfo regression test from none/tests to memcheck/tests.

git-svn-id: svn://svn.valgrind.org/valgrind/trunk@7903 a5019735-40e9-0310-863c-91ae7b9d1cf9
akefile.am
allinfo.c
allinfo.stderr.exp
allinfo.vgtest
bee023b2712a1cd943a53f8485e348554f9b8dcf 21-Apr-2008 bart <bart@a5019735-40e9-0310-863c-91ae7b9d1cf9> Made mallinfo() regression test more extensive, based on a contribution by Eugene Toder.

git-svn-id: svn://svn.valgrind.org/valgrind/trunk@7902 a5019735-40e9-0310-863c-91ae7b9d1cf9
allinfo.c
allinfo.stderr.exp
allinfo.vgtest
68d9fab043fd61616f975de0be3b006d65fa4aad 19-Apr-2008 bart <bart@a5019735-40e9-0310-863c-91ae7b9d1cf9> Added regression test for mallinfo().

git-svn-id: svn://svn.valgrind.org/valgrind/trunk@7889 a5019735-40e9-0310-863c-91ae7b9d1cf9
akefile.am
allinfo.c
allinfo.stderr.exp
allinfo.vgtest
b8b79addf04dd5d0b558916e26df0b1927cbd758 03-Mar-2008 sewardj <sewardj@a5019735-40e9-0310-863c-91ae7b9d1cf9> Merge in the DATASYMS branch.


git-svn-id: svn://svn.valgrind.org/valgrind/trunk@7540 a5019735-40e9-0310-863c-91ae7b9d1cf9
mdline2.stdout.exp
05b48236c267bc45a1b35371c4d95417316ca79b 13-Feb-2008 njn <njn@a5019735-40e9-0310-863c-91ae7b9d1cf9> Fix minor breakage in 7 tests.



git-svn-id: svn://svn.valgrind.org/valgrind/trunk@7405 a5019735-40e9-0310-863c-91ae7b9d1cf9
mdline1.stdout.exp
mdline2.stdout.exp
fad9c1c7d1c85c07b3c29be0d933049b3b278c61 10-Feb-2008 njn <njn@a5019735-40e9-0310-863c-91ae7b9d1cf9> From Bart van Assche:

A long time ago pthreads-functions were instrumented in the drd-patch
via modifications of coregrind/vg_preloaded.c. A.o. detached threads
were recognized by intercepting pthread_create(). This intercept was
active for all tools, so it made sense to add a unit test for it
(none/tests/pth_detached.c). This intercept has been moved from
coregrind/vg_preloaded.c to exp-drd/drd_preloaded.c, so this unit
test does no longer make sense for nulgrind. This test may be
removed.




git-svn-id: svn://svn.valgrind.org/valgrind/trunk@7391 a5019735-40e9-0310-863c-91ae7b9d1cf9
akefile.am
th_detached.c
th_detached.stderr.exp
th_detached.stdout.exp
th_detached.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
md64/Makefile.am
86/Makefile.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
md64/Makefile.am
86/Makefile.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
md64/Makefile.am
md64/insn_ssse3.def
md64/insn_ssse3.stderr.exp
md64/insn_ssse3.stdout.exp
md64/insn_ssse3.vgtest
md64/ssse3_misaligned.c
md64/ssse3_misaligned.stderr.exp
md64/ssse3_misaligned.stdout.exp
md64/ssse3_misaligned.vgtest
86/Makefile.am
86/insn_ssse3.def
86/insn_ssse3.stderr.exp
86/insn_ssse3.stdout.exp
86/insn_ssse3.vgtest
86/ssse3_misaligned.c
86/ssse3_misaligned.stderr.exp
86/ssse3_misaligned.stdout.exp
86/ssse3_misaligned.vgtest
95d86c091a218e904e912354efa4f952a9712e82 18-Dec-2007 sewardj <sewardj@a5019735-40e9-0310-863c-91ae7b9d1cf9> Improve handling of programs which require very large main thread
stacks. Instead of hardwiring the main thread stack to a max of 16MB
and segfaulting the app beyond that point, allow the user to specify
the main stack size using the new flag --main-stacksize=<number>.

If said flag is not present, the current default, which is "MIN(16GB,
current ulimit -s value)", is used.



git-svn-id: svn://svn.valgrind.org/valgrind/trunk@7302 a5019735-40e9-0310-863c-91ae7b9d1cf9
lockfault.stderr.exp
mdline1.stdout.exp
mdline2.stdout.exp
728ae1c0138f47462f4987f0cc67bb9072c1f48d 25-Nov-2007 sewardj <sewardj@a5019735-40e9-0310-863c-91ae7b9d1cf9> Get rid of compiler warnings.


git-svn-id: svn://svn.valgrind.org/valgrind/trunk@7217 a5019735-40e9-0310-863c-91ae7b9d1cf9
md64/rcl-amd64.c
md64/redundantRexW.c
28f80e9ab821ca87d8c88d2a28dbc600b8226da0 24-Nov-2007 sewardj <sewardj@a5019735-40e9-0310-863c-91ae7b9d1cf9> Update expected outputs.


git-svn-id: svn://svn.valgrind.org/valgrind/trunk@7206 a5019735-40e9-0310-863c-91ae7b9d1cf9
mdline1.stdout.exp
mdline2.stdout.exp
374a36dbfb6d08ed8d77c31a88e198a861ffadf0 23-Nov-2007 njn <njn@a5019735-40e9-0310-863c-91ae7b9d1cf9> Fixed up the log file mess throughout, including the docs. This killed
--log-file-qualifier and --log-file-exactly.

Updated NEWS some in preparation for 3.3.0.



git-svn-id: svn://svn.valgrind.org/valgrind/trunk@7202 a5019735-40e9-0310-863c-91ae7b9d1cf9
mdline1.stdout.exp
mdline2.stdout.exp
0ab5548fe786920d3a23e6986858baa0d3abc59d 10-Nov-2007 sewardj <sewardj@a5019735-40e9-0310-863c-91ae7b9d1cf9> Merge (from branches/THRCHECK) misc build-system changes. Nothing
significant.



git-svn-id: svn://svn.valgrind.org/valgrind/trunk@7128 a5019735-40e9-0310-863c-91ae7b9d1cf9
md64/Makefile.am
0657e1c6dc37b8c39828a228f13ac5014fc0ef00 06-Nov-2007 sewardj <sewardj@a5019735-40e9-0310-863c-91ae7b9d1cf9> Test for decoding of some instructions with redundant REX.W bits in
their prefix.



git-svn-id: svn://svn.valgrind.org/valgrind/trunk@7104 a5019735-40e9-0310-863c-91ae7b9d1cf9
md64/Makefile.am
md64/redundantRexW.c
md64/redundantRexW.stderr.exp
md64/redundantRexW.stdout.exp
md64/redundantRexW.vgtest
1ceeaf5250d8fc5dad3e4c62e161281d6e2e8c12 02-Sep-2007 sewardj <sewardj@a5019735-40e9-0310-863c-91ae7b9d1cf9> Add test for tw instruction.


git-svn-id: svn://svn.valgrind.org/valgrind/trunk@6797 a5019735-40e9-0310-863c-91ae7b9d1cf9
pc32/Makefile.am
pc32/tw.c
pc32/tw.stderr.exp
pc32/tw.stdout.exp
pc32/tw.vgtest
c485ef2fc36779ae23aebd7afd8b3b79a05b1129 02-Sep-2007 sewardj <sewardj@a5019735-40e9-0310-863c-91ae7b9d1cf9> Add test for tw and td instructions.


git-svn-id: svn://svn.valgrind.org/valgrind/trunk@6796 a5019735-40e9-0310-863c-91ae7b9d1cf9
pc64/Makefile.am
pc64/tw_td.c
pc64/tw_td.stderr.exp
pc64/tw_td.stdout.exp
pc64/tw_td.vgtest
268b2f5c1f2b054bcb947248dc01441b0fa874a9 01-Sep-2007 sewardj <sewardj@a5019735-40e9-0310-863c-91ae7b9d1cf9> Add regtest for amd64 implementation of maskmovq and maskmovdq.


git-svn-id: svn://svn.valgrind.org/valgrind/trunk@6794 a5019735-40e9-0310-863c-91ae7b9d1cf9
md64/Makefile.am
md64/bug137714-amd64.c
md64/bug137714-amd64.stderr.exp
md64/bug137714-amd64.stdout.exp
md64/bug137714-amd64.vgtest
b508d77984ddb5aba026c3aad741617c2231bbee 03-May-2007 sewardj <sewardj@a5019735-40e9-0310-863c-91ae7b9d1cf9> Older assemblers on amd64-linux don't do lahf/sahf; work around that.


git-svn-id: svn://svn.valgrind.org/valgrind/trunk@6727 a5019735-40e9-0310-863c-91ae7b9d1cf9
md64/slahf-amd64.c
1f456dea93e771f9f92656d73b3ae2c3798246f5 07-Apr-2007 sewardj <sewardj@a5019735-40e9-0310-863c-91ae7b9d1cf9> Test sahf/lahf on amd64.


git-svn-id: svn://svn.valgrind.org/valgrind/trunk@6695 a5019735-40e9-0310-863c-91ae7b9d1cf9
md64/Makefile.am
md64/slahf-amd64.c
md64/slahf-amd64.stderr.exp
md64/slahf-amd64.stdout.exp
md64/slahf-amd64.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
md64/Makefile.am
86/Makefile.am
de21b954afb4d9902726331a3f8a7d3cf8bd45e4 12-Mar-2007 sewardj <sewardj@a5019735-40e9-0310-863c-91ae7b9d1cf9> Add a test for vex ppc64 code generation bug fixed by vex r1739
(When generating 64-bit code, ensure that any addresses used in 4 or 8
byte loads or stores of the form reg+imm have the lowest 2 bits of imm
set to zero, so that they can safely be used in ld/ldu/lda/std/stdu
instructions.)



git-svn-id: svn://svn.valgrind.org/valgrind/trunk@6645 a5019735-40e9-0310-863c-91ae7b9d1cf9
pc64/Makefile.am
pc64/std_reg_imm.c
pc64/std_reg_imm.stderr.exp
pc64/std_reg_imm.stdout.exp
pc64/std_reg_imm.vgtest
8af928c04bd44cccff53e52bb3602530b74ce6a9 13-Feb-2007 sewardj <sewardj@a5019735-40e9-0310-863c-91ae7b9d1cf9> Updated expected output.


git-svn-id: svn://svn.valgrind.org/valgrind/trunk@6590 a5019735-40e9-0310-863c-91ae7b9d1cf9
mdline2.stdout.exp
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
86/cse_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
86/Makefile.am
86/cse_fail.c
86/cse_fail.stderr.exp
86/cse_fail.stdout.exp
86/cse_fail.vgtest
0d9a3ef972f52b5718359b8cb5b85ad73fd434b2 19-Jan-2007 sewardj <sewardj@a5019735-40e9-0310-863c-91ae7b9d1cf9> Add a test for rc{l,r}{bwlq} on amd64. (from Emmanuel Thomé)


git-svn-id: svn://svn.valgrind.org/valgrind/trunk@6540 a5019735-40e9-0310-863c-91ae7b9d1cf9
md64/Makefile.am
md64/rcl-amd64.c
md64/rcl-amd64.stderr.exp
md64/rcl-amd64.stdout.exp
md64/rcl-amd64.vgtest
9ebd6e0c607fa30301b1325874eb8de871c21cc5 08-Jan-2007 sewardj <sewardj@a5019735-40e9-0310-863c-91ae7b9d1cf9> Update copyright dates.



git-svn-id: svn://svn.valgrind.org/valgrind/trunk@6488 a5019735-40e9-0310-863c-91ae7b9d1cf9
mdline1.stdout.exp
mdline2.stdout.exp
aff33ae81d610d14a37276856b99cd1ef317ed08 28-Dec-2006 sewardj <sewardj@a5019735-40e9-0310-863c-91ae7b9d1cf9> Update expected output following r6447 (Test lvxl and stvxl.)


git-svn-id: svn://svn.valgrind.org/valgrind/trunk@6453 a5019735-40e9-0310-863c-91ae7b9d1cf9
pc64/jm-vmx.stdout.exp
7a1f3b604b710dd6ebe0f5b99028d1d2aceab15f 28-Dec-2006 sewardj <sewardj@a5019735-40e9-0310-863c-91ae7b9d1cf9> Add regtest for bug129390 (altivec cache hint insns)


git-svn-id: svn://svn.valgrind.org/valgrind/trunk@6450 a5019735-40e9-0310-863c-91ae7b9d1cf9
pc32/Makefile.am
pc32/bug129390-ppc32.c
pc32/bug129390-ppc32.stderr.exp
pc32/bug129390-ppc32.stdout.exp
pc32/bug129390-ppc32.vgtest
0b21412e4daca69e48895a713111fe906133cd53 27-Dec-2006 sewardj <sewardj@a5019735-40e9-0310-863c-91ae7b9d1cf9> Test lvxl and stvxl.


git-svn-id: svn://svn.valgrind.org/valgrind/trunk@6447 a5019735-40e9-0310-863c-91ae7b9d1cf9
pc32/jm-insns.c
pc32/jm-vmx.stdout.exp
e7804342d72dcd7a731366080be4d48c7446ddb7 27-Dec-2006 sewardj <sewardj@a5019735-40e9-0310-863c-91ae7b9d1cf9> Add regtest for #139050.


git-svn-id: svn://svn.valgrind.org/valgrind/trunk@6446 a5019735-40e9-0310-863c-91ae7b9d1cf9
pc32/Makefile.am
pc32/bug139050-ppc32.c
pc32/bug139050-ppc32.stderr.exp
pc32/bug139050-ppc32.stdout.exp
pc32/bug139050-ppc32.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
86/Makefile.am
86/bug137714-x86.c
86/bug137714-x86.stderr.exp
86/bug137714-x86.stdout.exp
86/bug137714-x86.vgtest
bf57ce7d35884056dfc780bd8755f03f21af3fa3 18-Dec-2006 sewardj <sewardj@a5019735-40e9-0310-863c-91ae7b9d1cf9> Use standard pthread mutexes instead of spinlocks. Not all distros
support spinlocks, it appears.



git-svn-id: svn://svn.valgrind.org/valgrind/trunk@6412 a5019735-40e9-0310-863c-91ae7b9d1cf9
th_detached.c
76e8a96d14ab7083479173760e79e3abfd24155e 17-Dec-2006 sewardj <sewardj@a5019735-40e9-0310-863c-91ae7b9d1cf9> Add locking so this produces repeatable results (Bart Van Assche).


git-svn-id: svn://svn.valgrind.org/valgrind/trunk@6407 a5019735-40e9-0310-863c-91ae7b9d1cf9
th_detached.c
th_detached.stdout.exp
e1494c6807bd1744d615ce52d97599168eddb2ed 16-Dec-2006 sewardj <sewardj@a5019735-40e9-0310-863c-91ae7b9d1cf9> 64-bit followup to r6404: fix and simplify the inline assembly, so it
works right when compiled by gcc-4.1.0. Also add a new flag, -A, to
test all available instructions.



git-svn-id: svn://svn.valgrind.org/valgrind/trunk@6405 a5019735-40e9-0310-863c-91ae7b9d1cf9
pc32/jm-insns.c
5f2d97bcb4eddb73852d231e3940dee16f09e8c4 16-Dec-2006 sewardj <sewardj@a5019735-40e9-0310-863c-91ae7b9d1cf9> Fix and simplify the inline assembly, so it works right when compiled
by gcc-4.1.0.



git-svn-id: svn://svn.valgrind.org/valgrind/trunk@6404 a5019735-40e9-0310-863c-91ae7b9d1cf9
pc32/jm-insns.c
1f84dbc5d66b0c9b7538ffb81c58bbd23c7a1099 13-Dec-2006 sewardj <sewardj@a5019735-40e9-0310-863c-91ae7b9d1cf9> Include missing files in tarball.


git-svn-id: svn://svn.valgrind.org/valgrind/trunk@6397 a5019735-40e9-0310-863c-91ae7b9d1cf9
md64/Makefile.am
2f3bcd2d524670e18b8b017eaadab1eaafb9724f 12-Dec-2006 sewardj <sewardj@a5019735-40e9-0310-863c-91ae7b9d1cf9> Minor tidying for regtests on AIX.


git-svn-id: svn://svn.valgrind.org/valgrind/trunk@6395 a5019735-40e9-0310-863c-91ae7b9d1cf9
akefile.am
em.c
7e0b776974ed27a719d08dd1c90f2324dd27a2c8 11-Dec-2006 sewardj <sewardj@a5019735-40e9-0310-863c-91ae7b9d1cf9> Fix various regtests, mostly by adding 64-bit outputs.


git-svn-id: svn://svn.valgrind.org/valgrind/trunk@6394 a5019735-40e9-0310-863c-91ae7b9d1cf9
dleak_cmsg.stderr.exp4
limit_nofile.c
0306d74348662d09c9fabc0429e57716a147c07a 11-Dec-2006 sewardj <sewardj@a5019735-40e9-0310-863c-91ae7b9d1cf9> Update expected output.


git-svn-id: svn://svn.valgrind.org/valgrind/trunk@6393 a5019735-40e9-0310-863c-91ae7b9d1cf9
dleak_cmsg.stderr.exp3
c8990d3b0b9f0204cbcf8694f00941a545f0a196 11-Dec-2006 sewardj <sewardj@a5019735-40e9-0310-863c-91ae7b9d1cf9> On SuSE 10.1 (amd64) fd 4 seems to be open at process start. Close it
so as to get consistent test results.


git-svn-id: svn://svn.valgrind.org/valgrind/trunk@6392 a5019735-40e9-0310-863c-91ae7b9d1cf9
dleak_cmsg.c
dleak_creat.c
dleak_dup.c
dleak_dup2.c
dleak_fcntl.c
dleak_ipv4.c
dleak_open.c
dleak_socketpair.c
fc9f82d6303ac67921ee8ff93558a7d554cc3f29 11-Dec-2006 sewardj <sewardj@a5019735-40e9-0310-863c-91ae7b9d1cf9> Update a couple of expected outputs.


git-svn-id: svn://svn.valgrind.org/valgrind/trunk@6390 a5019735-40e9-0310-863c-91ae7b9d1cf9
lockfault.stderr.exp
82020a8cfd1701aa8c555b7c1af51fbd11ddd7c1 06-Dec-2006 njn <njn@a5019735-40e9-0310-863c-91ae7b9d1cf9> Add a regression test, courtesy of Bart Van Assche.



git-svn-id: svn://svn.valgrind.org/valgrind/trunk@6379 a5019735-40e9-0310-863c-91ae7b9d1cf9
akefile.am
th_detached.c
th_detached.stderr.exp
th_detached.stdout.exp
th_detached.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
86/Makefile.am
86/bug135421-x86.c
86/bug135421-x86.stderr.exp
86/bug135421-x86.stdout.exp
86/bug135421-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
86/Makefile.am
86/jcxz.c
86/jcxz.stderr.exp
86/jcxz.stdout.exp
86/jcxz.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
86/Makefile.am
86/bug126147-x86.c
86/bug126147-x86.stderr.exp
86/bug126147-x86.stdout.exp
86/bug126147-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
86/Makefile.am
86/bug125959-x86.c
86/bug125959-x86.stderr.exp
86/bug125959-x86.stdout.exp
86/bug125959-x86.vgtest
90527e3badd57e7a2ef1e92159bf193740db0997 17-Oct-2006 sewardj <sewardj@a5019735-40e9-0310-863c-91ae7b9d1cf9> Change a bunch of pointer <-> int casts to pointer <-> long casts so
as to stop gcc complaining so much on 64-bit platforms.



git-svn-id: svn://svn.valgrind.org/valgrind/trunk@6306 a5019735-40e9-0310-863c-91ae7b9d1cf9
md64/faultstatus.c
usphello.c
hreaded-fork.c
3477e8cca7c9ef1e35dd1503d1e31fe584884197 17-Oct-2006 sewardj <sewardj@a5019735-40e9-0310-863c-91ae7b9d1cf9> Update expected output.


git-svn-id: svn://svn.valgrind.org/valgrind/trunk@6305 a5019735-40e9-0310-863c-91ae7b9d1cf9
mdline2.stdout.exp
4bdd50565b73fc912c306a0f716b4141736ec85e 17-Oct-2006 sewardj <sewardj@a5019735-40e9-0310-863c-91ae7b9d1cf9> Merge r6113:

Various minor changes to make these compile on AIX5.


git-svn-id: svn://svn.valgrind.org/valgrind/trunk@6257 a5019735-40e9-0310-863c-91ae7b9d1cf9
sync-sigs.c
lockfault.c
dleak_cmsg.c
q.c
remap.c
remap2.c
th_atfork1.c
th_cancel1.c
igstackgrowth.c
usphello.c
hreaded-fork.c
hreadederrno.c
hreadederrno.stdout.exp
1eff82b723e47689fb818d15ceb516cd6bdc017c 17-Oct-2006 sewardj <sewardj@a5019735-40e9-0310-863c-91ae7b9d1cf9> Merge r6086:

Makefile.am changes for AIX5. Almost all boilerplate stuff fitting in
with the existing factorisation scheme. The only change of interest
is that configure.in now generates automake symbols of name
VGP_platform and VGO_os, whereas previously it just made VG_platform
which was a bit inconsistent with the VGP/VGO/VGA scheme used in C
code.



git-svn-id: svn://svn.valgrind.org/valgrind/trunk@6242 a5019735-40e9-0310-863c-91ae7b9d1cf9
akefile.am
90da11b48e4351d97dc9edb63f4a745464d4de2c 04-Oct-2006 sewardj <sewardj@a5019735-40e9-0310-863c-91ae7b9d1cf9> A a test for the 'mcrfs' insn.


git-svn-id: svn://svn.valgrind.org/valgrind/trunk@6173 a5019735-40e9-0310-863c-91ae7b9d1cf9
pc32/Makefile.am
pc32/mcrfs.c
pc32/mcrfs.stderr.exp
pc32/mcrfs.stdout.exp
pc32/mcrfs.vgtest
68245ce7779f0ac100db1a43368a49623a4821fb 11-Sep-2006 sewardj <sewardj@a5019735-40e9-0310-863c-91ae7b9d1cf9> Regtest for #133678 (amd64 pextrw with 64-bit dst register)


git-svn-id: svn://svn.valgrind.org/valgrind/trunk@6047 a5019735-40e9-0310-863c-91ae7b9d1cf9
md64/insn_sse.def
md64/insn_sse.stdout.exp
cbc4bdfeb8c60ac2ed54e24abc79531ae3ba6ea6 11-Sep-2006 sewardj <sewardj@a5019735-40e9-0310-863c-91ae7b9d1cf9> Add regtest for #132918 (amd64 fprem).


git-svn-id: svn://svn.valgrind.org/valgrind/trunk@6046 a5019735-40e9-0310-863c-91ae7b9d1cf9
md64/Makefile.am
md64/bug132918.c
md64/bug132918.stderr.exp
md64/bug132918.stdout.exp
md64/bug132918.vgtest
969d89c45f9f3daed2f05404329b5fdb73235cb6 28-Aug-2006 sewardj <sewardj@a5019735-40e9-0310-863c-91ae7b9d1cf9> 64-bit regtest for #132813 (Assertion at priv/guest-x86/toIR.c:652 fails)


git-svn-id: svn://svn.valgrind.org/valgrind/trunk@6035 a5019735-40e9-0310-863c-91ae7b9d1cf9
md64/Makefile.am
md64/bug132813-amd64.c
md64/bug132813-amd64.stderr.exp
md64/bug132813-amd64.stdout.exp
md64/bug132813-amd64.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
86/Makefile.am
86/bug132813-x86.c
86/bug132813-x86.stderr.exp
86/bug132813-x86.stdout.exp
86/bug132813-x86.vgtest
42e9bd0463b13d6a2b71b5a1f0471018f4436391 25-Aug-2006 sewardj <sewardj@a5019735-40e9-0310-863c-91ae7b9d1cf9> Add missing #include.


git-svn-id: svn://svn.valgrind.org/valgrind/trunk@6012 a5019735-40e9-0310-863c-91ae7b9d1cf9
ug129866.c
ec4e607f8b518f22d0edd9ae2f6bcb639b2d8854 23-Aug-2006 tom <tom@a5019735-40e9-0310-863c-91ae7b9d1cf9> Hand assemble cmpxchg16b as old assemblers don't understand it.


git-svn-id: svn://svn.valgrind.org/valgrind/trunk@6009 a5019735-40e9-0310-863c-91ae7b9d1cf9
md64/bug127521-64.c
409e73fd92047d4c4688664fe4257f89a9d80e5e 17-Aug-2006 sewardj <sewardj@a5019735-40e9-0310-863c-91ae7b9d1cf9> Regtest for #127521 (amd64 cmpxchg8b/16b).


git-svn-id: svn://svn.valgrind.org/valgrind/trunk@6007 a5019735-40e9-0310-863c-91ae7b9d1cf9
md64/Makefile.am
md64/bug127521-64.c
md64/bug127521-64.stderr.exp
md64/bug127521-64.stdout.exp
md64/bug127521-64.vgtest
35c1c7c6f70b7ee4a8e1f920707a30d9b1410b4c 16-Aug-2006 sewardj <sewardj@a5019735-40e9-0310-863c-91ae7b9d1cf9> Regression test for fix for #129866.


git-svn-id: svn://svn.valgrind.org/valgrind/trunk@6005 a5019735-40e9-0310-863c-91ae7b9d1cf9
akefile.am
ug129866.c
ug129866.stderr.exp
ug129866.stdout.exp
ug129866.vgtest
c73fe10caec05c3a5ebd99d5f237d5f6030178e7 16-Aug-2006 sewardj <sewardj@a5019735-40e9-0310-863c-91ae7b9d1cf9> Regtest for bug fixed by r6001.


git-svn-id: svn://svn.valgrind.org/valgrind/trunk@6002 a5019735-40e9-0310-863c-91ae7b9d1cf9
md64/Makefile.am
md64/nibz_bennee_mmap.c
md64/nibz_bennee_mmap.stderr.exp
md64/nibz_bennee_mmap.stdout.exp
md64/nibz_bennee_mmap.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
md64/Makefile.am
md64/insn_sse3.def
md64/insn_sse3.stderr.exp
md64/insn_sse3.stdout.exp
md64/insn_sse3.vgtest
86/Makefile.am
86/insn_sse3.def
86/insn_sse3.stderr.exp
86/insn_sse3.stdout.exp
86/insn_sse3.vgtest
1d47aeff78b1212ceaf31798f35436e2f52eed7d 24-Jul-2006 sewardj <sewardj@a5019735-40e9-0310-863c-91ae7b9d1cf9> Re-enable regression tests for AMD64 SSE2 'psadbw'.


git-svn-id: svn://svn.valgrind.org/valgrind/trunk@5987 a5019735-40e9-0310-863c-91ae7b9d1cf9
md64/insn_sse2.def
md64/insn_sse2.stdout.exp
33dbfce5f650eadd19293175aec5d79afec0debc 03-Jun-2006 njn <njn@a5019735-40e9-0310-863c-91ae7b9d1cf9> Clarify usage instructions for --trace-flags.



git-svn-id: svn://svn.valgrind.org/valgrind/trunk@5950 a5019735-40e9-0310-863c-91ae7b9d1cf9
mdline2.stdout.exp
b80c828922f31a59e31e12de1c63d8ee11c3ee22 27-May-2006 sewardj <sewardj@a5019735-40e9-0310-863c-91ae7b9d1cf9> Oops, track date change in r5940.


git-svn-id: svn://svn.valgrind.org/valgrind/trunk@5941 a5019735-40e9-0310-863c-91ae7b9d1cf9
mdline1.stdout.exp
mdline2.stdout.exp
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
md64/Makefile.am
md64/faultstatus.disabled
md64/faultstatus.vgtest
86/Makefile.am
86/faultstatus.disabled
86/faultstatus.vgtest
86/int.disabled
86/int.vgtest
365985f6538a282be58a1681b0a98bf83b5c7561 13-May-2006 sewardj <sewardj@a5019735-40e9-0310-863c-91ae7b9d1cf9> Update expected outputs following r5895.


git-svn-id: svn://svn.valgrind.org/valgrind/trunk@5901 a5019735-40e9-0310-863c-91ae7b9d1cf9
mdline1.stdout.exp
mdline2.stdout.exp
0e21d1df08449db40bdccf8883a603fa3cdbc7ea 12-May-2006 sewardj <sewardj@a5019735-40e9-0310-863c-91ae7b9d1cf9> Regression test for clc/stc/cmc on amd64.


git-svn-id: svn://svn.valgrind.org/valgrind/trunk@5893 a5019735-40e9-0310-863c-91ae7b9d1cf9
md64/Makefile.am
md64/clc.c
md64/clc.stderr.exp
md64/clc.stdout.exp
md64/clc.vgtest
67b0a95cb163b8ae43620346a5f8024c33d3864a 08-May-2006 sewardj <sewardj@a5019735-40e9-0310-863c-91ae7b9d1cf9> Tests for 16/32 bit byte reversed loads and stores.


git-svn-id: svn://svn.valgrind.org/valgrind/trunk@5887 a5019735-40e9-0310-863c-91ae7b9d1cf9
pc32/Makefile.am
pc32/ldstrev.c
pc32/ldstrev.stderr.exp
pc32/ldstrev.stdout.exp
pc32/ldstrev.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
86/Makefile.am
86/movx.c
86/movx.stderr.exp
86/movx.stdout.exp
86/movx.vgtest
e87dba33a7dc7c42e760b2af34dbf01affcbd330 19-Apr-2006 sewardj <sewardj@a5019735-40e9-0310-863c-91ae7b9d1cf9> Build fixes for gcc-3.3.3.


git-svn-id: svn://svn.valgrind.org/valgrind/trunk@5858 a5019735-40e9-0310-863c-91ae7b9d1cf9
pc32/round.c
pc64/round.c
ca54af3adebe3ff9126ea2c2f6b9a9921269f9c4 16-Apr-2006 njn <njn@a5019735-40e9-0310-863c-91ae7b9d1cf9> Remove tool-specific code (which says which tools allow XML) from the core
by introducing a new "need": VG_(needs_xml_output)().


git-svn-id: svn://svn.valgrind.org/valgrind/trunk@5854 a5019735-40e9-0310-863c-91ae7b9d1cf9
mdline1.stdout.exp
mdline2.stdout.exp
a0d693b676ca016942849cb4243c3bfaae37f9bf 16-Apr-2006 sewardj <sewardj@a5019735-40e9-0310-863c-91ae7b9d1cf9> Regression test cases for FP rounding modes on ppc32 and ppc64.
(Dave Nomura).



git-svn-id: svn://svn.valgrind.org/valgrind/trunk@5853 a5019735-40e9-0310-863c-91ae7b9d1cf9
pc32/Makefile.am
pc32/round.c
pc32/round.stderr.exp
pc32/round.stdout.exp
pc32/round.vgtest
pc64/Makefile.am
pc64/round.c
pc64/round.stderr.exp
pc64/round.stdout.exp
pc64/round.vgtest
1b1d7522953d797987b4c1c9e4772242c40bd3c2 08-Apr-2006 sewardj <sewardj@a5019735-40e9-0310-863c-91ae7b9d1cf9> Re-enable amd64 test for pmaddwd.


git-svn-id: svn://svn.valgrind.org/valgrind/trunk@5839 a5019735-40e9-0310-863c-91ae7b9d1cf9
md64/insn_sse2.def
md64/insn_sse2.stdout.exp
1d0825ff46d57f0ce83c3fa88538a42f67022eee 27-Mar-2006 njn <njn@a5019735-40e9-0310-863c-91ae7b9d1cf9> Merge in the COMPVBITS branch to the trunk. This is a big change to
Memcheck, replacing the 9-bits-per-byte shadow memory representation to a
2-bits-per-byte representation (with possibly a little more on the side) by
taking advantage of the fact that extremely few memory bytes are partially
defined.

For the SPEC2k benchmarks with "test" inputs, this speeds up Memcheck by a
(geometric mean) factor of 1.20, and reduces the size of shadow memory by a
(geometric mean) factor of 4.26.

At the same time, Addrcheck is removed. It hadn't worked for quite some
time, and with these improvements in Memcheck its raisons-d'etre have
shrivelled so much that it's not worth the effort to keep around. Hooray!

Nb: this code hasn't been tested on PPC. If things go wrong, look first in
the fast stack-handling functions (eg. mc_new_mem_stack_160,
MC_(helperc_MAKE_STACK_UNINIT)).


git-svn-id: svn://svn.valgrind.org/valgrind/trunk@5791 a5019735-40e9-0310-863c-91ae7b9d1cf9
ilter_fdleak
00f1e628a3b07c03fcaaa65a3a3c8268feb773b6 12-Mar-2006 sewardj <sewardj@a5019735-40e9-0310-863c-91ae7b9d1cf9> Work around lameness in older ppc assemblers.


git-svn-id: svn://svn.valgrind.org/valgrind/trunk@5757 a5019735-40e9-0310-863c-91ae7b9d1cf9
pc32/mftocrf.c
8d904eef4897d3aef721e57a724a1b1244dd51fc 07-Mar-2006 sewardj <sewardj@a5019735-40e9-0310-863c-91ae7b9d1cf9> Add an amd64 test program for 'fxtract' - just a copy of the x86 one.


git-svn-id: svn://svn.valgrind.org/valgrind/trunk@5716 a5019735-40e9-0310-863c-91ae7b9d1cf9
md64/Makefile.am
md64/fxtract.c
md64/fxtract.stderr.exp
md64/fxtract.stdout.exp
md64/fxtract.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
86/Makefile.am
86/fcmovnu.c
86/fcmovnu.stderr.exp
86/fcmovnu.stdout.exp
86/fcmovnu.vgtest
1168428cbfd865b8fcd4ec1dfe9cbcee9b9de75d 06-Mar-2006 sewardj <sewardj@a5019735-40e9-0310-863c-91ae7b9d1cf9> Test for fcmovnu.


git-svn-id: svn://svn.valgrind.org/valgrind/trunk@5714 a5019735-40e9-0310-863c-91ae7b9d1cf9
md64/Makefile.am
md64/fcmovnu.c
md64/fcmovnu.stderr.exp
md64/fcmovnu.stdout.exp
md64/fcmovnu.vgtest
47a6a5fb1f7d3cfb074f7dfccb628bbe3a474fdb 01-Mar-2006 sewardj <sewardj@a5019735-40e9-0310-863c-91ae7b9d1cf9> A simple test of m{f,t}ocrf.


git-svn-id: svn://svn.valgrind.org/valgrind/trunk@5705 a5019735-40e9-0310-863c-91ae7b9d1cf9
pc32/Makefile.am
pc32/mftocrf.c
pc32/mftocrf.stderr.exp
pc32/mftocrf.stdout.exp
pc32/mftocrf.vgtest
c075dfc07ece1760312fa3844c5e0f3173ff6e8e 07-Feb-2006 sewardj <sewardj@a5019735-40e9-0310-863c-91ae7b9d1cf9> Add regression tests for the twi and tdi instructions, and also for
consequent SIGTRAP handling.


git-svn-id: svn://svn.valgrind.org/valgrind/trunk@5618 a5019735-40e9-0310-863c-91ae7b9d1cf9
pc32/Makefile.am
pc32/twi.c
pc32/twi.stderr.exp
pc32/twi.stdout.exp
pc32/twi.vgtest
pc64/Makefile.am
pc64/twi_tdi.c
pc64/twi_tdi.stderr.exp
pc64/twi_tdi.stdout.exp
pc64/twi_tdi.vgtest
378753ba5d562fff5bc868d4af57094f417183be 06-Feb-2006 sewardj <sewardj@a5019735-40e9-0310-863c-91ae7b9d1cf9> Regtest for a double -> unsigned int conversion that xlc generates
inline, which requires observing rounding modes properly for fadd.



git-svn-id: svn://svn.valgrind.org/valgrind/trunk@5612 a5019735-40e9-0310-863c-91ae7b9d1cf9
pc32/Makefile.am
pc32/xlc_dbl_u32.c
pc32/xlc_dbl_u32.stderr.exp
pc32/xlc_dbl_u32.stdout.exp
pc32/xlc_dbl_u32.vgtest
ba04c1ba5ef3a5582a2b6157acf7ae228674bea5 29-Jan-2006 sewardj <sewardj@a5019735-40e9-0310-863c-91ae7b9d1cf9> Bring these tests into operation.


git-svn-id: svn://svn.valgrind.org/valgrind/trunk@5602 a5019735-40e9-0310-863c-91ae7b9d1cf9
pc32/Makefile.am
pc32/test_fx.stderr.exp
pc32/test_fx.stdout.exp
pc32/test_fx.vgtest
pc32/test_gx.c
pc32/test_gx.stderr.exp
pc32/test_gx.stdout.exp
pc32/test_gx.vgtest
258160c87f509f81d716c3d48630fb646d726120 29-Jan-2006 sewardj <sewardj@a5019735-40e9-0310-863c-91ae7b9d1cf9> Add test cases for soem FX (general-purpose) and GX (graphics) optional insns.



git-svn-id: svn://svn.valgrind.org/valgrind/trunk@5601 a5019735-40e9-0310-863c-91ae7b9d1cf9
pc32/test_fx.c
pc32/test_gx.c
ce0709416daeab8ae0238053d365e8db9f674f1f 28-Jan-2006 sewardj <sewardj@a5019735-40e9-0310-863c-91ae7b9d1cf9> Check lsw/stsw insns in 64-bit mode.


git-svn-id: svn://svn.valgrind.org/valgrind/trunk@5599 a5019735-40e9-0310-863c-91ae7b9d1cf9
pc64/Makefile.am
pc64/lsw.c
pc64/lsw.stderr.exp
pc64/lsw.stdout.exp
pc64/lsw.vgtest
b5b6311a5312378c0129587d0dc0b255188a1d53 24-Jan-2006 sewardj <sewardj@a5019735-40e9-0310-863c-91ae7b9d1cf9> Don't build the Altivec constant tables unless Altivec instruction
tests have been requested.



git-svn-id: svn://svn.valgrind.org/valgrind/trunk@5592 a5019735-40e9-0310-863c-91ae7b9d1cf9
pc32/jm-insns.c
811f02ea7a277d74f1d316372b9c3b06b374fe99 20-Jan-2006 sewardj <sewardj@a5019735-40e9-0310-863c-91ae7b9d1cf9> Yet another possible output, due to trivial differences in backtraces.
This is getting rediculous. We need a better way to compare
backtraces in regression test outputs.



git-svn-id: svn://svn.valgrind.org/valgrind/trunk@5575 a5019735-40e9-0310-863c-91ae7b9d1cf9
akefile.am
dleak_cmsg.stderr.exp4
8215ffac992618b5f50dab8d258a5a7813e05659 20-Jan-2006 sewardj <sewardj@a5019735-40e9-0310-863c-91ae7b9d1cf9> Forgot to svn add this.


git-svn-id: svn://svn.valgrind.org/valgrind/trunk@5572 a5019735-40e9-0310-863c-91ae7b9d1cf9
remap2.stdout.exp2
7c01859c190613f313f57fc4b1c6bb14124b00c7 19-Jan-2006 sewardj <sewardj@a5019735-40e9-0310-863c-91ae7b9d1cf9> - Make this work on systems where the stack is non executable:
put the to-be-modified insns in an mmap'd page

- Clarify init_function a bit (does not change what it does)



git-svn-id: svn://svn.valgrind.org/valgrind/trunk@5567 a5019735-40e9-0310-863c-91ae7b9d1cf9
pc32/jm-insns.c
0a3490b8e459f884eff44469e40bcd8e8af30860 19-Jan-2006 sewardj <sewardj@a5019735-40e9-0310-863c-91ae7b9d1cf9> Wibble.


git-svn-id: svn://svn.valgrind.org/valgrind/trunk@5566 a5019735-40e9-0310-863c-91ae7b9d1cf9
dleak_socketpair.stderr.exp2
80d9eac3f6de3cfb740453193658338429e69071 19-Jan-2006 sewardj <sewardj@a5019735-40e9-0310-863c-91ae7b9d1cf9> More __libc_start_main -> "(below_main)" changes.


git-svn-id: svn://svn.valgrind.org/valgrind/trunk@5564 a5019735-40e9-0310-863c-91ae7b9d1cf9
dleak_creat.stderr.exp
dleak_dup.stderr.exp
dleak_dup2.stderr.exp
dleak_fcntl.stderr.exp
dleak_open.stderr.exp
dleak_pipe.stderr.exp
dleak_socketpair.stderr.exp
2da8f33dc862ae3139b4c2294fd3a263e08bb042 19-Jan-2006 sewardj <sewardj@a5019735-40e9-0310-863c-91ae7b9d1cf9> Update with new expected outputs.


git-svn-id: svn://svn.valgrind.org/valgrind/trunk@5563 a5019735-40e9-0310-863c-91ae7b9d1cf9
akefile.am
33afdb5127da66fc776f2cdcda8c6a0094bf21f5 17-Jan-2006 sewardj <sewardj@a5019735-40e9-0310-863c-91ae7b9d1cf9> Change the default --trace-notbelow= number from zero to infinity,
effectively, since that's a more useful default.



git-svn-id: svn://svn.valgrind.org/valgrind/trunk@5539 a5019735-40e9-0310-863c-91ae7b9d1cf9
mdline2.stdout.exp
0ec07f32bbbb209d749b9974408e6f025ad40b31 12-Jan-2006 sewardj <sewardj@a5019735-40e9-0310-863c-91ae7b9d1cf9> Merge in function wrapping support from the FNWRAP branch. That
branch hereby becomes inactive. This currently breaks everything
except x86; fixes for amd64/ppc32 to follow.



git-svn-id: svn://svn.valgrind.org/valgrind/trunk@5520 a5019735-40e9-0310-863c-91ae7b9d1cf9
mdline2.stdout.exp
3a699b865cf0bdf5deb5246eb07b3fd3be893288 04-Jan-2006 sewardj <sewardj@a5019735-40e9-0310-863c-91ae7b9d1cf9> amd64-linux adjustments as a followup to r5493.


git-svn-id: svn://svn.valgrind.org/valgrind/trunk@5494 a5019735-40e9-0310-863c-91ae7b9d1cf9
md64/Makefile.am
01262145df78ed864f0b638cbb4433a3398c2555 04-Jan-2006 sewardj <sewardj@a5019735-40e9-0310-863c-91ae7b9d1cf9> Somewhat rehash the biarch-build machinery so as to (1) formalise the
distinction between primary and secondary build targets, and (2) make
it independent of the default behaviour of gcc (iow, what gcc does
when you specify neither -m32 nor -m64).

As a result, an out-of-the-box build on ppc64-linux now builds a
system which is basically for 64-bit PowerPC, but also has the ability
to run 32-bit ppc-linux binaries (exactly the same arrangement as you
get when building on amd64-linux).

There are various twists and turns. multiple-architectures.txt is
updated all the gory details.

This will break amd64 builds until such time as
<tool>/tests/{amd64,x86}/Makefile.am are fixed up (shortly).



git-svn-id: svn://svn.valgrind.org/valgrind/trunk@5493 a5019735-40e9-0310-863c-91ae7b9d1cf9
akefile.am
pc32/Makefile.am
pc64/Makefile.am
cea9ae4e8331f65956f77379105fb8095347ff93 03-Jan-2006 cerion <cerion@a5019735-40e9-0310-863c-91ae7b9d1cf9> Add ppc64 int,fp,vmx regtest: jm-insns
(test code is a symlink to ppc32/jm-insns.c)



git-svn-id: svn://svn.valgrind.org/valgrind/trunk@5488 a5019735-40e9-0310-863c-91ae7b9d1cf9
pc64/Makefile.am
pc64/filter_stderr
pc64/jm-fp.stderr.exp
pc64/jm-fp.stdout.exp
pc64/jm-fp.vgtest
pc64/jm-insns.c
pc64/jm-int.stderr.exp
pc64/jm-int.stdout.exp
pc64/jm-int.vgtest
pc64/jm-vmx.stderr.exp
pc64/jm-vmx.stdout.exp
pc64/jm-vmx.vgtest
a2a583876ee4197d0284960aeb594dc75bce2f09 03-Jan-2006 cerion <cerion@a5019735-40e9-0310-863c-91ae7b9d1cf9> Update ppc32 jm-insns regtest to test ppc64 insns, if built with -m64.



git-svn-id: svn://svn.valgrind.org/valgrind/trunk@5487 a5019735-40e9-0310-863c-91ae7b9d1cf9
pc32/jm-insns.c
b8efd2a1d18b2e2293527db3c8262f196008ffbe 03-Jan-2006 cerion <cerion@a5019735-40e9-0310-863c-91ae7b9d1cf9> regtest none::ppc32
- More cleanup
- Fixed rlwimi test - init r_dst to zero.
- Fixed load/store tests - print change in updated base reg, not actual value.



git-svn-id: svn://svn.valgrind.org/valgrind/trunk@5486 a5019735-40e9-0310-863c-91ae7b9d1cf9
pc32/jm-fp.stdout.exp
pc32/jm-insns.c
pc32/jm-int.stdout.exp
52675269f43c06380b04bf502c509cca4ee643b6 24-Dec-2005 cerion <cerion@a5019735-40e9-0310-863c-91ae7b9d1cf9> Tidy up ppc32 jm-insns test some more.
In particular, hide the function pointer setup stuff, for the test loops, in init_function()



git-svn-id: svn://svn.valgrind.org/valgrind/trunk@5428 a5019735-40e9-0310-863c-91ae7b9d1cf9
pc32/jm-insns.c
pc32/jm-int.stdout.exp
8a43f81f6e42d3407ae9649a5b5c9ff801abdbe0 23-Dec-2005 cerion <cerion@a5019735-40e9-0310-863c-91ae7b9d1cf9> Tidied up jm-insns.c test a little.



git-svn-id: svn://svn.valgrind.org/valgrind/trunk@5417 a5019735-40e9-0310-863c-91ae7b9d1cf9
pc32/jm-insns.c
pc32/jm-int.stdout.exp
bcd75fcb80c13b9828a4c33b0d7acf1499e14135 19-Dec-2005 njn <njn@a5019735-40e9-0310-863c-91ae7b9d1cf9> Remove all remaining profiling gunk.



git-svn-id: svn://svn.valgrind.org/valgrind/trunk@5388 a5019735-40e9-0310-863c-91ae7b9d1cf9
mdline2.stdout.exp
586fb038935723146cb6950b38911aeb9fc12765 14-Dec-2005 cerion <cerion@a5019735-40e9-0310-863c-91ae7b9d1cf9> Added fp regtest
- needed some hackery to get around VEX's loss of accuracy.

------------------------------
Added test for fsqrt (fp square root)

Enabled stfs(u)(x) (fp single-precision stores)
- VEX implementation not great: ends up rounding twice, losing
accuracy, but is good enough for this test's small fp argument array.

Changed fp arg setup
- no denormals (for VEX inaccuracy)

All fp tests
- don't print CR, XER flags, as VEX doesn't set them.

3 arg fp arith tests (fp 'multiply and add' etc)
- no 'special' fp vals (for VEX inaccuracy)
- zap lo byte (for VEX inaccuracy)

fctiw, fctiwz (fp convert to int)
- zap high 32bits of result (is undefined)




git-svn-id: svn://svn.valgrind.org/valgrind/trunk@5344 a5019735-40e9-0310-863c-91ae7b9d1cf9
pc32/Makefile.am
pc32/jm-fp.stderr.exp
pc32/jm-fp.stdout.exp
pc32/jm-fp.vgtest
pc32/jm-insns.c
57c3e5d80627eb327f15e059f85ecef735159ab5 14-Dec-2005 cerion <cerion@a5019735-40e9-0310-863c-91ae7b9d1cf9> Changed jm_insns.c usage to use one of flags 'i|f|a' to run int|fp|av insns respectively.
Removed integer test insns for jm-vmx.vgtest - already tested in jm-int.vgtest



git-svn-id: svn://svn.valgrind.org/valgrind/trunk@5343 a5019735-40e9-0310-863c-91ae7b9d1cf9
pc32/Makefile.am
pc32/jm-insns.c
pc32/jm-insns.stderr.exp
pc32/jm-insns.stdout.exp
pc32/jm-insns.vgtest
pc32/jm-int.stderr.exp
pc32/jm-int.stdout.exp
pc32/jm-int.vgtest
pc32/jm-vmx.stdout.exp
cfe949112586ed0423a6064ae91ad3046f282869 02-Dec-2005 cerion <cerion@a5019735-40e9-0310-863c-91ae7b9d1cf9> Added explanation of insn patching used in ppc32 test jm-insns.



git-svn-id: svn://svn.valgrind.org/valgrind/trunk@5272 a5019735-40e9-0310-863c-91ae7b9d1cf9
pc32/jm-insns.c
c08c8c576fc16d32e6e572927d06b6dfae476e4d 02-Dec-2005 cerion <cerion@a5019735-40e9-0310-863c-91ae7b9d1cf9> Added tests for ppc32 floating point load/stores
- not yet set to run in automated test.



git-svn-id: svn://svn.valgrind.org/valgrind/trunk@5267 a5019735-40e9-0310-863c-91ae7b9d1cf9
pc32/jm-insns.c
d0220c192d42ebc3303f08040f6ec09fa97ab3ad 29-Nov-2005 sewardj <sewardj@a5019735-40e9-0310-863c-91ae7b9d1cf9> Add directories missed in r5250 (ppc64 first checkin).


git-svn-id: svn://svn.valgrind.org/valgrind/trunk@5251 a5019735-40e9-0310-863c-91ae7b9d1cf9
pc64/Makefile.am
2c48c7b0a453d32375a4df17e153011b797ef28c 29-Nov-2005 sewardj <sewardj@a5019735-40e9-0310-863c-91ae7b9d1cf9> Add framework for ppc64 support. Apologies in advance for the
inevitable breakage to other platforms.



git-svn-id: svn://svn.valgrind.org/valgrind/trunk@5250 a5019735-40e9-0310-863c-91ae7b9d1cf9
akefile.am
f811097dbc6be6e2f38b314ea8b41932e82dcbde 29-Nov-2005 cerion <cerion@a5019735-40e9-0310-863c-91ae7b9d1cf9> Stop gcc4 complaints re ppc32 test - Moved all declarations in front of statements.
Based on patch from Yao Qi <qiyaoltc@cn.ibm.com>.



git-svn-id: svn://svn.valgrind.org/valgrind/trunk@5247 a5019735-40e9-0310-863c-91ae7b9d1cf9
pc32/jm-insns.c
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
86/Makefile.am
86/yield.disabled
86/yield.vgtest
20eb26d11706161d3186ccf9c5bffa1a803e2771 23-Nov-2005 sewardj <sewardj@a5019735-40e9-0310-863c-91ae7b9d1cf9> Fix build system bug causing omission of some ppc32 test files from
the tarball.


git-svn-id: svn://svn.valgrind.org/valgrind/trunk@5230 a5019735-40e9-0310-863c-91ae7b9d1cf9
pc32/Makefile.am
664c85989cc01a6885489b299d849eecab53abbe 19-Nov-2005 sewardj <sewardj@a5019735-40e9-0310-863c-91ae7b9d1cf9> Don't test division by zero; 7400 doesn't do what 970/7447 do.


git-svn-id: svn://svn.valgrind.org/valgrind/trunk@5214 a5019735-40e9-0310-863c-91ae7b9d1cf9
pc32/jm-insns.c
pc32/jm-insns.stdout.exp
pc32/jm-vmx.stdout.exp
0e5c1ef03608e0952f7e61b9c9f8627d750a2ad3 19-Nov-2005 sewardj <sewardj@a5019735-40e9-0310-863c-91ae7b9d1cf9> Update expected outputs.


git-svn-id: svn://svn.valgrind.org/valgrind/trunk@5213 a5019735-40e9-0310-863c-91ae7b9d1cf9
pc32/jm-insns.stdout.exp
pc32/jm-vmx.stdout.exp
fdeaa95698883fa09d0abefa4511cfab6466e316 19-Nov-2005 sewardj <sewardj@a5019735-40e9-0310-863c-91ae7b9d1cf9> Another m{t,f}{xer,lr,ctr} simplification.


git-svn-id: svn://svn.valgrind.org/valgrind/trunk@5212 a5019735-40e9-0310-863c-91ae7b9d1cf9
pc32/jm-insns.c
941051f9c5677a9ab62f9ccf82a124cbc0bbb5ba 19-Nov-2005 sewardj <sewardj@a5019735-40e9-0310-863c-91ae7b9d1cf9> Test m{t,f}{xer,lr,ctr} in a simpler way.


git-svn-id: svn://svn.valgrind.org/valgrind/trunk@5211 a5019735-40e9-0310-863c-91ae7b9d1cf9
pc32/jm-insns.c
e70e7c28cdbc784bc1d2eec15513fd56af0f780d 19-Nov-2005 sewardj <sewardj@a5019735-40e9-0310-863c-91ae7b9d1cf9> If we're doing an estimation operation, arrange to zap the bottom byte
of the result as it's basically garbage, and differs between cpus.



git-svn-id: svn://svn.valgrind.org/valgrind/trunk@5210 a5019735-40e9-0310-863c-91ae7b9d1cf9
pc32/jm-insns.c
b05b0ddc7bd5d988eaa53ad2313a15e93fc7ed50 19-Nov-2005 sewardj <sewardj@a5019735-40e9-0310-863c-91ae7b9d1cf9> Update expected output.


git-svn-id: svn://svn.valgrind.org/valgrind/trunk@5209 a5019735-40e9-0310-863c-91ae7b9d1cf9
pc32/jm-vmx.stdout.exp
81aab3c751b11fcfa6629b449c92bd7e3f459567 19-Nov-2005 sewardj <sewardj@a5019735-40e9-0310-863c-91ae7b9d1cf9> Fix up the test program so it behaves the same on different CPUs (when run
natively):

- register_vfarg: stuff bits directly into vector, don't go via float
as that screws up NaNs somehow on MPC7447

- test_av_int_ld_two_regs: lve{b,h,w}x: mask off bits of the result
register which are undefined after the load

- test_av_int_st_three_regs: fix result vector size



git-svn-id: svn://svn.valgrind.org/valgrind/trunk@5208 a5019735-40e9-0310-863c-91ae7b9d1cf9
pc32/jm-insns.c
57778621b9d85c82fcb5185ba146add1715c5432 19-Nov-2005 sewardj <sewardj@a5019735-40e9-0310-863c-91ae7b9d1cf9> Fix this so that it compiles with gcc4 by writing the test fns
completely in assembly (for those that require literals to be
changed).



git-svn-id: svn://svn.valgrind.org/valgrind/trunk@5207 a5019735-40e9-0310-863c-91ae7b9d1cf9
pc32/jm-insns.c
2fa01f16ca045c4cf4cbee8a26549e422865a1f7 19-Nov-2005 sewardj <sewardj@a5019735-40e9-0310-863c-91ae7b9d1cf9> Add a few missing regtest outputs.


git-svn-id: svn://svn.valgrind.org/valgrind/trunk@5203 a5019735-40e9-0310-863c-91ae7b9d1cf9
akefile.am
1b6b2b3e62549edc02744bbc149c74bcc043835e 18-Nov-2005 cerion <cerion@a5019735-40e9-0310-863c-91ae7b9d1cf9> Changed altivec floating point setup to Java/IEEE mode
- Non-Java mode is the system default, but was causing some accuracy problems by rounding off intermediate denormalised results to zero.
We now have some small errors (lowest bit only) due to using greater accuracy than the system default, but is better overall.

Also expanded dispatcher check of FPSCR to include all contol bits




git-svn-id: svn://svn.valgrind.org/valgrind/trunk@5196 a5019735-40e9-0310-863c-91ae7b9d1cf9
pc32/jm-insns.c
0ba33f6dec469510016a3383c03ff7c352820427 18-Nov-2005 tom <tom@a5019735-40e9-0310-863c-91ae7b9d1cf9> Last of the __libc_start_main fixes.


git-svn-id: svn://svn.valgrind.org/valgrind/trunk@5188 a5019735-40e9-0310-863c-91ae7b9d1cf9
dleak_dup.stderr.exp2
dleak_socketpair.stderr.exp2
605da885a69e7cbce98de4625435e3a67f344f29 18-Nov-2005 tom <tom@a5019735-40e9-0310-863c-91ae7b9d1cf9> More __libc_start_main updates.


git-svn-id: svn://svn.valgrind.org/valgrind/trunk@5184 a5019735-40e9-0310-863c-91ae7b9d1cf9
dleak_creat.stderr.exp
dleak_dup.stderr.exp
dleak_dup2.stderr.exp
dleak_dup2.stderr.exp2
dleak_fcntl.stderr.exp
dleak_fcntl.stderr.exp2
dleak_fcntl.stderr.exp3
dleak_open.stderr.exp
dleak_pipe.stderr.exp
dleak_socketpair.stderr.exp2
8f5fc19da719edcd8dfca920837bde7ce1d3acca 16-Nov-2005 cerion <cerion@a5019735-40e9-0310-863c-91ae7b9d1cf9> Added tests for latest altivec fp insns
Fixed fp nan argument values
Fixed setting of non-java bit in VSCR to be on for all cases.




git-svn-id: svn://svn.valgrind.org/valgrind/trunk@5151 a5019735-40e9-0310-863c-91ae7b9d1cf9
pc32/jm-insns.c
pc32/jm-vmx.stdout.exp
05cf1ebf06561a8b59adae508e7c4bf6c028ee5b 14-Nov-2005 cerion <cerion@a5019735-40e9-0310-863c-91ae7b9d1cf9> Added tests for altivec load/stores
Enabled altivec float tests



git-svn-id: svn://svn.valgrind.org/valgrind/trunk@5122 a5019735-40e9-0310-863c-91ae7b9d1cf9
pc32/jm-insns.c
pc32/jm-vmx.stdout.exp
b3eb91bab95bd2d521848510e0b59b4daa49fe73 14-Nov-2005 cerion <cerion@a5019735-40e9-0310-863c-91ae7b9d1cf9> comment out altivec tests for unsupported insns



git-svn-id: svn://svn.valgrind.org/valgrind/trunk@5120 a5019735-40e9-0310-863c-91ae7b9d1cf9
pc32/jm-insns.c
00cfcfc962cc3a377cdc7a6e0ec2ea9de4f26e61 12-Nov-2005 njn <njn@a5019735-40e9-0310-863c-91ae7b9d1cf9> Don't imply that the --tool option is mandatory.



git-svn-id: svn://svn.valgrind.org/valgrind/trunk@5100 a5019735-40e9-0310-863c-91ae7b9d1cf9
mdline1.stdout.exp
mdline2.stdout.exp
628add6061c08b1e93562bd5559e40f6d158bbb6 12-Nov-2005 njn <njn@a5019735-40e9-0310-863c-91ae7b9d1cf9> Rename --simulation-hints as --sim-hints for brevity.



git-svn-id: svn://svn.valgrind.org/valgrind/trunk@5099 a5019735-40e9-0310-863c-91ae7b9d1cf9
mdline1.stdout.exp
mdline2.stdout.exp
b6d05e65adc850a7399916ffec02e89d08728c17 12-Nov-2005 tom <tom@a5019735-40e9-0310-863c-91ae7b9d1cf9> Use the amd64 tests on amd64 not the x86 ones...


git-svn-id: svn://svn.valgrind.org/valgrind/trunk@5097 a5019735-40e9-0310-863c-91ae7b9d1cf9
md64/insn_basic.vgtest
md64/insn_fpu.vgtest
md64/insn_mmx.vgtest
md64/insn_sse.vgtest
md64/insn_sse2.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
md64/insn_basic.stderr.exp
md64/insn_basic.vgtest
md64/insn_fpu.stderr.exp
md64/insn_fpu.vgtest
md64/insn_mmx.stderr.exp
md64/insn_mmx.vgtest
md64/insn_sse.stderr.exp
md64/insn_sse.vgtest
md64/insn_sse2.stderr.exp
md64/insn_sse2.vgtest
86/Makefile.am
86/insn_basic.stderr.exp
86/insn_basic.vgtest
86/insn_cmov.stderr.exp
86/insn_cmov.vgtest
86/insn_fpu.stderr.exp
86/insn_fpu.vgtest
86/insn_mmx.stderr.exp
86/insn_mmx.vgtest
86/insn_mmxext.stderr.exp
86/insn_mmxext.vgtest
86/insn_sse.stderr.exp
86/insn_sse.vgtest
86/insn_sse2.stderr.exp
86/insn_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
86/Makefile.am
530f73578552bc876a51fbf90cb6be29769bb362 11-Nov-2005 sewardj <sewardj@a5019735-40e9-0310-863c-91ae7b9d1cf9> Stop gcc4 complaining about pointer signedness mismatches.


git-svn-id: svn://svn.valgrind.org/valgrind/trunk@5085 a5019735-40e9-0310-863c-91ae7b9d1cf9
pc32/jm-insns.c
e13d5cfa2dae80f2524beb0a644cc4e49f73c07b 11-Nov-2005 sewardj <sewardj@a5019735-40e9-0310-863c-91ae7b9d1cf9> Another Altivec test program.


git-svn-id: svn://svn.valgrind.org/valgrind/trunk@5078 a5019735-40e9-0310-863c-91ae7b9d1cf9
pc32/Makefile.am
pc32/testVMX.c
pc32/testVMX.stderr.exp
pc32/testVMX.stdout.exp
pc32/testVMX.vgtest
a29a9081631d4af1d07e5e66cdfc870e971f998f 10-Nov-2005 sewardj <sewardj@a5019735-40e9-0310-863c-91ae7b9d1cf9> Add instruction-set tests for ppc32 (integer, FP, altivec).


git-svn-id: svn://svn.valgrind.org/valgrind/trunk@5075 a5019735-40e9-0310-863c-91ae7b9d1cf9
pc32/Makefile.am
pc32/jm-insns.c
pc32/jm-insns.stderr.exp
pc32/jm-insns.stdout.exp
pc32/jm-insns.vgtest
pc32/jm-vmx.stderr.exp
pc32/jm-vmx.stdout.exp
pc32/jm-vmx.vgtest
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
86/faultstatus.c
7276f3a73706b95561f9d4195cb5b0196c8c1d36 10-Nov-2005 sewardj <sewardj@a5019735-40e9-0310-863c-91ae7b9d1cf9> filter_linenos was not making it into tarballs.


git-svn-id: svn://svn.valgrind.org/valgrind/trunk@5063 a5019735-40e9-0310-863c-91ae7b9d1cf9
akefile.am
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
86/seg_override.stdout.exp
3c3f0c11a00ef5a93ca070e58cb64ac61a257cb0 08-Nov-2005 sewardj <sewardj@a5019735-40e9-0310-863c-91ae7b9d1cf9> Document the --kernel-variant= option.


git-svn-id: svn://svn.valgrind.org/valgrind/trunk@5040 a5019735-40e9-0310-863c-91ae7b9d1cf9
mdline1.stdout.exp
mdline2.stdout.exp
23e40f8a276d73c37ae72731d9714d7ba7d1ea92 07-Nov-2005 njn <njn@a5019735-40e9-0310-863c-91ae7b9d1cf9> Run the right regression tests...



git-svn-id: svn://svn.valgrind.org/valgrind/trunk@5026 a5019735-40e9-0310-863c-91ae7b9d1cf9
hell_valid2.vgtest
hell_valid3.vgtest
95f9ed651057e58dfb44144dd19ce79c887323b3 06-Nov-2005 tom <tom@a5019735-40e9-0310-863c-91ae7b9d1cf9> Add tests for 64 bit instructions.


git-svn-id: svn://svn.valgrind.org/valgrind/trunk@5024 a5019735-40e9-0310-863c-91ae7b9d1cf9
md64/gen_insn_test.pl
md64/insn_basic.def
md64/insn_basic.stdout.exp
516fd461977371484c0c0374bcec6830e1944bc9 05-Nov-2005 tom <tom@a5019735-40e9-0310-863c-91ae7b9d1cf9> Sync sse2 tests from x86 to amd64.


git-svn-id: svn://svn.valgrind.org/valgrind/trunk@5017 a5019735-40e9-0310-863c-91ae7b9d1cf9
md64/insn_sse2.def
6a181614a525dfee300ca2da9a7e81e20f9e0434 05-Nov-2005 sewardj <sewardj@a5019735-40e9-0310-863c-91ae7b9d1cf9> Add test cases for amd64 vector FP unordered compares.


git-svn-id: svn://svn.valgrind.org/valgrind/trunk@5016 a5019735-40e9-0310-863c-91ae7b9d1cf9
md64/insn_sse.def
md64/insn_sse.stdout.exp
md64/insn_sse2.def
md64/insn_sse2.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
86/insn_sse.stdout.exp
86/insn_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
86/insn_sse.def
86/insn_sse2.def
c8d121fa78acc3b14279d304e87d49f675b7f35c 05-Nov-2005 tom <tom@a5019735-40e9-0310-863c-91ae7b9d1cf9> Enable tests for shld/shrd instructions which are now supported on amd64.


git-svn-id: svn://svn.valgrind.org/valgrind/trunk@5011 a5019735-40e9-0310-863c-91ae7b9d1cf9
md64/insn_basic.def
md64/insn_basic.stdout.exp
7559dbcc5d5a1e498f5c52dac91cf5ebb7396e04 04-Nov-2005 sewardj <sewardj@a5019735-40e9-0310-863c-91ae7b9d1cf9> Test shrd/shld.



git-svn-id: svn://svn.valgrind.org/valgrind/trunk@5009 a5019735-40e9-0310-863c-91ae7b9d1cf9
md64/Makefile.am
md64/shrld.c
md64/shrld.stderr.exp
md64/shrld.stdout.exp
md64/shrld.vgtest
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
86/insn_basic.def
86/insn_basic.stdout.exp
1565bcef966404ded5af7a3113c47dc09afc9eb9 04-Nov-2005 tom <tom@a5019735-40e9-0310-863c-91ae7b9d1cf9> Add an insn_basic test for amd64. This is based on the x86 one so
doesn't test any 64 bit operations yet.


git-svn-id: svn://svn.valgrind.org/valgrind/trunk@5005 a5019735-40e9-0310-863c-91ae7b9d1cf9
md64/Makefile.am
md64/insn_basic.def
md64/insn_basic.stderr.exp
md64/insn_basic.stdout.exp
md64/insn_basic.vgtest
bbe14b13426aa632726b18685eb4f1190e0dca52 04-Nov-2005 tom <tom@a5019735-40e9-0310-863c-91ae7b9d1cf9> Fix up references to log files names containing "pid" in them and
a few other related items. Patch from James Begley <james@hafro.is>.


git-svn-id: svn://svn.valgrind.org/valgrind/trunk@5004 a5019735-40e9-0310-863c-91ae7b9d1cf9
mdline1.stdout.exp
mdline2.stdout.exp
7fb9df9eb24e2f86729d2f7ccdf1042f6f2e69bd 04-Nov-2005 tom <tom@a5019735-40e9-0310-863c-91ae7b9d1cf9> Allow rax/rbx/rcx/rdx (and their narrower counterparts) to be used
again but only after the high registers are exhausted or (and this is
the important point) if they are explicitly requested.

Also, don't use r8 as it confuses things as we can't tell an explicit
request from a generic request for a byte register.


git-svn-id: svn://svn.valgrind.org/valgrind/trunk@5003 a5019735-40e9-0310-863c-91ae7b9d1cf9
md64/gen_insn_test.pl
78a8fecdaf87903644a088db2a1dbd437ff6999f 04-Nov-2005 tom <tom@a5019735-40e9-0310-863c-91ae7b9d1cf9> Fix the amd64 version of gen_insn_test.pl to strip any b/w/d suffix
from register names when generating the clobber list as gcc won't
recognise things like r8d but will recognise r8.

This allows us to use the high number integer registers for the tests
which is something Julian asked for ages ago.


git-svn-id: svn://svn.valgrind.org/valgrind/trunk@5002 a5019735-40e9-0310-863c-91ae7b9d1cf9
md64/gen_insn_test.pl
be622ec7d81572e1c6572e380a8b14be26df5a00 04-Nov-2005 sewardj <sewardj@a5019735-40e9-0310-863c-91ae7b9d1cf9> Also test jecxz.


git-svn-id: svn://svn.valgrind.org/valgrind/trunk@5001 a5019735-40e9-0310-863c-91ae7b9d1cf9
md64/jrcxz.c
md64/jrcxz.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
md64/Makefile.am
md64/faultstatus.c
md64/faultstatus.stderr.exp
md64/faultstatus.vgtest
aultstatus.c
aultstatus.stderr.exp
86/Makefile.am
86/faultstatus.c
86/faultstatus.stderr.exp
86/faultstatus.vgtest
b8abe822af7a7407d7578173097d41f1b96847ac 02-Nov-2005 tom <tom@a5019735-40e9-0310-863c-91ae7b9d1cf9> Remove the as_mmap and as_shm tests which don't make much sense since
the address space manager was rewritten.


git-svn-id: svn://svn.valgrind.org/valgrind/trunk@4991 a5019735-40e9-0310-863c-91ae7b9d1cf9
akefile.am
s_mmap.c
s_mmap.stderr.exp
s_mmap.stderr.exp2
s_mmap.vgtest
s_shm.c
s_shm.stderr.exp
s_shm.stdout.exp
s_shm.vgtest
ilter_as_mmap
0d159448579be0c7579c961712369bc11f650169 02-Nov-2005 tom <tom@a5019735-40e9-0310-863c-91ae7b9d1cf9> Don't give the heap execute permission - the linux kernel doesn't
normally give execute permission to memory allocated from the heap
with sbrk.

This also required fixing the smc1 test for amd64 to use mmap to
allocate memory so that it can have execute permission.


git-svn-id: svn://svn.valgrind.org/valgrind/trunk@4983 a5019735-40e9-0310-863c-91ae7b9d1cf9
md64/smc1.c
2e9f3f3c8c9dac8a960cd8064d72863915f749a7 26-Oct-2005 njn <njn@a5019735-40e9-0310-863c-91ae7b9d1cf9> The version string from --version was being printed to stderr. This
commit fixes it to print to stdout. I added a regression test for this.



git-svn-id: svn://svn.valgrind.org/valgrind/trunk@4969 a5019735-40e9-0310-863c-91ae7b9d1cf9
akefile.am
mdline0.stderr.exp
mdline0.stdout.exp
mdline0.vgtest
ilter_cmdline0
74b4cca0cbe20aa94daadd8afba0ba37fbd82084 20-Oct-2005 sewardj <sewardj@a5019735-40e9-0310-863c-91ae7b9d1cf9> Remove all remaining references to pointercheck. It's sad to see it
go, but realistically we can't implement it portably, at least without
considerable performance overhead and some additional complexity.



git-svn-id: svn://svn.valgrind.org/valgrind/trunk@4956 a5019735-40e9-0310-863c-91ae7b9d1cf9
mdline1.stdout.exp
mdline2.stdout.exp
19617ae5ba420da54f286aaf1ecceafeec6b766a 20-Oct-2005 sewardj <sewardj@a5019735-40e9-0310-863c-91ae7b9d1cf9> The Spin-Doctor arrives in Valgrind-Land: rename --weird-hacks= to
--simulation-hints=. Bwaha.



git-svn-id: svn://svn.valgrind.org/valgrind/trunk@4955 a5019735-40e9-0310-863c-91ae7b9d1cf9
mdline1.stdout.exp
mdline2.stdout.exp
8b43555f6bbb538fbaafb7158b1a46ef8f77c391 20-Oct-2005 sewardj <sewardj@a5019735-40e9-0310-863c-91ae7b9d1cf9> Fix make dist (seems to work, but am unsure if this is the right fix).


git-svn-id: svn://svn.valgrind.org/valgrind/trunk@4949 a5019735-40e9-0310-863c-91ae7b9d1cf9
akefile.am
20b4a1567e23d84959c22269f2398e02a5462a00 20-Oct-2005 njn <njn@a5019735-40e9-0310-863c-91ae7b9d1cf9> Make the usage message a little neater and more self-consistent.



git-svn-id: svn://svn.valgrind.org/valgrind/trunk@4948 a5019735-40e9-0310-863c-91ae7b9d1cf9
mdline1.stdout.exp
mdline2.stdout.exp
746f02cca39bb3fb4d300d01097b93f69e65490f 15-Oct-2005 njn <njn@a5019735-40e9-0310-863c-91ae7b9d1cf9> Fix 'shell' for those lacking '.' in their $PATH, hopefully.



git-svn-id: svn://svn.valgrind.org/valgrind/trunk@4929 a5019735-40e9-0310-863c-91ae7b9d1cf9
hell
hell.stderr.exp
hell.stdout.exp
bfb22add40e699a946a2168842a632d8743e3cf1 15-Oct-2005 tom <tom@a5019735-40e9-0310-863c-91ae7b9d1cf9> Filter out line numbers from shell error messages.


git-svn-id: svn://svn.valgrind.org/valgrind/trunk@4928 a5019735-40e9-0310-863c-91ae7b9d1cf9
ilter_linenos
hell.vgtest
7375061f0ecd9534a27ade9bb4fbe47ddce41298 14-Oct-2005 njn <njn@a5019735-40e9-0310-863c-91ae7b9d1cf9> Overhaul the way programs are loaded at startup and exec() works. Now the
checking of programs done in these two places are combined, which avoids
duplicate code and greatly reduces the number of cases in which exec()
fails causing Valgrind to bomb out.

Also, we can now load some programs we could not previously, such as scripts
lacking a "#!" line at the start. Also, the startup failure messages for
bad programs match the shell's messages very closely.

And I added a whole bunch of regtests to test all this.




git-svn-id: svn://svn.valgrind.org/valgrind/trunk@4918 a5019735-40e9-0310-863c-91ae7b9d1cf9
akefile.am
mdline5.stderr.exp
mdline6.stderr.exp
hell
hell.stderr.exp
hell.stdout.exp
hell.vgtest
hell_badinterp
hell_badinterp.stderr.exp
hell_badinterp.vgtest
hell_binaryfile
hell_binaryfile.stderr.exp
hell_binaryfile.vgtest
hell_dir.stderr.exp
hell_dir.vgtest
hell_nonexec.stderr.exp
hell_nonexec.vgtest
hell_nosuchfile.stderr.exp
hell_nosuchfile.vgtest
hell_valid1
hell_valid1.stderr.exp
hell_valid1.vgtest
hell_valid2
hell_valid2.stderr.exp
hell_valid2.vgtest
hell_valid3
hell_valid3.stderr.exp
hell_valid3.vgtest
hell_zerolength
hell_zerolength.stderr.exp
hell_zerolength.vgtest
ae986ca7a64a534bc61ae88f9c333292b4865f6b 12-Oct-2005 sewardj <sewardj@a5019735-40e9-0310-863c-91ae7b9d1cf9> Build fixes for gcc-2.96. The system now builds and regtests with the
default gcc-2.96 on Red Hat 7.3.



git-svn-id: svn://svn.valgrind.org/valgrind/trunk@4911 a5019735-40e9-0310-863c-91ae7b9d1cf9
remap2.c
7528bd27267f043832093fa519c0b7d44b6df636 05-Oct-2005 sewardj <sewardj@a5019735-40e9-0310-863c-91ae7b9d1cf9> Test for jrcxz.


git-svn-id: svn://svn.valgrind.org/valgrind/trunk@4869 a5019735-40e9-0310-863c-91ae7b9d1cf9
md64/Makefile.am
md64/jrcxz.c
md64/jrcxz.stderr.exp
md64/jrcxz.stdout.exp
md64/jrcxz.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
86/Makefile.am
86/incdec_alt.c
86/incdec_alt.stderr.exp
86/incdec_alt.stdout.exp
86/incdec_alt.vgtest
86/lahf.c
86/lahf.stderr.exp
86/lahf.stdout.exp
86/lahf.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
86/insn_sse2.def
86/insn_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
86/insn_sse2.def
86/insn_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
86/Makefile.am
86/sbbmisc.c
86/sbbmisc.stderr.exp
86/sbbmisc.stdout.exp
86/sbbmisc.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
86/Makefile.am
86/fxtract.c
86/fxtract.stderr.exp
86/fxtract.stdout.exp
86/fxtract.vgtest
a0461a613643f6cbcb88d2e7297d19dd4c0715eb 28-Sep-2005 sewardj <sewardj@a5019735-40e9-0310-863c-91ae7b9d1cf9> Get rid of the "ioctl-mmap" weird-hack flag.


git-svn-id: svn://svn.valgrind.org/valgrind/trunk@4800 a5019735-40e9-0310-863c-91ae7b9d1cf9
mdline1.stdout.exp
mdline2.stdout.exp
a23e6c9a3ba38d0e6ad3396e853d5e9474f0c912 27-Sep-2005 njn <njn@a5019735-40e9-0310-863c-91ae7b9d1cf9> Fix scalar and cmdline[12].



git-svn-id: svn://svn.valgrind.org/valgrind/trunk@4790 a5019735-40e9-0310-863c-91ae7b9d1cf9
mdline1.stdout.exp
mdline2.stdout.exp
45f4e7c91119c7d01a59f5e827c67841632c9314 27-Sep-2005 sewardj <sewardj@a5019735-40e9-0310-863c-91ae7b9d1cf9> This commit merges in changes from branches/ASPACEM (specifically,
changes from r4341 through r4787 inclusive). That branch is now dead.
Please do not commit anything else to it.

For the most part the merge was not troublesome. The main areas of
uncertainty are:

- build system: I had to import by hand Makefile.core-AM_CPPFLAGS.am
and include it in a couple of places. Building etc seems to still
work, but I haven't tried building the documentation.

- syscall wrappers: Following analysis by Greg & Nick, a whole lot of
stuff was moved from -generic to -linux after the branch was created.
I think that is satisfactorily glued back together now.

- Regtests: although this appears to work, no .out files appear, which
is strange, and makes it hard to diagnose regtest failures. In
particular memcheck/tests/x86/scalar.stderr.exp remains in a
conflicted state.

- amd64 is broken (slightly), and ppc32 will be unbuildable. I'll
attend to the former shortly.



git-svn-id: svn://svn.valgrind.org/valgrind/trunk@4789 a5019735-40e9-0310-863c-91ae7b9d1cf9
akefile.am
s_mmap.stderr.exp
s_shm.stderr.exp
ap_unmap.c
remap2.c
remap2.stderr.exp
remap2.stdout.exp
remap2.vgtest
98b1407ea25b03f218ebbe4889d6a727d878cb0d 13-Sep-2005 njn <njn@a5019735-40e9-0310-863c-91ae7b9d1cf9> Remove unnecessary filter_* files for ppc32.



git-svn-id: svn://svn.valgrind.org/valgrind/trunk@4630 a5019735-40e9-0310-863c-91ae7b9d1cf9
pc32/Makefile.am
pc32/filter_cpuid
pc32/filter_int
e127c3ef0559b1c00d52a8b792fb6c15f15540a8 09-Sep-2005 sewardj <sewardj@a5019735-40e9-0310-863c-91ae7b9d1cf9> Fix register constraints to this works with both -O and without (David
Woodhouse).



git-svn-id: svn://svn.valgrind.org/valgrind/trunk@4614 a5019735-40e9-0310-863c-91ae7b9d1cf9
pc32/lsw.c
3a63e8c06348ca00ba8e2160bb4101df022743d8 09-Sep-2005 sewardj <sewardj@a5019735-40e9-0310-863c-91ae7b9d1cf9> Add a test for {l,st}sw{s,i}. At the moment only works when the program is
compiled -O due to inline assembly problems, and so it fails in a standard
'make regtest'.


git-svn-id: svn://svn.valgrind.org/valgrind/trunk@4613 a5019735-40e9-0310-863c-91ae7b9d1cf9
pc32/Makefile.am
pc32/lsw.c
pc32/lsw.stderr.exp
pc32/lsw.stdout.exp
pc32/lsw.vgtest
a08c785677b75d176cbec37c51171ec15d54055e 09-Sep-2005 sewardj <sewardj@a5019735-40e9-0310-863c-91ae7b9d1cf9> These seem to be needed to make regtesting work. Not sure why -- they are
identical to the x86 and amd64 ones.


git-svn-id: svn://svn.valgrind.org/valgrind/trunk@4612 a5019735-40e9-0310-863c-91ae7b9d1cf9
pc32/filter_cpuid
pc32/filter_int
pc32/filter_stderr
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
86/cmpxchg8b.c
dfaa496335d33baa3e44e982f7bda696bc97f9bb 24-Aug-2005 sewardj <sewardj@a5019735-40e9-0310-863c-91ae7b9d1cf9> Add tests for amd64 LOOP{,E,NE} insn.


git-svn-id: svn://svn.valgrind.org/valgrind/trunk@4482 a5019735-40e9-0310-863c-91ae7b9d1cf9
md64/Makefile.am
md64/looper.c
md64/looper.stderr.exp
md64/looper.stdout.exp
md64/looper.vgtest
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
86/Makefile.am
86/looper.c
86/looper.stderr.exp
86/looper.stdout.exp
86/looper.vgtest
ed321c16c0fb6c8dc02e3abaa918dc4d30b6be17 17-Aug-2005 njn <njn@a5019735-40e9-0310-863c-91ae7b9d1cf9> Hopefully fix a broken regtest.



git-svn-id: svn://svn.valgrind.org/valgrind/trunk@4438 a5019735-40e9-0310-863c-91ae7b9d1cf9
q.c
4fe49435ec00c44349004fe6312b3b0d6af3751c 16-Aug-2005 njn <njn@a5019735-40e9-0310-863c-91ae7b9d1cf9> Fixes for #110657, based on Jakub Jelinek's patch:
- filter out L3 warning messages so they don't break Cachegrind's regtests
- handle lack of mq support gracefully in mq.c



git-svn-id: svn://svn.valgrind.org/valgrind/trunk@4429 a5019735-40e9-0310-863c-91ae7b9d1cf9
q.c
ae4813bd4d4d532f6f8b479788c1038cb3770df1 15-Aug-2005 njn <njn@a5019735-40e9-0310-863c-91ae7b9d1cf9> Use the right Vex command line.

BACKPORT TO 3_0_X?



git-svn-id: svn://svn.valgrind.org/valgrind/trunk@4424 a5019735-40e9-0310-863c-91ae7b9d1cf9
elfrun.vgtest
68862f514d26b6062bd66b232f240b432a3a6ba0 14-Aug-2005 njn <njn@a5019735-40e9-0310-863c-91ae7b9d1cf9> Update for Vex.

BACKPORT TO 3_0_X?



git-svn-id: svn://svn.valgrind.org/valgrind/trunk@4405 a5019735-40e9-0310-863c-91ae7b9d1cf9
elfrun.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
86/Makefile.am
86/cmpxchg8b.c
86/cmpxchg8b.stderr.exp
86/cmpxchg8b.stdout.exp
86/cmpxchg8b.vgtest
d44ab28b538e14d577068f83b3e6954618b5a69f 01-Aug-2005 sewardj <sewardj@a5019735-40e9-0310-863c-91ae7b9d1cf9> Don't forget tls.vgtest in the final tarball.


git-svn-id: svn://svn.valgrind.org/valgrind/trunk@4298 a5019735-40e9-0310-863c-91ae7b9d1cf9
akefile.am
ce545557cb666095c20c934aa36391790ee61639 26-Jul-2005 njn <njn@a5019735-40e9-0310-863c-91ae7b9d1cf9> Recategorise options in the usage message.



git-svn-id: svn://svn.valgrind.org/valgrind/trunk@4256 a5019735-40e9-0310-863c-91ae7b9d1cf9
mdline1.stdout.exp
mdline2.stdout.exp
3448a1cf442425f279f6c1dbd87bb1e738507e4b 24-Jul-2005 sewardj <sewardj@a5019735-40e9-0310-863c-91ae7b9d1cf9> Don't claim that the --single-step= and --optimise= flags exist any
more. They have been replaced by --vex-guest-max-insns= and the
--vex-iropt-* flags.




git-svn-id: svn://svn.valgrind.org/valgrind/trunk@4241 a5019735-40e9-0310-863c-91ae7b9d1cf9
mdline2.stdout.exp
8637545b036ec3def92ef093009c9d9517060e39 24-Jul-2005 sewardj <sewardj@a5019735-40e9-0310-863c-91ae7b9d1cf9> --branchpred= doesn't do anything (I'm not sure what it ever did do). Rm'd.


git-svn-id: svn://svn.valgrind.org/valgrind/trunk@4239 a5019735-40e9-0310-863c-91ae7b9d1cf9
mdline2.stdout.exp
3d7c2f0b8e6d8e4a70b6aaaa6f14a29f3b88ef4c 24-Jul-2005 sewardj <sewardj@a5019735-40e9-0310-863c-91ae7b9d1cf9> Get rid of --support-elan3=. This flag wasn't doing anything since
the Elan3 user-space driver now works on unmodified Valgrind.



git-svn-id: svn://svn.valgrind.org/valgrind/trunk@4238 a5019735-40e9-0310-863c-91ae7b9d1cf9
mdline1.stdout.exp
mdline2.stdout.exp
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
md64/smc1.vgtest
mdline1.stdout.exp
mdline2.stdout.exp
86/smc1.vgtest
483398ece74f045030f01f323e3c13cfe5e43222 20-Jul-2005 njn <njn@a5019735-40e9-0310-863c-91ae7b9d1cf9> Fix broken tests.



git-svn-id: svn://svn.valgrind.org/valgrind/trunk@4207 a5019735-40e9-0310-863c-91ae7b9d1cf9
mdline1.stdout.exp
mdline2.stdout.exp
b1b2a35c7222564bc15ba0a9f08eaa70c459841b 07-Jul-2005 sewardj <sewardj@a5019735-40e9-0310-863c-91ae7b9d1cf9> Add a nested-functions test from Lee Kindness.


git-svn-id: svn://svn.valgrind.org/valgrind/trunk@4127 a5019735-40e9-0310-863c-91ae7b9d1cf9
akefile.am
estedfns.c
estedfns.stderr.exp
estedfns.stdout.exp
estedfns.vgtest
42a65c99eb8c50f71a777951273f47c45389b77f 07-Jul-2005 sewardj <sewardj@a5019735-40e9-0310-863c-91ae7b9d1cf9> Self-modifying-code check for amd64.


git-svn-id: svn://svn.valgrind.org/valgrind/trunk@4125 a5019735-40e9-0310-863c-91ae7b9d1cf9
md64/Makefile.am
md64/smc1.c
md64/smc1.stderr.exp
md64/smc1.stdout.exp
md64/smc1.vgtest
4daf4392cf89e2a806a1fceb5c554c380bb532b9 07-Jul-2005 sewardj <sewardj@a5019735-40e9-0310-863c-91ae7b9d1cf9> Update expected output.


git-svn-id: svn://svn.valgrind.org/valgrind/trunk@4124 a5019735-40e9-0310-863c-91ae7b9d1cf9
mdline1.stdout.exp
mdline2.stdout.exp
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
86/smc1.c
86/smc1.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
86/Makefile.am
86/yield.c
86/yield.stderr.exp
86/yield.stdout.exp
86/yield.vgtest
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
86/Makefile.am
86/smc1.c
86/smc1.stderr.exp
86/smc1.stdout.exp
86/smc1.vgtest
7b781b53b653c67ad17abd8eb0700a766728d0a8 06-Jul-2005 sewardj <sewardj@a5019735-40e9-0310-863c-91ae7b9d1cf9> This test is nonsensical for ppc; it only applies to x86 and amd64.


git-svn-id: svn://svn.valgrind.org/valgrind/trunk@4113 a5019735-40e9-0310-863c-91ae7b9d1cf9
ield.c
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
86/Makefile.am
4a83015ecd0d962cf96f1479dc38ac41413df8df 03-Jul-2005 njn <njn@a5019735-40e9-0310-863c-91ae7b9d1cf9> Removed the remnants of the attempt at an ARM port, because it had
bit-rotted badly and was clogging up the code.

I put the useful remnants in docs/porting-to-ARM in case anyone ever
wants to try porting to ARM again.



git-svn-id: svn://svn.valgrind.org/valgrind/trunk@4092 a5019735-40e9-0310-863c-91ae7b9d1cf9
rm/Makefile.am
d9a1ce1eb73b7bf908492903a5c7ac14ea22b15b 02-Jul-2005 sewardj <sewardj@a5019735-40e9-0310-863c-91ae7b9d1cf9> Kludge to stop this program hanging on ppc32-linux and therefore
messing up the testsuite.



git-svn-id: svn://svn.valgrind.org/valgrind/trunk@4087 a5019735-40e9-0310-863c-91ae7b9d1cf9
em.c
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
86/Makefile.am
94260f2774fa5a518a371344d27b7facccbc1155 02-Jul-2005 njn <njn@a5019735-40e9-0310-863c-91ae7b9d1cf9> Fixed 'make dist'. In particular, all the arch/platform-specific files
get included in the distro now, not just the ones for the arch/platform
that the distro tarball is built on.



git-svn-id: svn://svn.valgrind.org/valgrind/trunk@4085 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
86/sigcontext.c
98f684e15ece145d5d63e0da2b3dec15920677c3 30-Jun-2005 njn <njn@a5019735-40e9-0310-863c-91ae7b9d1cf9> Move some more Corecheck tests into none/tests.



git-svn-id: svn://svn.valgrind.org/valgrind/trunk@4065 a5019735-40e9-0310-863c-91ae7b9d1cf9
akefile.am
es_search.c
es_search.stderr.exp
es_search.stdout.exp
es_search.vgtest
hreadederrno.c
hreadederrno.stderr.exp
hreadederrno.stdout.exp
hreadederrno.vgtest
63d7e524cb2e4b8eb41adc1056da53ed8451938a 30-Jun-2005 njn <njn@a5019735-40e9-0310-863c-91ae7b9d1cf9> Move a bunch of tests from corecheck/tests/ to none/tests/.



git-svn-id: svn://svn.valgrind.org/valgrind/trunk@4060 a5019735-40e9-0310-863c-91ae7b9d1cf9
akefile.am
th_atfork1.c
th_atfork1.stderr.exp
th_atfork1.stdout.exp
th_atfork1.vgtest
th_cancel1.c
th_cancel1.stderr.exp
th_cancel1.stdout.exp
th_cancel1.vgtest
th_cancel2.c
th_cancel2.stderr.exp
th_cancel2.vgtest
th_cvsimple.c
th_cvsimple.stderr.exp
th_cvsimple.stdout.exp
th_cvsimple.vgtest
th_empty.c
th_empty.stderr.exp
th_empty.vgtest
th_exit.c
th_exit.stderr.exp
th_exit.vgtest
th_exit2.c
th_exit2.stderr.exp
th_exit2.vgtest
th_mutexspeed.c
th_mutexspeed.stderr.exp
th_mutexspeed.stdout.exp
th_mutexspeed.vgtest
th_once.c
th_once.stderr.exp
th_once.stdout.exp
th_once.vgtest
th_rwlock.c
th_rwlock.stderr.exp
th_rwlock.vgtest
bd0c0ad5668fb2c1bd5f18f9cbe3f9f6c0f08005 29-Jun-2005 njn <njn@a5019735-40e9-0310-863c-91ae7b9d1cf9> Add alt output



git-svn-id: svn://svn.valgrind.org/valgrind/trunk@4049 a5019735-40e9-0310-863c-91ae7b9d1cf9
dleak_cmsg.stderr.exp3
3a99d29768927790e780c124cc167b5581c7183f 29-Jun-2005 njn <njn@a5019735-40e9-0310-863c-91ae7b9d1cf9> Move a heap of tests from corecheck/tests/ into none/tests/. There's
no real point in having them in corecheck/tests since they're not testing
anything that Nulgrind doesn't provide.



git-svn-id: svn://svn.valgrind.org/valgrind/trunk@4048 a5019735-40e9-0310-863c-91ae7b9d1cf9
akefile.am
s_mmap.c
s_mmap.stderr.exp
s_mmap.stderr.exp2
s_mmap.vgtest
s_shm.c
s_shm.stderr.exp
s_shm.stdout.exp
s_shm.vgtest
dleak_cmsg.c
dleak_cmsg.stderr.exp
dleak_cmsg.stderr.exp2
dleak_cmsg.vgtest
dleak_creat.c
dleak_creat.stderr.exp
dleak_creat.stderr.exp2
dleak_creat.stderr.exp3
dleak_creat.vgtest
dleak_dup.c
dleak_dup.stderr.exp
dleak_dup.stderr.exp2
dleak_dup.stderr.exp3
dleak_dup.vgtest
dleak_dup2.c
dleak_dup2.stderr.exp
dleak_dup2.stderr.exp2
dleak_dup2.stderr.exp3
dleak_dup2.vgtest
dleak_fcntl.c
dleak_fcntl.stderr.exp
dleak_fcntl.stderr.exp2
dleak_fcntl.stderr.exp3
dleak_fcntl.stderr.exp4
dleak_fcntl.vgtest
dleak_ipv4.c
dleak_ipv4.stderr.exp
dleak_ipv4.stderr.exp2
dleak_ipv4.stdout.exp
dleak_ipv4.vgtest
dleak_open.c
dleak_open.stderr.exp
dleak_open.stderr.exp2
dleak_open.vgtest
dleak_pipe.c
dleak_pipe.stderr.exp
dleak_pipe.stderr.exp2
dleak_pipe.vgtest
dleak_socketpair.c
dleak_socketpair.stderr.exp
dleak_socketpair.stderr.exp2
dleak_socketpair.vgtest
ilter_as_mmap
ilter_fdleak
gprintf.c
gprintf.stderr.exp
gprintf.stdout.exp
gprintf.vgtest
3dd0a912e48a4884ee51ab3afe41856c165185ca 28-Jun-2005 njn <njn@a5019735-40e9-0310-863c-91ae7b9d1cf9> Don't use non-ansi features in valgrind.h in case it's used in a file
compiled with -ansi. Added a regtest for it. Fixed bug #103182.



git-svn-id: svn://svn.valgrind.org/valgrind/trunk@4044 a5019735-40e9-0310-863c-91ae7b9d1cf9
akefile.am
nsi.c
nsi.stderr.exp
nsi.vgtest
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
86/.cvsignore
85665ca6fa29dd64754dabe50eb98f25896e752a 20-Jun-2005 cerion <cerion@a5019735-40e9-0310-863c-91ae7b9d1cf9> Finally, valgrind on ppc32.
Plenty still to do, but simple programs like ls seem to run ok

Thanks, Paul, for having your ppc port of valgrind 2.4 to work from!




git-svn-id: svn://svn.valgrind.org/valgrind/trunk@3969 a5019735-40e9-0310-863c-91ae7b9d1cf9
pc32/Makefile.am
f178c30c78a9c60157de0e48236f31ecebfc6fd0 20-May-2005 sewardj <sewardj@a5019735-40e9-0310-863c-91ae7b9d1cf9> fix trivial regtest failures


git-svn-id: svn://svn.valgrind.org/valgrind/trunk@3777 a5019735-40e9-0310-863c-91ae7b9d1cf9
mdline1.stdout.exp
mdline2.stdout.exp
272b21688397481c917c83f9943775adcf9b7f68 17-May-2005 njn <njn@a5019735-40e9-0310-863c-91ae7b9d1cf9> Update website address.

MERGE TO 2.4 REPOSITORY



git-svn-id: svn://svn.valgrind.org/valgrind/trunk@3753 a5019735-40e9-0310-863c-91ae7b9d1cf9
mdline1.stdout.exp
mdline2.stdout.exp
02bc4b8f54227320aa2b9ac4805173e0e2e3eeae 15-May-2005 njn <njn@a5019735-40e9-0310-863c-91ae7b9d1cf9> Don't mix backticks and apostrophes when quoting words -- eg. use 'foo'
rather than `foo', as www.cl.cam.ac.uk/~mgk25/ucs/quotes.html explains
we should (in more detail than you'd imagine was possible). I did this
both in output messages and in some comments, for consistency.


git-svn-id: svn://svn.valgrind.org/valgrind/trunk@3723 a5019735-40e9-0310-863c-91ae7b9d1cf9
mdline4.stderr.exp
0be261031a6450d3b5d9ea49a84c770c948a9e41 14-May-2005 sewardj <sewardj@a5019735-40e9-0310-863c-91ae7b9d1cf9> Add test cases for MOVQ on amd64.


git-svn-id: svn://svn.valgrind.org/valgrind/trunk@3705 a5019735-40e9-0310-863c-91ae7b9d1cf9
md64/insn_sse2.def
md64/insn_sse2.stdout.exp
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
86/insn_sse2.def
86/insn_sse2.stdout.exp
9be19da2fe56b2a9a04c02035d28a4da451bc25a 12-May-2005 sewardj <sewardj@a5019735-40e9-0310-863c-91ae7b9d1cf9> AMD x87 instruction tests.


git-svn-id: svn://svn.valgrind.org/valgrind/trunk@3687 a5019735-40e9-0310-863c-91ae7b9d1cf9
md64/Makefile.am
md64/gen_insn_test.pl
md64/insn_fpu.def
md64/insn_fpu.stderr.exp
md64/insn_fpu.stdout.exp
md64/insn_fpu.vgtest
4fa5e7cd3c38041ad07a7b69b1bfd7af65e78cb8 11-May-2005 sewardj <sewardj@a5019735-40e9-0310-863c-91ae7b9d1cf9> Use hi-half xmm registers (REX.R, REX.B == 1) (%xmm8-%xmm15) in an
attempt to flush out any register-number bugs that might be lurking.

It would be nice to be able to do the same with the integer registers,
but gcc-3.3.4 is too stupid to understand asms with clobbered
registers "r8d", etc (plain "r8" etc is OK) and I am too ignorant of
perl to know how to mash r8b/r8w/r8d back into plain "r8" etc for the
clobbered registers list.



git-svn-id: svn://svn.valgrind.org/valgrind/trunk@3659 a5019735-40e9-0310-863c-91ae7b9d1cf9
md64/gen_insn_test.pl
8c1b7c475ff15e641cbade1b9f1c4ee1e31b435d 11-May-2005 sewardj <sewardj@a5019735-40e9-0310-863c-91ae7b9d1cf9> Regression tests for amd64 instructions.


git-svn-id: svn://svn.valgrind.org/valgrind/trunk@3658 a5019735-40e9-0310-863c-91ae7b9d1cf9
md64/Makefile.am
md64/filter_cpuid
md64/filter_int
md64/filter_stderr
md64/insn_mmx.stderr.exp
md64/insn_mmx.stdout.exp
md64/insn_mmx.vgtest
md64/insn_sse.stderr.exp
md64/insn_sse.stdout.exp
md64/insn_sse.vgtest
md64/insn_sse2.stderr.exp
md64/insn_sse2.stdout.exp
md64/insn_sse2.vgtest
c6fa942a3b180dac2ef763e252e1a6b2ba7eef0c 11-May-2005 sewardj <sewardj@a5019735-40e9-0310-863c-91ae7b9d1cf9> * gcc-3.3.4 seems to generate non-working code for eq_double: workaround
* fix wrong stack offset for comparisons involving %rflags
* (unused): sets of register names for reg numbers >= 8


git-svn-id: svn://svn.valgrind.org/valgrind/trunk@3657 a5019735-40e9-0310-863c-91ae7b9d1cf9
md64/gen_insn_test.pl
46b91662a17f17ead978424eeb63850510f8a74e 11-May-2005 sewardj <sewardj@a5019735-40e9-0310-863c-91ae7b9d1cf9> SSE2 tests for amd64.


git-svn-id: svn://svn.valgrind.org/valgrind/trunk@3656 a5019735-40e9-0310-863c-91ae7b9d1cf9
md64/insn_sse2.def
ed5417f426e3418a24c99756d4c89cd59a74a984 10-May-2005 sewardj <sewardj@a5019735-40e9-0310-863c-91ae7b9d1cf9> * test cases for amd64 SSE
* modify gen_insn_test to handle them


git-svn-id: svn://svn.valgrind.org/valgrind/trunk@3649 a5019735-40e9-0310-863c-91ae7b9d1cf9
md64/gen_insn_test.pl
md64/insn_sse.def
a8532a30923cbcdda431a3e2768a8c99f8f4d34d 10-May-2005 sewardj <sewardj@a5019735-40e9-0310-863c-91ae7b9d1cf9> Versions of Tom's excellent insn-set test programs modified for the
amd64 insn set.



git-svn-id: svn://svn.valgrind.org/valgrind/trunk@3647 a5019735-40e9-0310-863c-91ae7b9d1cf9
md64/gen_insn_test.pl
md64/insn_mmx.def
1dd628ae33d2bb9cafd3313ee680d5dd86e44da2 03-May-2005 sewardj <sewardj@a5019735-40e9-0310-863c-91ae7b9d1cf9> Update expected output.


git-svn-id: svn://svn.valgrind.org/valgrind/trunk@3605 a5019735-40e9-0310-863c-91ae7b9d1cf9
mdline2.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
86/insn_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
86/insn_sse2.def
412ad6ec7fc46fec5368adad68ca9febeb9bf10f 03-Apr-2005 sewardj <sewardj@a5019735-40e9-0310-863c-91ae7b9d1cf9> Update expected outputs.


git-svn-id: svn://svn.valgrind.org/valgrind/trunk@3513 a5019735-40e9-0310-863c-91ae7b9d1cf9
mdline1.stdout.exp
mdline2.stdout.exp
c45282ada5d2fc41c3a968bf03b0caa51b426b44 26-Mar-2005 njn <njn@a5019735-40e9-0310-863c-91ae7b9d1cf9> Avoid compiler warnings.



git-svn-id: svn://svn.valgrind.org/valgrind/trunk@3431 a5019735-40e9-0310-863c-91ae7b9d1cf9
igstackgrowth.c
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
86/sigcontext.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
86/Makefile.am
86/getseg.c
86/getseg.stderr.exp
86/getseg.stdout.exp
86/getseg.vgtest
86/sigcontext.c
86/sigcontext.stderr.exp
86/sigcontext.stdout.exp
86/sigcontext.vgtest
8f01fbe8fcff78d3131724a5fd540fbab89d38b5 20-Mar-2005 sewardj <sewardj@a5019735-40e9-0310-863c-91ae7b9d1cf9> Update expected outputs following institution of default --show-emwarns=no


git-svn-id: svn://svn.valgrind.org/valgrind/trunk@3390 a5019735-40e9-0310-863c-91ae7b9d1cf9
mdline1.stdout.exp
mdline2.stdout.exp
loored.stderr.exp
211dc4584d2994b1865623e101c3bfb70ea052db 15-Mar-2005 sewardj <sewardj@a5019735-40e9-0310-863c-91ae7b9d1cf9> gcc-2.96 build fixes.


git-svn-id: svn://svn.valgrind.org/valgrind/trunk@3362 a5019735-40e9-0310-863c-91ae7b9d1cf9
hread-exits.c
e5f5769154b0ac61993795af9bcf9c0680184cdb 13-Mar-2005 njn <njn@a5019735-40e9-0310-863c-91ae7b9d1cf9> Fix minor problems in filters. This helps a couple of massif tests to pass.



git-svn-id: svn://svn.valgrind.org/valgrind/trunk@3348 a5019735-40e9-0310-863c-91ae7b9d1cf9
ilter_stderr
1d3566c672bed068e842796ec1d6a6a540a7b718 13-Mar-2005 njn <njn@a5019735-40e9-0310-863c-91ae7b9d1cf9> Add test case for forking threaded programs.

MERGED FROM CVS HEAD


git-svn-id: svn://svn.valgrind.org/valgrind/trunk@3326 a5019735-40e9-0310-863c-91ae7b9d1cf9
akefile.am
hreaded-fork.c
hreaded-fork.stderr.exp
hreaded-fork.stdout.exp
hreaded-fork.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
86/dastest.stderr.exp
86/dastest_c.c
86/dastest_s.s
86/rcl_assert.S
86/rcl_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
86/Makefile.am
86/dastest.stdout.exp
86/dastest.vgtest
86/rcl_assert.vgtest
cc6cc144e2f346e0c68efcdea09e4dcc515c62e5 12-Mar-2005 njn <njn@a5019735-40e9-0310-863c-91ae7b9d1cf9> --num-callers default is now 12, so say that in the help.
Fix cmdline tests for match new --num-callers stuff.

MERGED FROM CVS HEAD



git-svn-id: svn://svn.valgrind.org/valgrind/trunk@3315 a5019735-40e9-0310-863c-91ae7b9d1cf9
mdline1.stdout.exp
mdline2.stdout.exp
add20df16de9d81de98b440de67ca88b01ac94ee 12-Mar-2005 sewardj <sewardj@a5019735-40e9-0310-863c-91ae7b9d1cf9> Update expected output.

This highlights an interesting problem with the error filters.
The change is:

- at 0x.......: xToI (floored.c:16)
- by 0x.......: main (floored.c:9)
+ at 0x........: xToI (floored.c:16)
+ by 0x........: main (floored.c:9)

IOW, the change happened because some code got moved around,
causing the length of the hex numbers changed, defeating the
hexdigit-"normaliser".



git-svn-id: svn://svn.valgrind.org/valgrind/trunk@3314 a5019735-40e9-0310-863c-91ae7b9d1cf9
loored.stderr.exp
5361242f022b38fadb4cdf02428cea8b8d901a90 12-Mar-2005 njn <njn@a5019735-40e9-0310-863c-91ae7b9d1cf9> Update copyright notice for 2005 on all relevant files. Don't bother trying
to be selective about it.



git-svn-id: svn://svn.valgrind.org/valgrind/trunk@3303 a5019735-40e9-0310-863c-91ae7b9d1cf9
mdline1.stdout.exp
mdline2.stdout.exp
613812efb772d7ed7ff565aad0c33f46219b099b 11-Mar-2005 njn <njn@a5019735-40e9-0310-863c-91ae7b9d1cf9> Fix Nulgrind's filter_stderr, and also fix the none/tests/cmdline2 test
(required fixing the usage msg slightly).



git-svn-id: svn://svn.valgrind.org/valgrind/trunk@3278 a5019735-40e9-0310-863c-91ae7b9d1cf9
mdline2.stdout.exp
ilter_stderr
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
86/int.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
cvsignore
akefile.am
mdline1.stdout.exp
mdline1.vgtest
mdline2.stdout.exp
mdline2.vgtest
xec-sigmask.c
xec-sigmask.stderr.exp
xec-sigmask.stdout.exp2
ilter_stderr
ap_unmap.vgtest
th_blockedsig.c
th_blockedsig.stdout.exp
usphello.vgtest
yscall-restart1.c
ls.c
ls2.c
ls2_so.c
ls_so.c
86/Makefile.am
86/badseg.c
86/filter_cpuid
86/insn_sse.def
86/insn_sse.stdout.exp
86/insn_sse2.def
86/insn_sse2.stdout.exp
86/int.stderr.exp
86/int.vgtest
ield.c
cbdddcfb32883a37e873907602d34bac523e3ead 11-Mar-2005 sewardj <sewardj@a5019735-40e9-0310-863c-91ae7b9d1cf9> Add new files resulting from merging in the 2.4.0 line. Many of these
seem to be simply duplication of the x86 instruction set tests into
the addrcheck and helgrind trees. I'm not sure what this duplication
achieves.



git-svn-id: svn://svn.valgrind.org/valgrind/trunk@3264 a5019735-40e9-0310-863c-91ae7b9d1cf9
sync-sigs.c
sync-sigs.stderr.exp
sync-sigs.stdout.exp
sync-sigs.vgtest
lockfault.c
lockfault.stderr.exp
lockfault.stdout.exp
lockfault.vgtest
xec-sigmask.stdout.exp3
aultstatus.c
aultstatus.stderr.exp
aultstatus.vgtest
etseg.c
etseg.stderr.exp
etseg.stdout.exp
etseg.vgtest
anythreads.c
anythreads.stderr.exp
anythreads.stdout.exp
anythreads.vgtest
ap_unaligned.c
ap_unaligned.stderr.exp
ap_unaligned.vgtest
ending.c
ending.stderr.exp
ending.stdout.exp
ending.vgtest
elfrun.c
elfrun.stderr.exp
elfrun.stdout.exp
elfrun.vgtest
igcontext.c
igcontext.stderr.exp
igcontext.stdout.exp
igcontext.vgtest
igstackgrowth.c
igstackgrowth.stderr.exp
igstackgrowth.stdout.exp
igstackgrowth.vgtest
tackgrowth.c
tackgrowth.stderr.exp
tackgrowth.stdout.exp
tackgrowth.vgtest
hread-exits.c
hread-exits.stderr.exp
hread-exits.stdout.exp
hread-exits.vgtest
ls.vgtest
fa8ec113ecff891bdefb13dd361b40a503a992f8 19-Jan-2005 sewardj <sewardj@a5019735-40e9-0310-863c-91ae7b9d1cf9> Complete rewrite (I think this is the 4th incarnation) of translation
table/cache management. Two main changes. (1) Translation areas are
recorded using VexGuestExtents, so that Vex is now properly supported
and code deletion works correctly. (2) Low overhead BB profiling,
enabled by the --profile-flags=<XXXXXXXX> option. This finds the top
N bbs at exit and shows them, so as to give a basis from which to do
performane tuning.

To support this, the way tt/tc work is changed. It is still a
sectored arrangement, but now each sector has its own hash table.
This simplifies a lot of things.



git-svn-id: svn://svn.valgrind.org/valgrind/trunk@3226 a5019735-40e9-0310-863c-91ae7b9d1cf9
mdline2.stdout.exp
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
86/insn_sse2.def
86/insn_sse2.stdout.exp
09272c7029dc3e374e66a3534b5ac3e505e9bf3a 11-Jan-2005 sewardj <sewardj@a5019735-40e9-0310-863c-91ae7b9d1cf9> Update some expected regtest outputs.


git-svn-id: svn://svn.valgrind.org/valgrind/trunk@3221 a5019735-40e9-0310-863c-91ae7b9d1cf9
mdline1.stdout.exp
mdline2.stdout.exp
loored.stderr.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
86/insn_basic.def
86/insn_basic.stdout.exp
86/insn_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
86/insn_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
86/seg_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
86/insn_sse2.def
b67b2a2fc39f8098ea53b001570a7d88a02e77a3 06-Dec-2004 sewardj <sewardj@a5019735-40e9-0310-863c-91ae7b9d1cf9> Updated expected output


git-svn-id: svn://svn.valgrind.org/valgrind/trunk@3181 a5019735-40e9-0310-863c-91ae7b9d1cf9
mdline2.stdout.exp
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
86/gen_insn_test.pl
b9c427c63a278cc612ae0ec573be7bb1abaa447f 01-Dec-2004 njn <njn@a5019735-40e9-0310-863c-91ae7b9d1cf9> Changed message at the top of files, and the startup message, and the
string in valgrind.pc.in, so that they describe Valgrind as a "dynamic
binary instrumentation framework", and don't mention platforms at all.

I had to tweak the regtest filters a bit for this.



git-svn-id: svn://svn.valgrind.org/valgrind/trunk@3178 a5019735-40e9-0310-863c-91ae7b9d1cf9
ilter_stderr
c767b4390fe6dc173f1125457f46b3e2c277b193 29-Nov-2004 njn <njn@a5019735-40e9-0310-863c-91ae7b9d1cf9> Fix reg test.



git-svn-id: svn://svn.valgrind.org/valgrind/trunk@3142 a5019735-40e9-0310-863c-91ae7b9d1cf9
mdline2.stdout.exp
c616819253fcf211745060b2be26076174b1df19 29-Nov-2004 njn <njn@a5019735-40e9-0310-863c-91ae7b9d1cf9> Added beginnings of an AMD64 port, so lots of new files and directories.
It compiles, but aborts immediately if you try to run it.

I didn't include ldt.c; I'm not sure how the LDT is used on AMD64. It can be
added later if necessary.

While doing this, did some 64-bit cleanness fixes:
- Added necessary intermediate casts to ULong to avoid warnings when converting
ThreadId to void* and vice versa, in vg_scheduler.c.
- Fixed VALGRIND_NON_SIMD_CALL[0123] to use 'long' as the return type.
- Fixed VALGRIND_PRINTF{,BACKTRACE} to use unsigned longs instead of unsigned
ints, as needed.
- Converted some offsets in vg_symtab2.h from "Int" to "OffT".
- Made strlen, strncat, etc, use SizeT instead of 'unsigned int' for the length
parameter.
- Couple of other minor things.

I had to insert some "#ifdef __amd64__" and "#ifndef __amd64__" guards in
places. In particular, in vg_mylibc.c, some of our syscall wrappers aren't
appropriate for AMD64 because the syscall numbering is a bit different in
places. This difference will have to be abstracted out somehow.

Also rewrote the sys_fcntl and sys_fcntl64 wrappers, as required for AMD64.

Also moved the ipc wrapper into x86, since it's not applicable for
AMD64. However, it is applicable (I think) for ARM, so it would be nice
to work out a way to share syscall wrappers between some, but not all,
archs. Hmm. Also now using the real IPC constants rather than magic
numbers in the wrapper.

Other non-AMD64-related fixes:
- ARM: fixed syscall table by accounting for the fact that syscall
numbers don't start at 0, but rather at 0x900000.
- Converted a few places to use ThreadId instead of 'int' or 'Int' for
thread IDs.
- Added both AMD64 and ARM (which I'd forgotten) entries to valgrind.spec.in.
- Tweaked comments in various places.




git-svn-id: svn://svn.valgrind.org/valgrind/trunk@3136 a5019735-40e9-0310-863c-91ae7b9d1cf9
md64/Makefile.am
a5f1bcda8b024be17d73a369ab68d457602efade 27-Nov-2004 njn <njn@a5019735-40e9-0310-863c-91ae7b9d1cf9> Introduced build variables VG_ARCH_ALL, VG_OS_ALL, and VG_PLATFORM_ALL,
which list all the arches/OSes/platforms supported. These are used by
several newly added DIST_SUBDIRS automake commands, which specify that
although when you are building you only want to build for the current
arch/OS/platform, when you do 'make dist' you want every
arch/OS/platform to get included.



git-svn-id: svn://svn.valgrind.org/valgrind/trunk@3127 a5019735-40e9-0310-863c-91ae7b9d1cf9
akefile.am
ca0518df66f8c3375a860f1a55a51f18e2a16c44 26-Nov-2004 njn <njn@a5019735-40e9-0310-863c-91ae7b9d1cf9> Added beginnings of an ARM port, to the point where it compiles. It does not
run, though. There are lots of stubs to be filled in. (The asm ones currently
just have "swi" in them, which seems to cause seg faults.)

Also, some of the macros are decided dubious, especially:

ARCH_* are bogus
SYSCALL_RET is bogus
PLATFORM_SET_SYSCALL_RESULT is bogus
not sure about SET_SYSCALL_RETVAL
FIRST_STACK_FRAME et al -- bogus?
VG_MAX_JUMPS ?

And in stage2.lds, the 0x8048000 is almost certainly wrong


This required some tweakings of the core:
- some of the vki_*.h kernel types were fixed up

- had to disable the AM_PROG_CC_C_O macro in configure.in, because automake
(autoconf?) didn't like it...

- some "#ifdef __x86__" guards were introduced, for nasty x86 things I don't
yet know how to factor out (trampoline page muck, sysinfo page muck).

- fixed a minor stupidity in vg_proxylwp.c.

- moved the ptrace wrapper into the x86-linux part

- had to change the intercept mangling scheme, to use 'J' instead of '$' as the
escape char because GCC didn't like '$'. This is all very dubious, and only
works because none of our intercepted symbols contains a 'J'. To be fixed up
ASAP.


git-svn-id: svn://svn.valgrind.org/valgrind/trunk@3120 a5019735-40e9-0310-863c-91ae7b9d1cf9
rm/Makefile.am
7eea51f6528912dabac42bc55fd9777ebbb67af7 26-Nov-2004 njn <njn@a5019735-40e9-0310-863c-91ae7b9d1cf9> Fix this test.



git-svn-id: svn://svn.valgrind.org/valgrind/trunk@3112 a5019735-40e9-0310-863c-91ae7b9d1cf9
mdline2.stdout.exp
0dbb7de509d30f5fa67f724b6b260be2202cad70 26-Nov-2004 sewardj <sewardj@a5019735-40e9-0310-863c-91ae7b9d1cf9> Second (failed) attempt to get cmdline2 to work right.


git-svn-id: svn://svn.valgrind.org/valgrind/trunk@3110 a5019735-40e9-0310-863c-91ae7b9d1cf9
mdline2.stderr.exp
mdline2.stdout.exp
5b1cc971037c1a59c709034809d6c9a2845ab436 26-Nov-2004 sewardj <sewardj@a5019735-40e9-0310-863c-91ae7b9d1cf9> Update expected output.



git-svn-id: svn://svn.valgrind.org/valgrind/trunk@3109 a5019735-40e9-0310-863c-91ae7b9d1cf9
mdline2.stderr.exp
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
86/insn_cmov.vgtest
86/insn_fpu.vgtest
86/insn_mmx.vgtest
86/insn_mmxext.vgtest
86/insn_sse.vgtest
86/insn_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
86/int.vgtest
5e5e213dd5a5d98c20cd33f19a2d5170d1380406 16-Nov-2004 thughes <thughes@a5019735-40e9-0310-863c-91ae7b9d1cf9> The calculation used to round the size of a new thread's stack to a
multiple of the page size had an off by one error. Fixed it to use
the PGROUNDUP macro instead of trying to do the calculation itself
and then get it wrong.

BUG: 93309


git-svn-id: svn://svn.valgrind.org/valgrind/trunk@3030 a5019735-40e9-0310-863c-91ae7b9d1cf9
cvsignore
akefile.am
th_stackalign.c
th_stackalign.stderr.exp
th_stackalign.stdout.exp
th_stackalign.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
86/gen_insn_test.pl
02c53b62edad7f913514da3ee0ebf558a7098878 29-Oct-2004 nethercote <nethercote@a5019735-40e9-0310-863c-91ae7b9d1cf9> whoops


git-svn-id: svn://svn.valgrind.org/valgrind/trunk@2875 a5019735-40e9-0310-863c-91ae7b9d1cf9
akefile.am
a128643b40c2c85c0a1c0b1318976cfdb6e8fdba 27-Oct-2004 nethercote <nethercote@a5019735-40e9-0310-863c-91ae7b9d1cf9> Make exec-sigmask more robust.


git-svn-id: svn://svn.valgrind.org/valgrind/trunk@2860 a5019735-40e9-0310-863c-91ae7b9d1cf9
akefile.am
xec-sigmask.stdout.exp2
bfcc70771b55e93d43c52273ff6a07a4fceb7f28 21-Oct-2004 nethercote <nethercote@a5019735-40e9-0310-863c-91ae7b9d1cf9> Fix "make check" for when src_dir != build_dir


git-svn-id: svn://svn.valgrind.org/valgrind/trunk@2826 a5019735-40e9-0310-863c-91ae7b9d1cf9
akefile.am
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
cvsignore
86/int.vgtest
899c79ded26df5c9fb50d97dab1af443fdb7bad2 20-Oct-2004 nethercote <nethercote@a5019735-40e9-0310-863c-91ae7b9d1cf9> Arch-abstraction:
- conditionally compile x86-specific line within yield.c.


git-svn-id: svn://svn.valgrind.org/valgrind/trunk@2821 a5019735-40e9-0310-863c-91ae7b9d1cf9
akefile.am
ield.c
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
86/Makefile.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
86/.cvsignore
86/Makefile.am
86/badseg.c
86/badseg.stderr.exp
86/badseg.stdout.exp
86/badseg.vgtest
86/bt_everything.c
86/bt_everything.stderr.exp
86/bt_everything.stdout.exp
86/bt_everything.vgtest
86/bt_literal.c
86/bt_literal.stderr.exp
86/bt_literal.stdout.exp
86/bt_literal.vgtest
86/cpuid.stderr.exp
86/cpuid.stdout.exp
86/cpuid.vgtest
86/cpuid_c.c
86/cpuid_s.s
86/dastest.stderr.exp
86/dastest.stdout.exp
86/dastest.vgtest
86/dastest_c.c
86/dastest_s.s
86/filter_cpuid
86/filter_int
86/fpu_lazy_eflags.c
86/fpu_lazy_eflags.stderr.exp
86/fpu_lazy_eflags.stdout.exp
86/fpu_lazy_eflags.vgtest
86/int.c
86/int.stderr.exp
86/int.stdout.exp
86/int.vgtest
86/pushpopseg.c
86/pushpopseg.stderr.exp
86/pushpopseg.stdout.exp
86/pushpopseg.vgtest
86/rcl_assert.S
86/rcl_assert.stderr.exp
86/rcl_assert.vgtest
86/seg_override.c
86/seg_override.stderr.exp
86/seg_override.stdout.exp
86/seg_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
86/insn_basic.def
86/insn_cmov.def
86/insn_fpu.def
86/insn_mmx.def
86/insn_mmxext.def
86/insn_sse.def
86/insn_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
akefile.am
en_insn_test.pl
86/gen_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
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
86/.cvsignore
86/Makefile.am
86/filter_stderr
86/insn_basic.stderr.exp
86/insn_basic.stdout.exp
86/insn_basic.vgtest
86/insn_cmov.stderr.exp
86/insn_cmov.stdout.exp
86/insn_cmov.vgtest
86/insn_fpu.stderr.exp
86/insn_fpu.stdout.exp
86/insn_fpu.vgtest
86/insn_mmx.stderr.exp
86/insn_mmx.stdout.exp
86/insn_mmx.vgtest
86/insn_mmxext.stderr.exp
86/insn_mmxext.stdout.exp
86/insn_mmxext.vgtest
86/insn_sse.stderr.exp
86/insn_sse.stdout.exp
86/insn_sse.vgtest
86/insn_sse2.stderr.exp
86/insn_sse2.stdout.exp
86/insn_sse2.vgtest
b625bcb48668a2eaadbf027e837db9d29f7b55d5 19-Oct-2004 nethercote <nethercote@a5019735-40e9-0310-863c-91ae7b9d1cf9> Arch-abstraction:
- Rewrote tests/cputest.c so that it can apply to different kinds of
processors. The idea being that any arch-specific tests have a cpu_test:
label in their .vgtest file, so they'll only get executed if the right
machine is being used.
- Rewrote a bunch of .vgtest files accordingly.


git-svn-id: svn://svn.valgrind.org/valgrind/trunk@2802 a5019735-40e9-0310-863c-91ae7b9d1cf9
nsn_cmov.vgtest
nsn_fpu.vgtest
nsn_mmx.vgtest
nsn_mmxext.vgtest
nsn_sse.vgtest
nsn_sse2.vgtest
d4b17c0e5f3f96c1692edcfad736b639de06f6df 02-Sep-2004 nethercote <nethercote@a5019735-40e9-0310-863c-91ae7b9d1cf9> Update .cvsignore for recently added regression tests.


git-svn-id: svn://svn.valgrind.org/valgrind/trunk@2642 a5019735-40e9-0310-863c-91ae7b9d1cf9
cvsignore
6233a38b2ab64e85c30513b6636ad26afe4ffbec 21-Aug-2004 thughes <thughes@a5019735-40e9-0310-863c-91ae7b9d1cf9> Add support for a --time-stamp option that causes each message output
by valgrind to include a time stamp. This fixes bug #70587.


git-svn-id: svn://svn.valgrind.org/valgrind/trunk@2594 a5019735-40e9-0310-863c-91ae7b9d1cf9
mdline1.stdout.exp
mdline2.stdout.exp
8579b10663e4caee2db71e1217ea8a5735556cca 14-Aug-2004 thughes <thughes@a5019735-40e9-0310-863c-91ae7b9d1cf9> Add support for the POSIX message queue system calls.


git-svn-id: svn://svn.valgrind.org/valgrind/trunk@2585 a5019735-40e9-0310-863c-91ae7b9d1cf9
akefile.am
q.c
q.stderr.exp
q.vgtest
d4b51a6803872d21e809f460ad1d8a057f1b62e0 29-Jul-2004 thughes <thughes@a5019735-40e9-0310-863c-91ae7b9d1cf9> Modified the fcntl system call so that only those reason codes which
can block (ie F_SETLKW) are treated as blocking.

This resolves the F_SETOWN problem described in bug #85969.


git-svn-id: svn://svn.valgrind.org/valgrind/trunk@2535 a5019735-40e9-0310-863c-91ae7b9d1cf9
cvsignore
akefile.am
cntl_setown.c
cntl_setown.stderr.exp
cntl_setown.stdout.exp
cntl_setown.vgtest
829878ea9e0c49240f5ffce72374472e71b521e1 25-Jul-2004 thughes <thughes@a5019735-40e9-0310-863c-91ae7b9d1cf9> Add instruction tests for the LFENCE/MFENCE/SFENCE instructions.


git-svn-id: svn://svn.valgrind.org/valgrind/trunk@2523 a5019735-40e9-0310-863c-91ae7b9d1cf9
en_insn_test.pl
nsn_mmxext.def
nsn_mmxext.stdout.exp
nsn_sse.def
nsn_sse.stdout.exp
nsn_sse2.def
nsn_sse2.stdout.exp
7f72d01b995d27ee311c97918f8fc43f5b54fe9d 21-Jul-2004 thughes <thughes@a5019735-40e9-0310-863c-91ae7b9d1cf9> Fix checking of execve() when argv is a null pointer.


git-svn-id: svn://svn.valgrind.org/valgrind/trunk@2520 a5019735-40e9-0310-863c-91ae7b9d1cf9
xecve.c
08fa9a789bd4747bb753fcbf53318c0de9426fc8 16-Jul-2004 nethercote <nethercote@a5019735-40e9-0310-863c-91ae7b9d1cf9> Slightly change, with J's approval, startup copyright messages to better
reflect reality.


git-svn-id: svn://svn.valgrind.org/valgrind/trunk@2489 a5019735-40e9-0310-863c-91ae7b9d1cf9
mdline1.stdout.exp
mdline2.stdout.exp
052ba6a0e971d57b2dc815f50a81ec0afc4020a8 10-Jul-2004 nethercote <nethercote@a5019735-40e9-0310-863c-91ae7b9d1cf9> Minor Makefile.am fix (doesn't actually change behaviour, because automake's
default rules meant 'execve' was being built anyway... but the fix at least
avoids confusion).


git-svn-id: svn://svn.valgrind.org/valgrind/trunk@2464 a5019735-40e9-0310-863c-91ae7b9d1cf9
akefile.am
bc0b1964dc917d4327e71a93ea8160da3da1e27a 28-Jun-2004 thughes <thughes@a5019735-40e9-0310-863c-91ae7b9d1cf9> Fixed typo in makefile.


git-svn-id: svn://svn.valgrind.org/valgrind/trunk@2448 a5019735-40e9-0310-863c-91ae7b9d1cf9
akefile.am
ad1c9563ffd6bbc7d617776256b65a924fd0130e 26-Jun-2004 thughes <thughes@a5019735-40e9-0310-863c-91ae7b9d1cf9> Implement an emulated soft limit for file descriptors in addition to
the current reserved area, which effectively acts as a hard limit. The
setrlimit system call now simply updates the emulated limits as best
as possible - the hard limit is not allowed to move at all and just
returns EPERM if you try and change it.

This should stop reductions in the soft limit causing assertions when
valgrind tries to allocate descriptors from the reserved area.


git-svn-id: svn://svn.valgrind.org/valgrind/trunk@2440 a5019735-40e9-0310-863c-91ae7b9d1cf9
cvsignore
akefile.am
limit_nofile.c
limit_nofile.stderr.exp
limit_nofile.stdout.exp
limit_nofile.vgtest
d84cf525eed5aa7a89d6017c1f75af9892337bed 22-Jun-2004 nethercote <nethercote@a5019735-40e9-0310-863c-91ae7b9d1cf9> Update .cvsignore files


git-svn-id: svn://svn.valgrind.org/valgrind/trunk@2434 a5019735-40e9-0310-863c-91ae7b9d1cf9
cvsignore
0d5885069e39a966c4fb9e8b04ae475aafa300dd 21-Jun-2004 nethercote <nethercote@a5019735-40e9-0310-863c-91ae7b9d1cf9> Streamlined --help message a bit.


git-svn-id: svn://svn.valgrind.org/valgrind/trunk@2430 a5019735-40e9-0310-863c-91ae7b9d1cf9
mdline1.stdout.exp
mdline2.stdout.exp
f854867c39a3697ca53e417447048d0cc3ff8a87 21-Jun-2004 nethercote <nethercote@a5019735-40e9-0310-863c-91ae7b9d1cf9> Renamed the following options:

--logfile-fd --> --log-fd
--logfile --> --log-file
--logsocket --> --log-socket

to be consistent with each other and other options (esp. --input-fd). Also
renamed some related variables. The old names still work, for backwards
compatibility, but they're not documented.


git-svn-id: svn://svn.valgrind.org/valgrind/trunk@2429 a5019735-40e9-0310-863c-91ae7b9d1cf9
mdline1.stdout.exp
mdline2.stdout.exp
4b9e0159666e8fb021e4bae3bf7b868f8f22c227 19-Jun-2004 thughes <thughes@a5019735-40e9-0310-863c-91ae7b9d1cf9> Don't try and validate the contents of the environment passed to
the execve system call if the envp pointer is null as it causes
valgrind to die with a segmentation fault.

CCMAIL: 83573-done@bugs.kde.org


git-svn-id: svn://svn.valgrind.org/valgrind/trunk@2427 a5019735-40e9-0310-863c-91ae7b9d1cf9
akefile.am
xecve.c
xecve.stderr.exp
xecve.stdout.exp
xecve.vgtest
a76368b71cb31941d1dd11340b508f065bdfd210 16-Jun-2004 nethercote <nethercote@a5019735-40e9-0310-863c-91ae7b9d1cf9> Reinstate -h option, which disappeared at some point.


git-svn-id: svn://svn.valgrind.org/valgrind/trunk@2420 a5019735-40e9-0310-863c-91ae7b9d1cf9
mdline1.stdout.exp
mdline2.stdout.exp
e2be7e68a11ef80dccb78bf7d824f4318441b634 16-Jun-2004 nethercote <nethercote@a5019735-40e9-0310-863c-91ae7b9d1cf9> Removed documentation references to the 'ioctl-VTIME' and 'truncate-writes'
weird hacks, which no longer exist thanks to the proxy lwp stuff.


git-svn-id: svn://svn.valgrind.org/valgrind/trunk@2419 a5019735-40e9-0310-863c-91ae7b9d1cf9
mdline1.stdout.exp
mdline2.stdout.exp
f4928da3dcf75e364ed0636c25ddcff856ec6ca8 15-Jun-2004 nethercote <nethercote@a5019735-40e9-0310-863c-91ae7b9d1cf9> Fixed up various command line option scenarios:
- If no tool is specified, V now gives a short message and a list of
available tools. This was meant to happen previously, but a bug prevented
it from working properly; it gave the usage message instead.

- If a bad option is given, V now gives a short message rather than the full
--help. This make V consistent with all other programs I looked at.

- Now returning 0 when you do 'valgrind --help' and 'valgrind --version'
as other programs do.

- Removed VG_(startup_logging)() and VG_(shutdown_logging)() as they were
empty and have been for a long time (always?).

- Added various tests for these scenarios. Had to change the regtest
script slightly to allow for malformed command lines.

This addresses bug (wishlist) #82999.


git-svn-id: svn://svn.valgrind.org/valgrind/trunk@2418 a5019735-40e9-0310-863c-91ae7b9d1cf9
akefile.am
mdline1.stderr.exp
mdline1.stdout.exp
mdline1.vgtest
mdline2.stderr.exp
mdline2.stdout.exp
mdline2.vgtest
mdline3.stderr.exp
mdline3.vgtest
mdline4.stderr.exp
mdline4.vgtest
mdline5.stderr.exp
mdline5.vgtest
mdline6.stderr.exp
mdline6.vgtest
b2d43ba3d94bae8c07a3a4b323cbb4d3c4206b6b 14-Jun-2004 thughes <thughes@a5019735-40e9-0310-863c-91ae7b9d1cf9> Don't bother trying to test semtimedop if it isn't available.


git-svn-id: svn://svn.valgrind.org/valgrind/trunk@2416 a5019735-40e9-0310-863c-91ae7b9d1cf9
em.c
2c52e7d01c8c0ca1455fc300e3a28cb3e6d93cef 14-Jun-2004 thughes <thughes@a5019735-40e9-0310-863c-91ae7b9d1cf9> Include config.h so that the test for semtimedop works.


git-svn-id: svn://svn.valgrind.org/valgrind/trunk@2415 a5019735-40e9-0310-863c-91ae7b9d1cf9
em.c
beb6eb9df1e2b467660322230f3b1968de47f5fa 14-Jun-2004 thughes <thughes@a5019735-40e9-0310-863c-91ae7b9d1cf9> Fixed the sem test to work on systems with semtimedop.


git-svn-id: svn://svn.valgrind.org/valgrind/trunk@2414 a5019735-40e9-0310-863c-91ae7b9d1cf9
em.c
0376628775c0f5bed98ba28f3523961b37af0cab 13-Jun-2004 thughes <thughes@a5019735-40e9-0310-863c-91ae7b9d1cf9> Add support for the semtimedop system call.

Based on patch from Peter Knaggs <sedragdnuon@yahoo.com>.

CCMAIL: 79714-done@bugs.kde.org


git-svn-id: svn://svn.valgrind.org/valgrind/trunk@2410 a5019735-40e9-0310-863c-91ae7b9d1cf9
akefile.am
em.c
em.stderr.exp
em.stdout.exp
em.vgtest
975d6e61f60deda844bb66db55eb63c6cd472652 01-Apr-2004 thughes <thughes@a5019735-40e9-0310-863c-91ae7b9d1cf9> Added more floating point instruction tests.


git-svn-id: svn://svn.valgrind.org/valgrind/trunk@2347 a5019735-40e9-0310-863c-91ae7b9d1cf9
en_insn_test.pl
nsn_fpu.def
nsn_fpu.stdout.exp
86da2522c9b77577f4be2ccc7114d86403c9092b 28-Mar-2004 thughes <thughes@a5019735-40e9-0310-863c-91ae7b9d1cf9> Added more floating point instruction tests.


git-svn-id: svn://svn.valgrind.org/valgrind/trunk@2343 a5019735-40e9-0310-863c-91ae7b9d1cf9
nsn_fpu.def
nsn_fpu.stdout.exp
6c41ee17c2d56c21efa36436641ea965802b7845 28-Mar-2004 thughes <thughes@a5019735-40e9-0310-863c-91ae7b9d1cf9> Fix typo that broke tests which compared the contents of eflags.


git-svn-id: svn://svn.valgrind.org/valgrind/trunk@2342 a5019735-40e9-0310-863c-91ae7b9d1cf9
en_insn_test.pl
17fe140741977deefa8d993afdd49b4d8895a254 28-Mar-2004 thughes <thughes@a5019735-40e9-0310-863c-91ae7b9d1cf9> Ignore generated files from insn_fpu test.


git-svn-id: svn://svn.valgrind.org/valgrind/trunk@2341 a5019735-40e9-0310-863c-91ae7b9d1cf9
cvsignore
bcf95902300c760e66ca07cb46fb6a0a6798da15 28-Mar-2004 thughes <thughes@a5019735-40e9-0310-863c-91ae7b9d1cf9> Added tests for floating point multiple and divide instructions.


git-svn-id: svn://svn.valgrind.org/valgrind/trunk@2340 a5019735-40e9-0310-863c-91ae7b9d1cf9
nsn_fpu.def
nsn_fpu.stdout.exp
b76f0dcfccd0b78beb8c1fc0dbfb59a7f6173031 27-Mar-2004 thughes <thughes@a5019735-40e9-0310-863c-91ae7b9d1cf9> Extended instruction test system to handle x87 floating point instructions
and started working on adding tests for the x87 instruction set.


git-svn-id: svn://svn.valgrind.org/valgrind/trunk@2338 a5019735-40e9-0310-863c-91ae7b9d1cf9
akefile.am
en_insn_test.pl
nsn_fpu.def
nsn_fpu.stderr.exp
nsn_fpu.stdout.exp
nsn_fpu.vgtest
149f699002bc2282267e648d0a44f49bfe288065 23-Mar-2004 thughes <thughes@a5019735-40e9-0310-863c-91ae7b9d1cf9> Added some extra .cvsignore entries.


git-svn-id: svn://svn.valgrind.org/valgrind/trunk@2337 a5019735-40e9-0310-863c-91ae7b9d1cf9
cvsignore
4dea4ab9de13c76ee93ae81373432cdecc6d6377 23-Mar-2004 thughes <thughes@a5019735-40e9-0310-863c-91ae7b9d1cf9> Commit rewrite of semaphore handling to avoid having a fixed upper
limit. Patch courtesy of Aleksander Salwa <A.Salwa@osmosys.tv>.


git-svn-id: svn://svn.valgrind.org/valgrind/trunk@2336 a5019735-40e9-0310-863c-91ae7b9d1cf9
akefile.am
emlimit.c
emlimit.stderr.exp
emlimit.stdout.exp
emlimit.vgtest
59cfddccea4da52ab7b2a85964043d4f8f018754 17-Mar-2004 fitzhardinge <fitzhardinge@a5019735-40e9-0310-863c-91ae7b9d1cf9> Add susphello test, which has turned up a number of interesting bugs


git-svn-id: svn://svn.valgrind.org/valgrind/trunk@2333 a5019735-40e9-0310-863c-91ae7b9d1cf9
akefile.am
usphello.c
usphello.stderr.exp
usphello.stdout.exp
usphello.vgtest
e712c4237ed3f8dc4c27beb127da1b15280a1b3b 16-Mar-2004 thughes <thughes@a5019735-40e9-0310-863c-91ae7b9d1cf9> Ignore valgrind core files.


git-svn-id: svn://svn.valgrind.org/valgrind/trunk@2329 a5019735-40e9-0310-863c-91ae7b9d1cf9
cvsignore
a7f0da5a7f48b36ccd925ec6824838be345fd338 16-Mar-2004 thughes <thughes@a5019735-40e9-0310-863c-91ae7b9d1cf9> Added badseg to the list of things to ignore.


git-svn-id: svn://svn.valgrind.org/valgrind/trunk@2328 a5019735-40e9-0310-863c-91ae7b9d1cf9
cvsignore
18467b76af07a773085162cf0ecbd301ecf1a9ec 16-Mar-2004 thughes <thughes@a5019735-40e9-0310-863c-91ae7b9d1cf9> Filter out the ": core dumped" message from test results as the user
running the tests might have a ulimit set that prevents the core dumps.


git-svn-id: svn://svn.valgrind.org/valgrind/trunk@2327 a5019735-40e9-0310-863c-91ae7b9d1cf9
nt.stderr.exp
a41a266b3bd0c77f58b2071ad9ac20e92e411304 16-Mar-2004 thughes <thughes@a5019735-40e9-0310-863c-91ae7b9d1cf9> Fixed compiler warning.


git-svn-id: svn://svn.valgrind.org/valgrind/trunk@2326 a5019735-40e9-0310-863c-91ae7b9d1cf9
adseg.c
047e49d8ae190128fde9c98b66123daa94ce48c8 16-Mar-2004 thughes <thughes@a5019735-40e9-0310-863c-91ae7b9d1cf9> Added the new badseg test to the list of things to build.


git-svn-id: svn://svn.valgrind.org/valgrind/trunk@2325 a5019735-40e9-0310-863c-91ae7b9d1cf9
akefile.am
f1beb25f6d91e1bef0165127903d35a96f708261 16-Mar-2004 fitzhardinge <fitzhardinge@a5019735-40e9-0310-863c-91ae7b9d1cf9> This change does two things: one is the implementation of
VG_(synth_fault_*), which synthesize faults as if an instruction had
caused a CPU fault. This is used in two places: one in vg_translate.c,
when trying to fetch instructions from bad memory, and the other in
vg_ldt.c, when using a bad segment register. This fixes a bug where an
assertion would fail rather than getting a useful message.


git-svn-id: svn://svn.valgrind.org/valgrind/trunk@2324 a5019735-40e9-0310-863c-91ae7b9d1cf9
adseg.c
adseg.stderr.exp
adseg.stdout.exp
adseg.vgtest
a02aee166aec6b0dc2a8b3558d320efa594f0dfe 15-Mar-2004 thughes <thughes@a5019735-40e9-0310-863c-91ae7b9d1cf9> Fix compiler warnings.


git-svn-id: svn://svn.valgrind.org/valgrind/trunk@2317 a5019735-40e9-0310-863c-91ae7b9d1cf9
ushpopseg.c
e3c6b6f62cdfca31a9df0332817c3ddf062656ca 12-Mar-2004 fitzhardinge <fitzhardinge@a5019735-40e9-0310-863c-91ae7b9d1cf9> Fix "make distcheck", and also make sure that the generated archive
contains everything needed to "make regtest". Bump the version.


git-svn-id: svn://svn.valgrind.org/valgrind/trunk@2308 a5019735-40e9-0310-863c-91ae7b9d1cf9
akefile.am
91e082b79aa2860b9df87b2d74ba5c54f6e7e3d3 06-Mar-2004 thughes <thughes@a5019735-40e9-0310-863c-91ae7b9d1cf9> Treat INT with an operand other than 0x80 as an undefined instruction.
CCMAIL: 76839-done@bugs.kde.org


git-svn-id: svn://svn.valgrind.org/valgrind/trunk@2291 a5019735-40e9-0310-863c-91ae7b9d1cf9
cvsignore
akefile.am
ilter_int
nt.c
nt.stderr.exp
nt.stdout.exp
nt.vgtest
0ee72efad1a75d332ac7d1d01c84efdebf32c7a1 05-Mar-2004 thughes <thughes@a5019735-40e9-0310-863c-91ae7b9d1cf9> Add support for 16 bit pushes and pops of segment registers to
fix bug #76762.


git-svn-id: svn://svn.valgrind.org/valgrind/trunk@2288 a5019735-40e9-0310-863c-91ae7b9d1cf9
cvsignore
akefile.am
ushpopseg.c
ushpopseg.stderr.exp
ushpopseg.stdout.exp
ushpopseg.vgtest
5b6e3af75a8cf73ffd5336afb6ccad5db48370dd 23-Feb-2004 mueller <mueller@a5019735-40e9-0310-863c-91ae7b9d1cf9> patch by Tom Hughes to make it work with gcc 2.96


git-svn-id: svn://svn.valgrind.org/valgrind/trunk@2264 a5019735-40e9-0310-863c-91ae7b9d1cf9
en_insn_test.pl
74729ef7cfb66a63aed348eb64d3bef4406c8c2e 22-Feb-2004 nethercote <nethercote@a5019735-40e9-0310-863c-91ae7b9d1cf9> Update and add various .cvsignore files.


git-svn-id: svn://svn.valgrind.org/valgrind/trunk@2260 a5019735-40e9-0310-863c-91ae7b9d1cf9
cvsignore
fa383eb9b459be458b45ffa8f1df51c6c2d42990 21-Feb-2004 mueller <mueller@a5019735-40e9-0310-863c-91ae7b9d1cf9> sigh


git-svn-id: svn://svn.valgrind.org/valgrind/trunk@2256 a5019735-40e9-0310-863c-91ae7b9d1cf9
akefile.am
ls.vgtest
0e9f1335673dce29d4adf0d199104eead4a4bb8d 20-Feb-2004 mueller <mueller@a5019735-40e9-0310-863c-91ae7b9d1cf9> get rid of the thread local storage tests until somebody
writes a configure check for them.


git-svn-id: svn://svn.valgrind.org/valgrind/trunk@2255 a5019735-40e9-0310-863c-91ae7b9d1cf9
akefile.am
a3d718e5040e285c7aa5647732c75163af9e7616 15-Feb-2004 nethercote <nethercote@a5019735-40e9-0310-863c-91ae7b9d1cf9> Fix so that new versions of system (using clone()) work.


git-svn-id: svn://svn.valgrind.org/valgrind/trunk@2253 a5019735-40e9-0310-863c-91ae7b9d1cf9
ystem.c
ystem.stderr.exp
ystem.vgtest
009259b6602157efac38ad6095cb8e5886d14b3f 15-Feb-2004 nethercote <nethercote@a5019735-40e9-0310-863c-91ae7b9d1cf9> whoops


git-svn-id: svn://svn.valgrind.org/valgrind/trunk@2252 a5019735-40e9-0310-863c-91ae7b9d1cf9
akefile.am
loseall.c
loseall.stderr.exp
loseall.vgtest
535f03b4e6b8a7ecea469053b1355b20e3bfc036 15-Feb-2004 nethercote <nethercote@a5019735-40e9-0310-863c-91ae7b9d1cf9> This patch fixes getrlimit(RLIMIT_FILENO) to return VG_(max_fd) as the soft
limit for file descriptors to try and prevent the target programming realising
that the reserved file descriptors exist. It also appears to fix
sysconf(_SC_OPEN_MAX) so that must be going through the same system call.


git-svn-id: svn://svn.valgrind.org/valgrind/trunk@2250 a5019735-40e9-0310-863c-91ae7b9d1cf9
akefile.am
5a9840842fae7ee4c80c57a049f07644fbfe5a89 14-Feb-2004 nethercote <nethercote@a5019735-40e9-0310-863c-91ae7b9d1cf9> Remove compile warnings.


git-svn-id: svn://svn.valgrind.org/valgrind/trunk@2248 a5019735-40e9-0310-863c-91ae7b9d1cf9
en_insn_test.pl
25e73afb5cc72e4675129d2aa191ccdc57f3fba2 12-Feb-2004 nethercote <nethercote@a5019735-40e9-0310-863c-91ae7b9d1cf9> Add files I forgot to when I committed Tom Hughes' patch for bug 73907.


git-svn-id: svn://svn.valgrind.org/valgrind/trunk@2243 a5019735-40e9-0310-863c-91ae7b9d1cf9
nsn_basic.def
nsn_basic.stderr.exp
nsn_basic.stdout.exp
nsn_basic.vgtest
nsn_cmov.def
nsn_cmov.stderr.exp
nsn_cmov.stdout.exp
nsn_cmov.vgtest
nsn_mmxext.def
nsn_mmxext.stderr.exp
nsn_mmxext.stdout.exp
nsn_mmxext.vgtest
1018bdd2cba920fd768aba7e4c8a823a6cbdf17b 12-Feb-2004 nethercote <nethercote@a5019735-40e9-0310-863c-91ae7b9d1cf9> Heroic patch from Tom Hughes:

This patch adds translation tests for most of the basic x86 instructions and
fixes a few missing/broken instructions to work properly.


git-svn-id: svn://svn.valgrind.org/valgrind/trunk@2242 a5019735-40e9-0310-863c-91ae7b9d1cf9
akefile.am
en_insn_test.pl
nsn_mmx.def
nsn_sse.def
nsn_sse2.def
47735af6c44b5f206d5e418aac87a1dbdf9df185 21-Jan-2004 fitzhardinge <fitzhardinge@a5019735-40e9-0310-863c-91ae7b9d1cf9> This change implements the TLS extension to the x86 ABI. This allows
threads to have thread-private data which is quickly accessible via a
segment in the GDT, stored in %gs. The patch implements the relevent
syscalls (setthreadarea), and also manages switching the VCPU's segment
information at thread context-switch time. Mostly Tom Hughes' work.


git-svn-id: svn://svn.valgrind.org/valgrind/trunk@2215 a5019735-40e9-0310-863c-91ae7b9d1cf9
akefile.am
eg_override.c
ls.c
ls.stderr.exp
ls.stdout.exp
ls.vgtest
ls2.c
ls2_so.c
ls_so.c
0c108993fa3b9c31d12ecac50d28d3ba350fbb02 21-Jan-2004 fitzhardinge <fitzhardinge@a5019735-40e9-0310-863c-91ae7b9d1cf9> Hasn't this been added already?


git-svn-id: svn://svn.valgrind.org/valgrind/trunk@2213 a5019735-40e9-0310-863c-91ae7b9d1cf9
xec-sigmask.vgtest
288b7669283b2bb5938da7de7111e57558f5828e 20-Jan-2004 nethercote <nethercote@a5019735-40e9-0310-863c-91ae7b9d1cf9> Adding files from Tom Hughes' SSE-completion patch, which I forgot yesterday.


git-svn-id: svn://svn.valgrind.org/valgrind/trunk@2209 a5019735-40e9-0310-863c-91ae7b9d1cf9
en_insn_test.pl
nsn_mmx.def
nsn_mmx.stderr.exp
nsn_mmx.stdout.exp
nsn_mmx.vgtest
nsn_sse.def
nsn_sse.stderr.exp
nsn_sse.stdout.exp
nsn_sse.vgtest
nsn_sse2.def
nsn_sse2.stderr.exp
nsn_sse2.stdout.exp
nsn_sse2.vgtest
f1024cc87b918397e0ae1d7b66854315695d90ff 19-Jan-2004 fitzhardinge <fitzhardinge@a5019735-40e9-0310-863c-91ae7b9d1cf9> Reduce the pounding.


git-svn-id: svn://svn.valgrind.org/valgrind/trunk@2206 a5019735-40e9-0310-863c-91ae7b9d1cf9
ap_unmap.c
b1affa88ef798064014f9657fa6bb4a8501fdbf8 19-Jan-2004 nethercote <nethercote@a5019735-40e9-0310-863c-91ae7b9d1cf9> Patch from Tom Hughes, for bug 72643:

Patch to improve SSE/SS2 support

This patch should implement most of the missing SSE/SSE2 opcodes. About
the only ones it doesn't do are the MASKMOVxxx ones as they are quite
horrible and involved an implicit reference to EDI so I need to think
about them a bit more.

The patch also includes a set of tests for the MMX/SSE/SSE2 opcodes to
validate that they have the same effect under valgrind as they do when
run normally. In one or two cases this wasn't actually the case even
for some of the implemented opcodes, so I fixed those as well ;-)


git-svn-id: svn://svn.valgrind.org/valgrind/trunk@2202 a5019735-40e9-0310-863c-91ae7b9d1cf9
akefile.am
6263a654b7d08e625ce3891696e595fa8a65039c 16-Jan-2004 fitzhardinge <fitzhardinge@a5019735-40e9-0310-863c-91ae7b9d1cf9> Oops, add missing file.


git-svn-id: svn://svn.valgrind.org/valgrind/trunk@2200 a5019735-40e9-0310-863c-91ae7b9d1cf9
xec-sigmask.c
ed9fe489c87e80dbe83a78afb2ac99a1a44f4188 16-Jan-2004 fitzhardinge <fitzhardinge@a5019735-40e9-0310-863c-91ae7b9d1cf9> Add other .exp file for exec-sigmask.


git-svn-id: svn://svn.valgrind.org/valgrind/trunk@2199 a5019735-40e9-0310-863c-91ae7b9d1cf9
xec-sigmask.stdout.exp
f0dd7e17450a6f89629bf519c8d78f5e4cc5c823 16-Jan-2004 fitzhardinge <fitzhardinge@a5019735-40e9-0310-863c-91ae7b9d1cf9> Fix bug 72484. Set the process signal mask to match the client's before
running exec.


git-svn-id: svn://svn.valgrind.org/valgrind/trunk@2198 a5019735-40e9-0310-863c-91ae7b9d1cf9
akefile.am
xec-sigmask.stderr.exp
31ba905cf7b735d578635a4e29af6f1a25da0a3b 16-Jan-2004 fitzhardinge <fitzhardinge@a5019735-40e9-0310-863c-91ae7b9d1cf9> Fix bug 72650. Only restart syscalls on signal if the client asked for it.


git-svn-id: svn://svn.valgrind.org/valgrind/trunk@2197 a5019735-40e9-0310-863c-91ae7b9d1cf9
akefile.am
yscall-restart1.c
yscall-restart1.stderr.exp
yscall-restart1.stdout.exp
yscall-restart1.vgtest
yscall-restart2.c
yscall-restart2.stderr.exp
yscall-restart2.stdout.exp
yscall-restart2.vgtest
0996fa638d8892dce42833095cf9f6c9a8d4fbf4 06-Jan-2004 fitzhardinge <fitzhardinge@a5019735-40e9-0310-863c-91ae7b9d1cf9> Make fork test deterministic.


git-svn-id: svn://svn.valgrind.org/valgrind/trunk@2190 a5019735-40e9-0310-863c-91ae7b9d1cf9
ork.c
ork.stderr.exp
ork.vgtest
2aeb3f70caf5cdf308d592ad9468adadebaa2bdc 03-Jan-2004 mueller <mueller@a5019735-40e9-0310-863c-91ae7b9d1cf9> CVS_SILENT ignore


git-svn-id: svn://svn.valgrind.org/valgrind/trunk@2173 a5019735-40e9-0310-863c-91ae7b9d1cf9
cvsignore
b3a8929e200dde791a8ce468e461d183051b5134 03-Jan-2004 mueller <mueller@a5019735-40e9-0310-863c-91ae7b9d1cf9> make it compile on FreeBSD


git-svn-id: svn://svn.valgrind.org/valgrind/trunk@2169 a5019735-40e9-0310-863c-91ae7b9d1cf9
cvsignore
itfield1.c
ap_unmap.c
unmap_exe.c
esolv.c
ha1_test.c
e3632c6a43db5597e4e9dae96d08deff1baa49a9 22-Dec-2003 fitzhardinge <fitzhardinge@a5019735-40e9-0310-863c-91ae7b9d1cf9> Fixed munmap bug - split_segment wasn't updating the lengths properly.
Turn off debug printing.


git-svn-id: svn://svn.valgrind.org/valgrind/trunk@2144 a5019735-40e9-0310-863c-91ae7b9d1cf9
ap_unmap.c
1a30304e41211cac4b0f368e1a419925a9a38774 22-Dec-2003 fitzhardinge <fitzhardinge@a5019735-40e9-0310-863c-91ae7b9d1cf9> Re-add proper support for mremap(). Also, fix a bug in munmap().


git-svn-id: svn://svn.valgrind.org/valgrind/trunk@2142 a5019735-40e9-0310-863c-91ae7b9d1cf9
akefile.am
remap.c
remap.stderr.exp
remap.stdout.exp
remap.vgtest
d5605a08612dbf5bd1715576e4f51bd8a5e37ee9 19-Dec-2003 fitzhardinge <fitzhardinge@a5019735-40e9-0310-863c-91ae7b9d1cf9> mmap/munmap exerciser test


git-svn-id: svn://svn.valgrind.org/valgrind/trunk@2134 a5019735-40e9-0310-863c-91ae7b9d1cf9
akefile.am
ap_unmap.c
ap_unmap.stderr.exp
ap_unmap.stdout.exp
ap_unmap.vgtest
01179d139b8a8ec4a42e947fae65838ac51c3ddf 18-Dec-2003 fitzhardinge <fitzhardinge@a5019735-40e9-0310-863c-91ae7b9d1cf9> Sigh. Add the test files.


git-svn-id: svn://svn.valgrind.org/valgrind/trunk@2130 a5019735-40e9-0310-863c-91ae7b9d1cf9
ield.c
ield.stderr.exp
ield.stdout.exp
ield.vgtest
a02f881ece27c7927ddf48cebbe0aa84f9ecbd5d 18-Dec-2003 fitzhardinge <fitzhardinge@a5019735-40e9-0310-863c-91ae7b9d1cf9> Make rep; nop (pause) yield the thread. Based on a patch by Tom Hughes;
I added a test case and cleaned up vg_dispatch.S while I was about it.
CCMAIL: 69529-done@bugs.kde.org


git-svn-id: svn://svn.valgrind.org/valgrind/trunk@2129 a5019735-40e9-0310-863c-91ae7b9d1cf9
akefile.am
98abfc7bb7798c4ac4580f7e0bc7171de94a0255 16-Dec-2003 fitzhardinge <fitzhardinge@a5019735-40e9-0310-863c-91ae7b9d1cf9> This jumbo-checkin is the Full Virtualization checkin. This eliminates
Valgrind's dependency on the dynamic linker for getting started, and
instead takes things into its own hands.

This checkin doesn't add much in the way of new functionality, but it
is the basis for all future work on Valgrind. It allows us much more
flexibility in implementation, and well as increasing the reliability
of Valgrind by protecting it more from its clients.

This patch requires some changes to tools to update them to the changes
in the tool API, but they are straightforward. See the posting "Heads
up: Full Virtualization" on valgrind-developers for a more complete
description of this change and its effects on you.


git-svn-id: svn://svn.valgrind.org/valgrind/trunk@2118 a5019735-40e9-0310-863c-91ae7b9d1cf9
akefile.am
mc1.c
mc1.stdout.exp
851b0f65870fc1f93f21d7f00c3702916cbdd4e7 14-Nov-2003 nethercote <nethercote@a5019735-40e9-0310-863c-91ae7b9d1cf9> Removed no-longer-needed declarations of __SOME_SKIN_H.


git-svn-id: svn://svn.valgrind.org/valgrind/trunk@2025 a5019735-40e9-0310-863c-91ae7b9d1cf9
iscard.c
c5918d9837dbb247e94d2ba220a46c4f9808d5e2 14-Oct-2003 jsgf <jsgf@a5019735-40e9-0310-863c-91ae7b9d1cf9> We expect new output with the syscalls changes.


git-svn-id: svn://svn.valgrind.org/valgrind/trunk@1924 a5019735-40e9-0310-863c-91ae7b9d1cf9
ork.stderr.exp
a2c92edb815b68f1e6d3de3a685a64c94f06b058 29-Jun-2003 njn <njn@a5019735-40e9-0310-863c-91ae7b9d1cf9> Fixed cpuid regtest, which was broken by the switch to using the machine's real
CPUID.

Also added filters to Makefiles where missing; "make regtest" was broken
within distributions created using "make dist", now fixed.


git-svn-id: svn://svn.valgrind.org/valgrind/trunk@1709 a5019735-40e9-0310-863c-91ae7b9d1cf9
akefile.am
puid.stdout.exp
puid.vgtest
ilter_cpuid
a63e2d70a696a8936664772bf1d9af1b0b5d5ea7 12-Jun-2003 njn <njn@a5019735-40e9-0310-863c-91ae7b9d1cf9> Some Makefile.am changes. Lots of them affected:

- changed deprecated INCLUDES variable to AM_CPPFLAGS

- moved the -DVG_LIBDIR definition from AM_CFLAGS into AM_CPPFLAGS

- generally neatened them up a bit -- removed old commented out stuff, fixed a
couple of other minor things

Everything works for me, hopefully it won't break things for anyone else...


git-svn-id: svn://svn.valgrind.org/valgrind/trunk@1680 a5019735-40e9-0310-863c-91ae7b9d1cf9
akefile.am
c42d8bc42f2c8ad517d306b17d9348f1bf677bb9 17-Apr-2003 daywalker <daywalker@a5019735-40e9-0310-863c-91ae7b9d1cf9> reapply automake fixes. make check will now generate the binaries which
are only required for regression testing.

If this breaks something, please mail me first instead of reverting.
Thank you.


git-svn-id: svn://svn.valgrind.org/valgrind/trunk@1530 a5019735-40e9-0310-863c-91ae7b9d1cf9
akefile.am
0e1b514ab8e837f75a207a037ea53a6a721e9d28 15-Apr-2003 njn <njn@a5019735-40e9-0310-863c-91ae7b9d1cf9> Updated copyright notices for 2003. Only 4 months late.


git-svn-id: svn://svn.valgrind.org/valgrind/trunk@1526 a5019735-40e9-0310-863c-91ae7b9d1cf9
ha1_test.c
218eba7a3395fd5e068c2ae912b8752b1788d9e9 08-Apr-2003 njn <njn@a5019735-40e9-0310-863c-91ae7b9d1cf9> wibble


git-svn-id: svn://svn.valgrind.org/valgrind/trunk@1523 a5019735-40e9-0310-863c-91ae7b9d1cf9
cvsignore
46930da6941099585d8145e29b4c84078bcaa9d7 08-Apr-2003 njn <njn@a5019735-40e9-0310-863c-91ae7b9d1cf9> Added regression test from Dominic Mazzoni for FPU lazy eflags update bug that
was fixed in coregrind/vg_from_ucode.c v1.42.


git-svn-id: svn://svn.valgrind.org/valgrind/trunk@1520 a5019735-40e9-0310-863c-91ae7b9d1cf9
akefile.am
pu_lazy_eflags.c
pu_lazy_eflags.stderr.exp
pu_lazy_eflags.stdout.exp
pu_lazy_eflags.vgtest
d8ced86d011bbc4069433f08096a5ad854d1a6e4 08-Apr-2003 njn <njn@a5019735-40e9-0310-863c-91ae7b9d1cf9> Removed support for the 1.0.X series from the regression test suite -- this
was present from before the core/skin split, which is now dead. Means the
script is slightly simpler, and we can dispense with lots of expected
foo.stderr.hd files.

Also undid accidental change to required Automake version in main Makefile.am
from my last commit, whoops.


git-svn-id: svn://svn.valgrind.org/valgrind/trunk@1518 a5019735-40e9-0310-863c-91ae7b9d1cf9
akefile.am
rgs.stderr.exp.hd
itfield1.stderr.exp.hd
t_everything.stderr.exp.hd
t_literal.stderr.exp.hd
oolo_sigaction.stderr.exp.hd
oolo_strlen.stderr.exp.hd
puid.stderr.exp.hd
astest.stderr.exp.hd
iscard.stderr.exp.hd
loored.stderr.exp.hd
ork.stderr.exp.hd
ucomip.stderr.exp.hd
xx304.stderr.exp.hd
unmap_exe.stderr.exp.hd
th_blockedsig.stderr.exp.hd
cl_assert.stderr.exp.hd
crl.stderr.exp.hd
eadline1.stderr.exp.hd
esolv.stderr.exp.hd
eg_override.stderr.exp.hd
ha1_test.stderr.exp.hd
hortpush.stderr.exp.hd
horts.stderr.exp.hd
mc1.stderr.exp.hd
aac2c6851a3069b33afa8e754b61a5f1760f6983 03-Apr-2003 daywalker <daywalker@a5019735-40e9-0310-863c-91ae7b9d1cf9> fix this test for me. You can't rely on having exactly 3 nameservers
configured in your system, can you?


git-svn-id: svn://svn.valgrind.org/valgrind/trunk@1494 a5019735-40e9-0310-863c-91ae7b9d1cf9
esolv.c
esolv.stdout.exp
819a8f74459bf21a4d739db1fb8a244cbcfeddc1 31-Mar-2003 njn <njn@a5019735-40e9-0310-863c-91ae7b9d1cf9> Updated the `cpuid' regression test for the new MMX-enabled behaviour.


git-svn-id: svn://svn.valgrind.org/valgrind/trunk@1491 a5019735-40e9-0310-863c-91ae7b9d1cf9
puid.stdout.exp
e12a45f959d07b8f01b1d53fd9cc23e670583434 15-Mar-2003 sewardj <sewardj@a5019735-40e9-0310-863c-91ae7b9d1cf9> Duh. Make the system buildable again following recent commit
of include/valgrind.h rev 1.10.

MERGE TO STABLE


git-svn-id: svn://svn.valgrind.org/valgrind/trunk@1459 a5019735-40e9-0310-863c-91ae7b9d1cf9
iscard.c
67aa818e0922c1c68e66b13c3260811728c041d7 01-Mar-2003 sewardj <sewardj@a5019735-40e9-0310-863c-91ae7b9d1cf9> Change a bunch of AM_CFLAGS, AM_CXXFLAGS to CFLAGS, CXXFLAGS.
The AM_ versions totally break compilation on RH6.2.


git-svn-id: svn://svn.valgrind.org/valgrind/trunk@1447 a5019735-40e9-0310-863c-91ae7b9d1cf9
akefile.am
7db3f38aab2fb95990107b4d58343f6cc8930f9a 26-Feb-2003 sewardj <sewardj@a5019735-40e9-0310-863c-91ae7b9d1cf9> Make CXXFLAGS be the same as AM_CXXFLAGS, so the correct options are
used to build the regression tests. I don't know if this is really
the correct way to fix this problem. I don't understand why
AM_CXXFLAGS aren't used by default for C++, seeing as how AM_CFLAGS
evidently are used for C sources.


git-svn-id: svn://svn.valgrind.org/valgrind/trunk@1445 a5019735-40e9-0310-863c-91ae7b9d1cf9
akefile.am
f5ef18563acdf6adea1c598c873ca7f096d5dde6 25-Feb-2003 daywalker <daywalker@a5019735-40e9-0310-863c-91ae7b9d1cf9> fix make distcheck with newer automake


git-svn-id: svn://svn.valgrind.org/valgrind/trunk@1443 a5019735-40e9-0310-863c-91ae7b9d1cf9
cvsignore
akefile.am
7d5b852b3ba0b215934abe3bff28018a88a24648 24-Feb-2003 njn <njn@a5019735-40e9-0310-863c-91ae7b9d1cf9> Added a regression test that checks if command line arguments with spaces work.


git-svn-id: svn://svn.valgrind.org/valgrind/trunk@1442 a5019735-40e9-0310-863c-91ae7b9d1cf9
akefile.am
rgs.c
rgs.stderr.exp
rgs.stderr.exp.hd
rgs.stdout.exp
rgs.vgtest
ce9d0f1440310e67743860814028441fe9c7cb5b 15-Dec-2002 sewardj <sewardj@a5019735-40e9-0310-863c-91ae7b9d1cf9> Also update this for new code manager.


git-svn-id: svn://svn.valgrind.org/valgrind/trunk@1378 a5019735-40e9-0310-863c-91ae7b9d1cf9
iscard.stderr.exp
e0bd5e4294f5fdbfaeb6afe541055beb82332f1e 30-Oct-2002 njn <njn@a5019735-40e9-0310-863c-91ae7b9d1cf9> Fixed minor problem in regtest script.

Added missing filter for none/tests.


git-svn-id: svn://svn.valgrind.org/valgrind/trunk@1270 a5019735-40e9-0310-863c-91ae7b9d1cf9
ilter_none_discards
4d5490d340b9c796c55c8755aab8b4a57fac1986 04-Oct-2002 njn <njn@a5019735-40e9-0310-863c-91ae7b9d1cf9> Moved discard, clientperm and clientstackperm from tests/ into the test
suite-proper, giving them .vgtest files and all that. They don't make sense
for 1.0.X because the client request constants are different in HEAD, indeed
one of them (clientperm) fails with --stable.

Also moved blocked_syscall.c from tests/ to tests/unused/.


git-svn-id: svn://svn.valgrind.org/valgrind/trunk@1181 a5019735-40e9-0310-863c-91ae7b9d1cf9
cvsignore
akefile.am
iscard.c
iscard.stderr.exp
iscard.stderr.exp.hd
iscard.stdout.exp
iscard.vgtest
912ec7c2d01204c17ec8b11dd430ac331e26525d 02-Oct-2002 njn <njn@a5019735-40e9-0310-863c-91ae7b9d1cf9> Added seg_override test. Note this test fails on the 1.0.X branch (if you use
the --stable option to the regression test script).


git-svn-id: svn://svn.valgrind.org/valgrind/trunk@1162 a5019735-40e9-0310-863c-91ae7b9d1cf9
cvsignore
akefile.am
eg_override.c
eg_override.stderr.exp
eg_override.stderr.exp.hd
eg_override.stdout.exp
eg_override.vgtest
b792bebcc639cdbfba999f4cc63a2689a3d40e06 01-Oct-2002 njn <njn@a5019735-40e9-0310-863c-91ae7b9d1cf9> Update and add .cvsignore files.


git-svn-id: svn://svn.valgrind.org/valgrind/trunk@1156 a5019735-40e9-0310-863c-91ae7b9d1cf9
cvsignore
fc76169ed9ea490d10ee6d538c18d23ddc7b8f72 01-Oct-2002 njn <njn@a5019735-40e9-0310-863c-91ae7b9d1cf9> Moved `resolv' into the test-suite-proper.


git-svn-id: svn://svn.valgrind.org/valgrind/trunk@1155 a5019735-40e9-0310-863c-91ae7b9d1cf9
akefile.am
esolv.c
esolv.stderr.exp
esolv.stderr.exp.hd
esolv.stdout.exp
esolv.vgtest
919800817b4be056500a584a74c4711d35cc9c00 27-Sep-2002 njn <njn@a5019735-40e9-0310-863c-91ae7b9d1cf9> Changed test so the output doesn't depend on the order in which the parent and
child run; this was random so the test was failing spuriously sometimes.


git-svn-id: svn://svn.valgrind.org/valgrind/trunk@1123 a5019735-40e9-0310-863c-91ae7b9d1cf9
ork.c
ork.stdout.exp
4d54243a442db401a84399a6a7bdc99ab6098faf 23-Sep-2002 njn25 <njn25@a5019735-40e9-0310-863c-91ae7b9d1cf9> Fixups to get "make dist" to work -- mostly involving regression test files.


git-svn-id: svn://svn.valgrind.org/valgrind/trunk@1099 a5019735-40e9-0310-863c-91ae7b9d1cf9
akefile.am
936159b8527b9af4508da8f68e9ca7ccf8a3a497 23-Sep-2002 njn25 <njn25@a5019735-40e9-0310-863c-91ae7b9d1cf9> Added .cvsignore file.


git-svn-id: svn://svn.valgrind.org/valgrind/trunk@1092 a5019735-40e9-0310-863c-91ae7b9d1cf9
cvsignore
cac76cb18577b9c51d331f56e8ea241f6effaf31 23-Sep-2002 njn25 <njn25@a5019735-40e9-0310-863c-91ae7b9d1cf9> Changed lots of files for the new core/ + skin/ directory structure:

- changed lots of Makefile.am files
- changed configure.in
- changed lots of #include lines for changed file names
- changed lots of file headers n footers for changed file names
- changed vg_regtest to handle new directory structure -- recursively
traverses subdirectories for .vgtest test files
- changed lots of paths in memcheck/ regression test expected outputs


git-svn-id: svn://svn.valgrind.org/valgrind/trunk@1090 a5019735-40e9-0310-863c-91ae7b9d1cf9
ilter_stderr
e49d8e7dfd3a9c96feb9935b5920973dfc0b170a 23-Sep-2002 njn25 <njn25@a5019735-40e9-0310-863c-91ae7b9d1cf9> Files updated, added and removed in order to turn the ERASER branch into HEAD


git-svn-id: svn://svn.valgrind.org/valgrind/trunk@1086 a5019735-40e9-0310-863c-91ae7b9d1cf9
akefile.am
itfield1.c
itfield1.stderr.exp
itfield1.stderr.exp.hd
itfield1.vgtest
t_everything.c
t_everything.stderr.exp
t_everything.stderr.exp.hd
t_everything.stdout.exp
t_everything.vgtest
t_literal.c
t_literal.stderr.exp
t_literal.stderr.exp.hd
t_literal.stdout.exp
t_literal.vgtest
oolo_sigaction.cpp
oolo_sigaction.stderr.exp
oolo_sigaction.stderr.exp.hd
oolo_sigaction.stdout.exp
oolo_sigaction.vgtest
oolo_strlen.c
oolo_strlen.stderr.exp
oolo_strlen.stderr.exp.hd
oolo_strlen.vgtest
puid.stderr.exp
puid.stderr.exp.hd
puid.stdout.exp
puid.vgtest
puid_c.c
puid_s.s
astest.stderr.exp
astest.stderr.exp.hd
astest.stdout.exp
astest.vgtest
astest_c.c
astest_s.s
ilter_stderr
loored.c
loored.stderr.exp
loored.stderr.exp.hd
loored.stdout.exp
loored.vgtest
ork.c
ork.stderr.exp
ork.stderr.exp.hd
ork.stdout.exp
ork.vgtest
ucomip.c
ucomip.stderr.exp
ucomip.stderr.exp.hd
ucomip.vgtest
xx304.cpp
xx304.stderr.exp
xx304.stderr.exp.hd
xx304.vgtest
unmap_exe.c
unmap_exe.stderr.exp
unmap_exe.stderr.exp.hd
unmap_exe.vgtest
th_blockedsig.c
th_blockedsig.stderr.exp
th_blockedsig.stderr.exp.hd
th_blockedsig.stdout.exp
th_blockedsig.vgtest
th_specific.c
cl_assert.S
cl_assert.stderr.exp
cl_assert.stderr.exp.hd
cl_assert.vgtest
crl.c
crl.stderr.exp
crl.stderr.exp.hd
crl.stdout.exp
crl.vgtest
eadline1.c
eadline1.stderr.exp
eadline1.stderr.exp.hd
eadline1.stdout.exp
eadline1.vgtest
ha1_test.c
ha1_test.stderr.exp
ha1_test.stderr.exp.hd
ha1_test.vgtest
hortpush.c
hortpush.stderr.exp
hortpush.stderr.exp.hd
hortpush.vgtest
horts.c
horts.stderr.exp
horts.stderr.exp.hd
horts.vgtest
mc1.c
mc1.stderr.exp
mc1.stderr.exp.hd
mc1.stdout.exp
mc1.vgtest