From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 5661 invoked by alias); 20 Dec 2012 13:07:40 -0000 Received: (qmail 5382 invoked by uid 55); 20 Dec 2012 13:07:20 -0000 From: "rguenther at suse dot de" To: gcc-bugs@gcc.gnu.org Subject: [Bug target/55752] __builtin_ia32_ldmxcsr / __builtin_ia32_stmxcsr are not scheduling barriers Date: Thu, 20 Dec 2012 13:07:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: target X-Bugzilla-Keywords: wrong-code X-Bugzilla-Severity: normal X-Bugzilla-Who: rguenther at suse dot de X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated Content-Type: text/plain; charset="UTF-8" MIME-Version: 1.0 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org X-SW-Source: 2012-12/txt/msg01967.txt.bz2 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55752 --- Comment #2 from rguenther at suse dot de 2012-12-20 13:07:20 UTC --- On Thu, 20 Dec 2012, ubizjak at gmail dot com wrote: > > http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55752 > > --- Comment #1 from Uros Bizjak 2012-12-20 12:59:40 UTC --- > The RTXes that corresponds to builtins are all declared unspec_volatile. > According to the comment in sched-deps.c, around line 2723, it is assumed that > unspec_volatile clobbers all registers. Ok, it seems it's TER that moves the subtraction. Richard.