Commit Graph

19 Commits

Author SHA1 Message Date
Julian Seward
dc0e01ab4d Build system and hwcaps fixes 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@13340
2013-03-27 11:43:20 +00:00
Florian Krohm
846c955f2a Updated for s390_defs.h.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@13197
2012-12-24 00:16:23 +00:00
Florian Krohm
9a906610ec Update due to file renaming in VEX r2541.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@13007
2012-09-20 01:22:53 +00:00
Florian Krohm
0d0e6346db Add a tester for V-bit propagation through IROps.
The tester is located in memcheck/tests/vbit-test.
It needs the following support on the valgrind / VEX side:
(1) a new client request VG_USERREQ__VEX_INIT_FOR_IRI
(2) a new "special instruction" on all architectures inserted via
    VALGRIND_VEX_INJECT_IR
(3) VEX changes to detect the special insn and insert IR (ir_inject.c)

The README file in vbit-test has some more information.
See also VEX r2490.  Fixes bugzilla #300102.


git-svn-id: svn://svn.valgrind.org/valgrind/trunk@12906
2012-08-28 16:50:39 +00:00
Florian Krohm
adec49e497 Rename libvex_emwarn.h to libvex_emnote.h. See also VEX r2483.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@12899
2012-08-25 21:48:22 +00:00
Julian Seward
3e344c57f6 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
2012-06-07 09:13:21 +00:00
Florian Krohm
56f8e215d4 Fix makefile to allow compilation with gcc -g3.
Fixes bugzilla #297993 (together with VEX r2310).
Patch by  Daniel Richard G. (skunk@iskunk.org).


git-svn-id: svn://svn.valgrind.org/valgrind/trunk@12538
2012-04-22 19:27:44 +00:00
Julian Seward
effd1716e5 Pipe CFLAGS through to the compile run for genoffsets.c, which is a
bit special.  CFLAGS is already piped through to everywhere else.
This is needed for working with semi-broken cross-compile setups that
need CFLAGS set to special values in order to work.



git-svn-id: svn://svn.valgrind.org/valgrind/trunk@11861
2011-07-07 14:05:39 +00:00
Julian Seward
b318177144 Unbreak 'make dist' following recent commits.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@11605
2011-03-07 16:42:02 +00:00
Julian Seward
6107fd666c 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
2011-03-07 16:05:35 +00:00
Julian Seward
5f4ff74809 Add proper dependencies for pub/libvex_guest_offsets.h (Florian Krohm,
britzel@acm.org).  Fixes #246888.



git-svn-id: svn://svn.valgrind.org/valgrind/trunk@11387
2010-09-28 15:09:47 +00:00
Julian Seward
509ffafab1 Merge from branches/THUMB: build system fixes for Thumb
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@11276
2010-08-22 11:51:26 +00:00
Julian Seward
1ce6a7eda5 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
2010-06-18 08:18:38 +00:00
Julian Seward
e9de458500 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
2010-01-01 11:59:33 +00:00
Julian Seward
6b567a72b8 Track vex r1909 (get rid of LibVEX_Version).
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@10478
2009-07-15 15:25:21 +00:00
Nicholas Nethercote
9398df7628 Don't put the Vex SVN revision number in the preamble -- it achieves little
and is an enormous pain.



git-svn-id: svn://svn.valgrind.org/valgrind/trunk@10447
2009-07-14 04:49:18 +00:00
Julian Seward
6a98bb7307 Fix handling of the vex svn-version thing following r10400 (tracks vex
r1905).



git-svn-id: svn://svn.valgrind.org/valgrind/trunk@10401
2009-07-02 12:36:53 +00:00
Julian Seward
d5c1e33874 Track file renaming in vex r1904, and get rid of temporary kludges
needed to handle multiple files of the same name in different
directories.



git-svn-id: svn://svn.valgrind.org/valgrind/trunk@10400
2009-07-02 12:23:16 +00:00
Nicholas Nethercote
b05a2a18d7 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
2009-06-24 00:37:09 +00:00