Article View: pl.comp.lang.asm
Article #2365Re: ADD SUB kontra INC DEC
From: Andrzej Grażyński
Date: Sun, 08 May 2011 16:28
Date: Sun, 08 May 2011 16:28
17 lines
1356 bytes
1356 bytes
W dniu 2010-07-20 17:15, yesma pisze: > http://www.agner.org/instruction_tables.pdf > 9 List of instruction timings and μop breakdown for P4E > > Tyle że niema tutaj podane dla ADD, SUB operands r,i > > Instruction ADD, SUB INC, DEC > Operands r,r r > µops 1 2 > Microcode 0 0 > Latency 1 1 > Throughput 0.25 0.5 > Port 0/1 0/1 > Unit alu0/1 alu0/1 > > Czy nielepiej jest stosować zawsze ADD SUB zamiast INC DEC ? INC/DEC nie ruszają flagi CF, co czasem jest wygodne.
Technical Details
Message-ID:
<iq6gat$5mi$1@news.onet.pl>Path:
mbox-mo1.pugleaf.net!news-archive.icm.edu.pl!news.icm.edu.pl!news.onet.pl!.POSTED!not-for-mailReferences:
<i24eks$ec7$1@inews.gazeta.pl>Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!news-archive.icm.edu.pl!news.icm.edu.pl!news.onet.pl!.POSTED!not-for-mail From: Andrzej Grażyński <grazynsk@petex.com.pl> Newsgroups: pl.comp.lang.asm Subject: Re: ADD SUB kontra INC DEC Date: Sun, 08 May 2011 18:28:16 +0200 Organization: http://onet.pl Lines: 17 Message-ID: <iq6gat$5mi$1@news.onet.pl> References: <i24eks$ec7$1@inews.gazeta.pl> NNTP-Posting-Host: public-gprs14778.centertel.pl Mime-Version: 1.0 X-Trace: news.onet.pl 1304872093 5842 87.96.57.186 (8 May 2011 16:28:13 GMT) X-Complaints-To: niusy@onet.pl NNTP-Posting-Date: Sun, 8 May 2011 16:28:13 +0000 (UTC) User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; pl; rv:1.9.2.17) Gecko/20110414 Thunderbird/3.1.10 ThunderBrowse/3.3.5 In-Reply-To: <i24eks$ec7$1@inews.gazeta.pl> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit