This is the mail archive of the gcc-bugs@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]

[Bug target/69613] [6 Regression] wrong code with -O and simple 128bit arithmetics and vectors @ aarch64


https://gcc.gnu.org/bugzilla/show_bug.cgi?id=69613

--- Comment #6 from ktkachov at gcc dot gnu.org ---
Author: ktkachov
Date: Fri Feb 26 15:59:45 2016
New Revision: 233744

URL: https://gcc.gnu.org/viewcvs?rev=233744&root=gcc&view=rev
Log:
[AArch64] PR target/69613: Return zero TARGET_SHIFT_TRUNCATION_MASK when
SHIFT_COUNT_TRUNCATED is false

        PR target/69613
        * config/aarch64/aarch64.c (aarch64_shift_truncation_mask):
        Return 0 if !SHIFT_COUNT_TRUNCATED.

        * gcc.dg/torture/pr69613.c: New test.

Added:
    trunk/gcc/testsuite/gcc.dg/torture/pr69613.c
Modified:
    trunk/gcc/ChangeLog
    trunk/gcc/config/aarch64/aarch64.c
    trunk/gcc/testsuite/ChangeLog

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