From: James Greenhalgh Date: Tue, 15 Oct 2013 15:26:15 +0000 (+0000) Subject: [AArch64] [Neon types 2/10] Update Current type attributes to new Neon Types. X-Git-Tag: releases/gcc-4.9.0~3460 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=a9e66678ca96517de9a5b4780e8ed160c01c18b2;p=thirdparty%2Fgcc.git [AArch64] [Neon types 2/10] Update Current type attributes to new Neon Types. gcc/ * config/aarch64/aarch64.md (movtf_aarch64): Update type attribute. (load_pair): Update type attribute. (store_pair): Update type attribute. * config/aarch64/iterators.md (q): New. From-SVN: r203612 --- diff --git a/gcc/ChangeLog b/gcc/ChangeLog index fd5c90e14e65..46b82bc7bce1 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,10 @@ +2013-10-15 James Greenhalgh + + * config/aarch64/aarch64.md (movtf_aarch64): Update type attribute. + (load_pair): Update type attribute. + (store_pair): Update type attribute. + * config/aarch64/iterators.md (q): New. + 2013-10-15 James Greenhalgh * config/arm/types.md: Add new types for Neon insns. diff --git a/gcc/config/aarch64/aarch64.md b/gcc/config/aarch64/aarch64.md index f3e004b6c3e3..01664665e7d3 100644 --- a/gcc/config/aarch64/aarch64.md +++ b/gcc/config/aarch64/aarch64.md @@ -1033,7 +1033,7 @@ stp\\t%1, %H1, %0" [(set_attr "v8type" "logic,move2,fmovi2f,fmovf2i,fconst,fconst,fpsimd_load,fpsimd_store,fpsimd_load2,fpsimd_store2") (set_attr "type" "logic_reg,multiple,f_mcr,f_mrc,fconstd,fconstd,\ - f_loadd,f_stored,neon_ldm_2,neon_stm_2") + f_loadd,f_stored,neon_load1_2reg,neon_store1_2reg") (set_attr "mode" "DF,DF,DF,DF,DF,DF,TF,TF,DF,DF") (set_attr "length" "4,8,8,8,4,4,4,4,4,4") (set_attr "fp" "*,*,yes,yes,*,yes,yes,yes,*,*") @@ -1098,7 +1098,7 @@ GET_MODE_SIZE (mode)))" "ldp\\t%0, %2, %1" [(set_attr "v8type" "fpsimd_load2") - (set_attr "type" "neon_ldm_2") + (set_attr "type" "neon_load1_2reg") (set_attr "mode" "")] ) @@ -1115,7 +1115,7 @@ GET_MODE_SIZE (mode)))" "stp\\t%1, %3, %0" [(set_attr "v8type" "fpsimd_store2") - (set_attr "type" "neon_stm_2") + (set_attr "type" "neon_store1_2reg") (set_attr "mode" "")] ) diff --git a/gcc/config/aarch64/iterators.md b/gcc/config/aarch64/iterators.md index ec8d813fa3f5..13c6d958826a 100644 --- a/gcc/config/aarch64/iterators.md +++ b/gcc/config/aarch64/iterators.md @@ -566,6 +566,15 @@ (V2SF "f") (V4SF "f") (V2DF "f") (DF "f")]) +;; Defined to '_q' for 128-bit types. +(define_mode_attr q [(V8QI "") (V16QI "_q") + (V4HI "") (V8HI "_q") + (V2SI "") (V4SI "_q") + (DI "") (V2DI "_q") + (V2SF "") (V4SF "_q") + (V2DF "_q") + (QI "") (HI "") (SI "") (DI "") (SF "") (DF "")]) + ;; ------------------------------------------------------------------- ;; Code Iterators ;; -------------------------------------------------------------------