This is the mail archive of the
gcc-cvs@gcc.gnu.org
mailing list for the GCC project.
r242157 - in /branches/ARM/sve-branch/gcc/confi...
- From: rsandifo at gcc dot gnu dot org
- To: gcc-cvs at gcc dot gnu dot org
- Date: Fri, 11 Nov 2016 17:09:46 -0000
- Subject: r242157 - in /branches/ARM/sve-branch/gcc/confi...
Author: rsandifo
Date: Fri Nov 11 17:09:46 2016
New Revision: 242157
URL: https://gcc.gnu.org/viewcvs?rev=242157&root=gcc&view=rev
Log:
Use scalar_(int_)mode in the AArch64 port
This patch makes the AArch64 port use scalar_mode and
scalar_int_mode in various places. Other ports won't need
this kind of change; we only need it for AArch64 because of
the polynomial integers that are added by later patches.
The only change in functionality is in the rtx_costs handling
of CONST_INT. If the caller doesn't supply a mode, we now pass
word_mode rather than VOIDmode to aarch64_internal_mov_immediate.
aarch64_movw_imm will therefore not now truncate large constants
in this situation.
Modified:
branches/ARM/sve-branch/gcc/config/aarch64/aarch64-protos.h
branches/ARM/sve-branch/gcc/config/aarch64/aarch64.c