summaryrefslogtreecommitdiff
path: root/gcc/reg-stack.c
diff options
context:
space:
mode:
authoruros <uros@138bc75d-0d04-0410-961f-82ee72b054a4>2015-04-02 07:56:05 +0000
committeruros <uros@138bc75d-0d04-0410-961f-82ee72b054a4>2015-04-02 07:56:05 +0000
commitcb5d0a18ce433c9e3dfd0f782c0eaded09a53088 (patch)
tree05245162db6486007dff32f20190cb633afcab28 /gcc/reg-stack.c
parentc28f0245e206e28e55e6e38cd28579bc5e32fac0 (diff)
downloadgcc-cb5d0a18ce433c9e3dfd0f782c0eaded09a53088.tar.gz
* config/i386/sync.md (UNSPEC_FILD_ATOMIC, UNSPEC_FIST_ATOMIC): New.
(loaddi_via_fpu): Use UNSPEC_FILD_ATOMIC. (storedi_via_fpu): Use UNSPEC_FIST_ATOMIC. * reg-stack.c (get_true_reg): Change UNSPEC_LDA to UNSPEC_FILD_ATOMIC. (subst_stack_regs_pat): Change UNSPEC_STA to UNSPEC_FIST_ATOMIC. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@221830 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/reg-stack.c')
-rw-r--r--gcc/reg-stack.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/gcc/reg-stack.c b/gcc/reg-stack.c
index 5796d348c07..b040c463643 100644
--- a/gcc/reg-stack.c
+++ b/gcc/reg-stack.c
@@ -448,7 +448,7 @@ get_true_reg (rtx *pat)
case UNSPEC:
if (XINT (*pat, 1) == UNSPEC_TRUNC_NOOP
- || XINT (*pat, 1) == UNSPEC_LDA)
+ || XINT (*pat, 1) == UNSPEC_FILD_ATOMIC)
pat = & XVECEXP (*pat, 0, 0);
return pat;
@@ -1670,8 +1670,8 @@ subst_stack_regs_pat (rtx_insn *insn, stack_ptr regstack, rtx pat)
case UNSPEC:
switch (XINT (pat_src, 1))
{
- case UNSPEC_STA:
case UNSPEC_FIST:
+ case UNSPEC_FIST_ATOMIC:
case UNSPEC_FIST_FLOOR:
case UNSPEC_FIST_CEIL: