public inbox for gcc-bugs@sourceware.org help / color / mirror / Atom feed
From: "rsandifo at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org> To: gcc-bugs@gcc.gnu.org Subject: [Bug target/61360] [4.10 Regression] ICE: in lra_update_insn_recog_data, at lra.c:1363 with -mtune=bdver4 Date: Sat, 14 Jun 2014 10:27:00 -0000 [thread overview] Message-ID: <bug-61360-4-OePacT579w@http.gcc.gnu.org/bugzilla/> (raw) In-Reply-To: <bug-61360-4@http.gcc.gnu.org/bugzilla/> https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61360 rsandifo at gcc dot gnu.org <rsandifo at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |uros at gcc dot gnu.org --- Comment #3 from rsandifo at gcc dot gnu.org <rsandifo at gcc dot gnu.org> --- This is due to the use of the "enabled" attribute in: (define_insn "*float<SWI48:mode><MODEF:mode>2_sse" [(set (match_operand:MODEF 0 "register_operand" "=f,x,x") (float:MODEF (match_operand:SWI48 1 "nonimmediate_operand" "m,r,m")))] "SSE_FLOAT_MODE_P (<MODEF:MODE>mode) && TARGET_SSE_MATH" "@ fild%Z1\t%1 %vcvtsi2<MODEF:ssemodesuffix><SWI48:rex64suffix>\t{%1, %d0|%d0, %1} %vcvtsi2<MODEF:ssemodesuffix><SWI48:rex64suffix>\t{%1, %d0|%d0, %1}" [(set_attr "type" "fmov,sseicvt,sseicvt") (set_attr "prefix" "orig,maybe_vex,maybe_vex") (set_attr "mode" "<MODEF:MODE>") (set (attr "prefix_rex") (if_then_else (and (eq_attr "prefix" "maybe_vex") (match_test "<SWI48:MODE>mode == DImode")) (const_string "1") (const_string "*"))) (set_attr "unit" "i387,*,*") (set_attr "athlon_decode" "*,double,direct") (set_attr "amdfam10_decode" "*,vector,double") (set_attr "bdver1_decode" "*,double,direct") (set_attr "fp_int_src" "true") (set (attr "enabled") (cond [(eq_attr "alternative" "0") (symbol_ref "TARGET_MIX_SSE_I387 && X87_ENABLE_FLOAT (<MODEF:MODE>mode, <SWI48:MODE>mode)") (eq_attr "alternative" "1") /* ??? For sched1 we need constrain_operands to be able to select an alternative. Leave this enabled before RA. */ (symbol_ref "TARGET_INTER_UNIT_CONVERSIONS || optimize_function_for_size_p (cfun) || !(reload_completed || reload_in_progress || lra_in_progress)") ] (symbol_ref "true"))) ]) "enabled" was really only supposed to be used to enable or disable alternatives according to the current subtarget, rather than enable or disable them based on the current stage in the pass pipeline or on whether the function is being compiled for size or speed. I have an idea for handling the size/speed thing, but we need to fix the ??? as well.
next prev parent reply other threads:[~2014-06-14 10:27 UTC|newest] Thread overview: 19+ messages / expand[flat|nested] mbox.gz Atom feed top 2014-05-29 18:14 [Bug target/61360] New: " zsojka at seznam dot cz 2014-06-02 7:59 ` [Bug target/61360] " rguenth at gcc dot gnu.org 2014-06-13 10:25 ` trippels at gcc dot gnu.org 2014-06-13 17:15 ` trippels at gcc dot gnu.org 2014-06-14 10:27 ` rsandifo at gcc dot gnu.org [this message] 2014-06-26 10:45 ` Ganesh.Gopalasubramanian at amd dot com 2014-06-26 17:04 ` zsojka at seznam dot cz 2014-07-07 13:23 ` rguenth at gcc dot gnu.org 2014-07-10 14:24 ` trippels at gcc dot gnu.org 2014-07-17 6:32 ` trippels at gcc dot gnu.org 2014-08-20 7:47 ` [Bug target/61360] [5 " dcb314 at hotmail dot com 2014-08-26 6:48 ` Ganesh.Gopalasubramanian at amd dot com 2014-08-26 7:25 ` trippels at gcc dot gnu.org 2014-09-06 12:22 ` trippels at gcc dot gnu.org 2014-09-15 17:22 ` ubizjak at gmail dot com 2014-09-18 15:41 ` vmakarov at gcc dot gnu.org 2014-09-18 15:57 ` vmakarov at gcc dot gnu.org 2014-12-15 17:48 ` jakub at gcc dot gnu.org 2014-12-15 18:49 ` ubizjak at gmail dot com
Reply instructions: You may reply publicly to this message via plain-text email using any one of the following methods: * Save the following mbox file, import it into your mail client, and reply-to-all from there: mbox Avoid top-posting and favor interleaved quoting: https://en.wikipedia.org/wiki/Posting_style#Interleaved_style * Reply using the --to, --cc, and --in-reply-to switches of git-send-email(1): git send-email \ --in-reply-to=bug-61360-4-OePacT579w@http.gcc.gnu.org/bugzilla/ \ --to=gcc-bugzilla@gcc.gnu.org \ --cc=gcc-bugs@gcc.gnu.org \ /path/to/YOUR_REPLY https://kernel.org/pub/software/scm/git/docs/git-send-email.html * If your mail client supports setting the In-Reply-To header via mailto: links, try the mailto: linkBe sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox; as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).