Permalink
Commits on Mar 2, 2012
  1. Merge pull request #61 from fischman/master

    PeterJohnson committed Mar 2, 2012
    Silence is golden: genperf emits too much stdout in success path
  2. Added support for HSW TSX instructions:

    sergey semenko committed with PeterJohnson Feb 27, 2012
    XAXQUIRE
    XRELEASE
    XABORT
    XBEGIN
    XEND
    XTEST
    
    Also fixed a bug for CALL instruction (opcode 0xE8) - it allowed 16 bit operand with 0x66 prefix in 64 bit mode,
    while 16 bit operand is not allowed at all in 64 bit mode.
    
    Added X86_ACQREL prefix group for XACQUIRE/XRELEASE prefixes, since they need to be orthogonal to LOCKREP
    prefixes, because TSX prefixes must come together with F0 (LOCK) prefix.
    
    However this commit does not enforce using TSX hints only with instructions they are allowed to be used.
    The reason for this is that lock prefix F0 itself is not enforced to be used only with lockable instructions, this seems to be a decision made by
    Yasm developers, that user himself must take care of these situations.
    
    Right now TSX hints can come with F0 prefix, can come with REPNE/REPZE prefixes, but they are used together in assembly, only the leftmost would be
    encoded to the binary and warning will be issued. This is the behavior of Yasm for duplicate LOCKREP prefixes.
  3. Add AMD TBM instructions.

    Jason Garrett-Glaser committed with PeterJohnson Feb 2, 2012
    Reference: http://support.amd.com/us/Processor_TechDocs/24594_APM_v3.pdf
    
    Also add appropriate CPU bits and directive handling for these.
Commits on Oct 31, 2011
  1. add path for YASM-VERSION.h

    BrianGladman committed Oct 31, 2011
  2. re2c: Work around tmpfile() issue on win32.

    PeterJohnson committed Oct 31, 2011
    tmpfile() defaults to C:\, and on Windows 7 can run into permissions issues.
    Add workaround implementation from cairo
    (http://cgit.freedesktop.org/cairo/commit/?id=4fa46e3caaffb54f4419887418d8d0ea39816092)
    
    See also: http://msdn.microsoft.com/en-us/library/x8x7sakw(v=VS.80).aspx
    (community content section)
  3. win64: Default to nobase for .xdata section.

    PeterJohnson committed Oct 31, 2011
    Also add ..imagebase special symbol to force use of a nobase relocation.
    
    [#135 state:resolved]
Commits on Oct 3, 2011
  1. re2c: Use tmpfile instead of fixed temporary filename.

    PeterJohnson committed Oct 3, 2011
    This could cause a race condition when running parallel make.
    
    Tracked down by Volker Braun.
    
    [#238 state:resolved]
    [#165 state:resolved]
  2. Merge pull request #60 from olsner/struc_base

    PeterJohnson committed Oct 3, 2011
    Implement the base offset parameter for the struc macro
Commits on Oct 2, 2011
Commits on Sep 30, 2011
Commits on Sep 28, 2011
  1. Merge pull request #59 from pwo/patch-1

    PeterJohnson committed Sep 28, 2011
    Fix clang warning.
Commits on Sep 24, 2011
  1. Fix clang warning:

    pwo committed Sep 24, 2011
    libyasm/md5.c:166:31: warning: argument to 'sizeof' in 'memset' call is the same expression as the destination; did you mean to dereference it? [-Wsizeof-pointer-memaccess]
            memset(ctx, 0, sizeof(ctx));    /* In case it's sensitive */
                   ~~~            ^~~
Commits on Sep 4, 2011
Commits on Aug 27, 2011
  1. Regenerate man pages.

    PeterJohnson committed Aug 27, 2011
  2. macho: Support N_PEXT bit.

    PeterJohnson committed Aug 27, 2011
    Can be enabled via use of "private_extern" in NASM syntax.
    
    Patch by: Hironori Bono
    
    [#215 state:resolved]
  3. Generate version number information from git history.

    PeterJohnson committed Aug 27, 2011
    Due to the svn import structure, a special case is currently implemented
    to look for the 1.1.0 branchpoint instead of the most recent tag on the
    master branch.  This will be removed after the first release is tagged
    on the master branch in git.
    
    Specific details:
    
    autogen.sh: More aggressively clean autoconf cache.
    This is needed to ensure the version number is actually regenerated.
    
    Don't generate PACKAGE_PATCHLEVEL or PACKAGE_BUILD variables.  The
    genversion program now parses PACKAGE_VERSION directly.
    
    For Mkfiles builds, YASM-VERSION.h is generated and included by the custom
    config.h.  This avoids the need to edit config.h for versioning.
  4. Add .gitignore files.

    PeterJohnson committed May 29, 2011
    These are based on the old svn:ignore properties.
Commits on Aug 19, 2011
  1. Remove $Id$ and RCSID() usage.

    PeterJohnson committed Aug 19, 2011
    These are useless now that we're using git.
  2. Fix const warning in elf_machine_ssym usage.

    PeterJohnson committed Aug 19, 2011
    Reported by: Pierre Muller
    
    [#237 state:resolved]
  3. win64-except.c: Fix incorrect dereference.

    PeterJohnson committed Aug 19, 2011
    Reported by: Pierre Muller
    
    [#236 state:resolved]
  4. file.h: Separate conditional inclusion of direct.h.

    PeterJohnson committed Aug 19, 2011
    This fixes builds on mingw64.
    
    Reported by: Pierre Muller
    
    [#235 state:resolved]
Commits on Jul 11, 2011
  1. dwarf: Fix uninitialized structure member.

    PeterJohnson committed Jul 11, 2011
    dwarf2_loc.discriminator wasn't being initialized by
    dwarf2_generate_line_section, leading to incorrect output, including
    intermittent test failures in gen64/dwarf64_pathname.
  2. expr_simplify_identity: Pass int_term via pointer.

    PeterJohnson committed Jul 11, 2011
    This allows signaling to the caller (expr_level_op) that the int_term
    was destroyed.  Without this, the new expr-simplify-identity testcase
    has a use-after-free.
    
    [#232 state:resolved]
Commits on Jul 4, 2011
  1. Fix VGATHER/VPGATHER memory sizes.

    PeterJohnson committed Jul 4, 2011
    These now match the memory fetch sizes in the AVX reference.
    
    Reported by: nasm64developer
  2. Add AVX2 VGATHER* and VPGATHER* instructions.

    PeterJohnson committed Jul 4, 2011
    These instructions use "VSIB" encoding, which takes the place of the
    usual SIB encoding.  Several tests cover various legal and illegal
    modes.
    
    Last part of [#227 state:resolved].
Commits on Jul 3, 2011
  1. Add most Intel AVX2 instructions.

    PeterJohnson committed Jul 3, 2011
    Reference: http://www.intel.com/software/avx rev11 spec
    
    This is all AVX2 instructions except for VGATHER*/VPGATHER*, which
    require additional ModRM handling.
    
    Portions contributed by: Mark Charney <mark.charney@intel.com>
    
    Part of [#227].