From: Richard Henderson Date: Sat, 22 Feb 2003 01:58:21 +0000 (-0800) Subject: * config/alpha/alpha.md (movdi_er_high_g): Allow all symbols. X-Git-Tag: releases/gcc-3.2.3~177 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=a780639375a404774d85592598f58715d232ba6f;p=thirdparty%2Fgcc.git * config/alpha/alpha.md (movdi_er_high_g): Allow all symbols. From-SVN: r63266 --- diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 2eebd73d84d5..d3687b3c4e56 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,8 @@ +2003-02-21 Richard Henderson + + 2003-01-06 Richard Henderson + * config/alpha/alpha.md (movdi_er_high_g): Allow all symbols. + 2003-02-21 Glen Nakamura PR optimization/8613 diff --git a/gcc/config/alpha/alpha.md b/gcc/config/alpha/alpha.md index 1875b808a0ff..6dcf191411b4 100644 --- a/gcc/config/alpha/alpha.md +++ b/gcc/config/alpha/alpha.md @@ -1,6 +1,6 @@ ;; Machine description for DEC Alpha for GNU C compiler ;; Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, -;; 2000, 2001 Free Software Foundation, Inc. +;; 2000, 2001, 2003 Free Software Foundation, Inc. ;; Contributed by Richard Kenner (kenner@vlsi1.ultra.nyu.edu) ;; ;; This file is part of GNU CC. @@ -5523,10 +5523,12 @@ fadd,fmul,fcpys,fdiv,fsqrt,misc,mvi,ftoi,itof,multi" [(match_dup 0)] "operands[0] = split_small_symbolic_operand (operands[0]);") +;; Accepts any symbolic, not just global, since function calls that +;; don't go via bsr still use !literal in hopes of linker relaxation. (define_insn "movdi_er_high_g" [(set (match_operand:DI 0 "register_operand" "=r") (unspec:DI [(match_operand:DI 1 "register_operand" "r") - (match_operand:DI 2 "global_symbolic_operand" "") + (match_operand:DI 2 "symbolic_operand" "") (match_operand 3 "const_int_operand" "")] UNSPEC_LITERAL))] "TARGET_EXPLICIT_RELOCS"