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

r242300 - in /branches/ARM/sve-branch/gcc: conf...


Author: rsandifo
Date: Fri Nov 11 17:36:19 2016
New Revision: 242300

URL: https://gcc.gnu.org/viewcvs?rev=242300&root=gcc&view=rev
Log:
[AArch64] Rewrite aarch64_simd_valid_immediate

This patch reworks aarch64_simd_valid_immediate so that
it's easier to add SVE support.  The main changes are:

- make simd_immediate_info easier to construct
- replace the while (1) { ... break; } blocks with checks that use
  the full 64-bit value of the constant
- treat floating-point modes as integers if they aren't valid
  as floating-point values

Modified:
    branches/ARM/sve-branch/gcc/config/aarch64/aarch64-protos.h
    branches/ARM/sve-branch/gcc/config/aarch64/aarch64-simd.md
    branches/ARM/sve-branch/gcc/config/aarch64/aarch64.c
    branches/ARM/sve-branch/gcc/config/aarch64/constraints.md
    branches/ARM/sve-branch/gcc/testsuite/gcc.target/aarch64/vect-movi.c


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