]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
* config/alpha/alpha.md (movdi_er_high_g): Allow all symbols.
authorRichard Henderson <rth@redhat.com>
Sat, 22 Feb 2003 01:58:21 +0000 (17:58 -0800)
committerRichard Henderson <rth@gcc.gnu.org>
Sat, 22 Feb 2003 01:58:21 +0000 (17:58 -0800)
From-SVN: r63266

gcc/ChangeLog
gcc/config/alpha/alpha.md

index 2eebd73d84d5d53719e743320257a052ce261f26..d3687b3c4e561ff9cf31e42f6d69eb35670263f5 100644 (file)
@@ -1,3 +1,8 @@
+2003-02-21  Richard Henderson  <rth@redhat.com>
+
+       2003-01-06  Richard Henderson  <rth@redhat.com>
+       * config/alpha/alpha.md (movdi_er_high_g): Allow all symbols.
+
 2003-02-21  Glen Nakamura  <glen@imodulo.com>
 
        PR optimization/8613
index 1875b808a0ff5bc8fbdfbfe589e93f5e5529f383..6dcf191411b49ae5bc55836da1aad2fb7ef34ed0 100644 (file)
@@ -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"