aboutsummaryrefslogtreecommitdiff
path: root/gcc/genoutput.c
diff options
context:
space:
mode:
authorJ"orn Rennecke <joern.rennecke@st.com>2006-01-08 07:47:06 +0000
committerKaz Kojima <kkojima@gcc.gnu.org>2006-01-08 07:47:06 +0000
commit4220128209dba821e1b76d842028d55f0985a659 (patch)
tree38e48dd4a288540558b992918ad89c249df1e7ce /gcc/genoutput.c
parent8b47b2d6b20b52587cda2bf947173ad130bcfd16 (diff)
downloadgcc-4220128209dba821e1b76d842028d55f0985a659.zip
gcc-4220128209dba821e1b76d842028d55f0985a659.tar.gz
gcc-4220128209dba821e1b76d842028d55f0985a659.tar.bz2
sh.h (CONST_OK_FOR_K16): Define.
* config/sh/sh.h (CONST_OK_FOR_K16): Define. (CONST_OK_FOR_K): Add CONST_OK_FOR_K16 case. (EXTRA_CONSTRAINT_C16): Remove. (EXTRA_CONSTRAINT_Css, EXTRA_CONSTRAINT_Csu): Define. (EXTRA_CONSTRAINT_C): Remove EXTRA_CONSTRAINT_C16 case and add EXTRA_CONSTRAINT_Css and EXTRA_CONSTRAINT_Csu cases. * config/sh/sh.c (print_operand): Handle unsigned 16-bit symbolic constants of SHmedia. Handle nested constant expressions of SHmedia correctly. (andcosts): Fix the costs for SHmedia constants. (sh_rtx_costs): Take account of outer_code for SHmedia constants. * config/sh/sh.md (*movsi_media): Use Css constraint instead of C16. (*movsi_media_nofpu, *movqi_media, *movhi_media): Likewise. (*movdi_media, *movdi_media_nofpu, movv8qi_i, movv2hi_i): Likewise. (movv4hi_i, movv2si_i): Likewise. (movsi_const): Adjust the second operand of ior so to match with the Csu constraint. (movdi_const, movdi_const_32bit): Likewise. (movdi_const_16bit+1): Don't sign-extend LOW. (movdi_const_16bit+2): Likewise. Remove the zero_extend and truncate step. (*double_shori): Fix the split condition. Use GEN_INT instead of get_int_mode calls. Mask lower 16-bit of the argument of the last GEN_INT. (sym2GOTPLT): Remove. (symGOTPLT2reg): Replace gen_sym2GOTPLT with gen_rtx_CONST and gen_rtx_UNSPEC. * config/sh/predicates.md (arith_operand): Use EXTRA_CONSTRAINT_Css instead of EXTRA_CONSTRAINT_C16. Co-Authored-By: Kaz Kojima <kkojima@gcc.gnu.org> From-SVN: r109471
Diffstat (limited to 'gcc/genoutput.c')
0 files changed, 0 insertions, 0 deletions