From: Richard Kenner Date: Sun, 25 Feb 2001 16:35:48 +0000 (+0000) Subject: i386-protos.h (ix86_set_move_mem_attrs): Move decl. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=397be6cf54e0102829b729147053162388e12806;p=gcc.git i386-protos.h (ix86_set_move_mem_attrs): Move decl. * config/i386/i386-protos.h (ix86_set_move_mem_attrs): Move decl. * config/i386/i386.c (ix86_set_move_mem_attrs_1): Fix typo. From-SVN: r40056 --- diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 77287542a4c..6d54957fde3 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,5 +1,8 @@ Sun Feb 25 08:34:23 2001 Richard Kenner + * config/i386/i386-protos.h (ix86_set_move_mem_attrs): Move decl. + * config/i386/i386.c (ix86_set_move_mem_attrs_1): Fix typo. + * config/i386/i386.md (movstrsi): Handle FAIL case. 2001-02-25 Neil Booth diff --git a/gcc/config/i386/i386-protos.h b/gcc/config/i386/i386-protos.h index 1b24df82124..df3fb5a364e 100644 --- a/gcc/config/i386/i386-protos.h +++ b/gcc/config/i386/i386-protos.h @@ -140,6 +140,8 @@ extern enum reg_class ix86_preferred_reload_class PARAMS ((rtx, enum reg_class)); extern int ix86_memory_move_cost PARAMS ((enum machine_mode, enum reg_class, int)); +extern void ix86_set_move_mem_attrs PARAMS ((rtx, rtx, rtx, rtx, rtx)); + #ifdef TREE_CODE extern void init_cumulative_args PARAMS ((CUMULATIVE_ARGS *, tree, rtx)); @@ -152,8 +154,6 @@ extern rtx ix86_expand_builtin PARAMS ((tree, rtx, rtx, enum machine_mode, int)) #endif -extern void ix86_set_move_mem_attrs PARAMS ((rtx, rtx, rtx, rtx, rtx)); - #ifdef TREE_CODE extern int ix86_valid_decl_attribute_p PARAMS ((tree, tree, tree, tree)); extern int ix86_valid_type_attribute_p PARAMS ((tree, tree, tree, tree)); diff --git a/gcc/config/i386/i386.c b/gcc/config/i386/i386.c index 32ae6d4984a..7dfc3c543c3 100644 --- a/gcc/config/i386/i386.c +++ b/gcc/config/i386/i386.c @@ -7405,7 +7405,7 @@ ix86_set_move_mem_attrs_1 (x, dstref, srcref, dstreg, srcreg) dstreg, srcreg); else if (*format_ptr == 'E') for (j = XVECLEN (x, i) - 1; j >= 0; j--) - ix86_set_move_mem_attrs_1 (XVECEXP (x, i, j), dstref, srcreg, + ix86_set_move_mem_attrs_1 (XVECEXP (x, i, j), dstref, srcref, dstreg, srcreg); } }