From patchwork Mon Oct 8 20:50:28 2012 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: [i386] : Merge a couple of attributes in atom.md From: Uros Bizjak X-Patchwork-Id: 190121 Message-Id: To: gcc-patches@gcc.gnu.org Date: Mon, 8 Oct 2012 22:50:28 +0200 Hello! 2012-10-08 Uros Bizjak * config/i386/atom.md (atom_sse_4): Merge atom_sse_attr attibutes. (atom_sse_5): Ditto. Tested on x86_64-pc-linux-gnu {,-m32}, committed to mainline SVN. Uros. Index: config/i386/atom.md =================================================================== --- config/i386/atom.md (revision 192222) +++ config/i386/atom.md (working copy) @@ -544,16 +544,14 @@ (define_insn_reservation "atom_sse_4" 1 (and (eq_attr "cpu" "atom") (and (eq_attr "type" "sse") - (ior (eq_attr "atom_sse_attr" "fence") - (eq_attr "atom_sse_attr" "prefetch")))) + (eq_attr "atom_sse_attr" "fence,prefetch"))) "atom-simple-0") ;; rcpps, rsqrtss, sqrt, ldmxcsr (define_insn_reservation "atom_sse_5" 7 (and (eq_attr "cpu" "atom") (and (eq_attr "type" "sse") - (ior (ior (eq_attr "atom_sse_attr" "sqrt") - (eq_attr "atom_sse_attr" "mxcsr")) + (ior (eq_attr "atom_sse_attr" "sqrt,mxcsr") (and (eq_attr "atom_sse_attr" "rcp") (eq_attr "mode" "V4SF"))))) "atom-complex, atom-all-eu*6")