This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[PATCH, i386]: Use ssememalign attribute value to reject insns with misaligned operands


Hello!

Attached patch uses ssememalign attribute to reject insn combinations
where memory operands would be misaligned.

2015-11-12  Uros Bizjak  <ubizjak@gmail.com>

    * config/i386/i386.c (ix86_legitimate_combined_insn): Reject
    combined insn if the alignment of vector mode memory operand
    is less than ssememalign.

testsuite/ChangeLog:

2015-11-12  Uros Bizjak  <ubizjak@gmail.com>

    * gcc.target/i386/sse-1.c (swizzle): Assume that a is
    aligned to 64 bits.

Patch was bootstrapped and regression tested on x86_64-linux-gnu
{,-m32}, committed to mainline SVN.

Uros.

Attachment: p.diff.txt
Description: Text document


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]