🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: pl.comp.lang.asm
Article #2434

Re: [gcc] asm register constraints

#2434
From: Tomasz Sowa
Date: Mon, 04 Apr 2011 03:36
16 lines
1530 bytes
Dnia Sun, 03 Apr 2011 17:49:43 +0200, arturb napisał(a):

> Mam drobny problem bo nie wiem jak zapisać iż pewien rejestr nie może 
> być taki sam jak inny aby gcc nie optymalizowalo i powodowalo problem

http://gcc.gnu.org/onlinedocs/gcc/Modifiers.html#Modifiers

`&'
    Means (in a particular alternative) that this operand is an
earlyclobber operand, which is modified before the instruction is finished
using the input operands. Therefore, this operand may not lie in a register
that is used as an input operand or as part of any memory address. 

-- 
Tomek
http://www.ttmath.org
Technical Details
Message-ID: <e8xe7ytkc99x.dlg@torpi.slimaczek.pl>
Path: mbox-mo1.pugleaf.net!news-archive.icm.edu.pl!news.rmf.pl!agh.edu.pl!news.agh.edu.pl!news.onet.pl!news.nask.pl!news.nask.org.pl!newsfeed2.atman.pl!newsfeed.atman.pl!newsfeed.neostrada.pl!unt-exc-02.news.neostrada.pl!news.dialog.net.pl!not-for-mail
References: <ina500$5n2$1@news.task.gda.pl>

Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!news-archive.icm.edu.pl!news.rmf.pl!agh.edu.pl!news.agh.edu.pl!news.onet.pl!news.nask.pl!news.nask.org.pl!newsfeed2.atman.pl!newsfeed.atman.pl!newsfeed.neostrada.pl!unt-exc-02.news.neostrada.pl!news.dialog.net.pl!not-for-mail
From: Tomasz Sowa <ts@ttmath.NOSPAM.org>
Newsgroups: pl.comp.lang.asm
Subject: Re: [gcc] asm register constraints
Date: Mon, 4 Apr 2011 05:36:08 +0200
Organization: Dialog Net
Lines: 16
Message-ID: <e8xe7ytkc99x.dlg@torpi.slimaczek.pl>
References: <ina500$5n2$1@news.task.gda.pl>
Reply-To: ts@ttmath.NOSPAM.org
NNTP-Posting-Host: dynamic-78-8-159-216.ssp.dialog.net.pl
Mime-Version: 1.0
X-Trace: news.dialog.net.pl 1301888172 24672 78.8.159.216 (4 Apr 2011 03:36:12 GMT)
X-Complaints-To: abuse@dialog.net.pl
NNTP-Posting-Date: Mon, 4 Apr 2011 03:36:12 +0000 (UTC)
User-Agent: 40tude_Dialog/2.0.15.1pl
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit