Path: csiph.com!x330-a1.tempe.blueboxinc.net!usenet.pasdenom.info!weretis.net!feeder4.news.weretis.net!eternal-september.org!feeder.eternal-september.org!.POSTED!not-for-mail From: markspace <-@.> Newsgroups: comp.lang.java.programmer,comp.lang.c Subject: Re: Arithmetic overflow checking Date: Tue, 12 Jul 2011 13:20:15 -0700 Organization: A noiseless patient Spider Lines: 14 Message-ID: References: <2rydnez7l-H5BYnTnZ2dnUVZ_vGdnZ2d@earthlink.com> <9LWdnZH2hdfmyYvTnZ2dnUVZ_vidnZ2d@posted.palinacquisition> <3797038f-22d1-40b2-8c12-60db5a0976b8@t5g2000yqj.googlegroups.com> <4e1bf1bc$0$15671$4fafbaef@reader2.news.tin.it> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Injection-Date: Tue, 12 Jul 2011 20:20:18 +0000 (UTC) Injection-Info: mx04.eternal-september.org; posting-host="5HSAJfqnDjjLFxXZ6WBWEw"; logging-data="5214"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX19tzmzPEiGBvb75YEZ4hHgywzMaQim11rE=" User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:5.0) Gecko/20110624 Thunderbird/5.0 In-Reply-To: Cancel-Lock: sha1:QkKHVLbw8Y9n3u6zxrUq4EUQcpk= Xref: x330-a1.tempe.blueboxinc.net comp.lang.java.programmer:6131 comp.lang.c:8189 On 7/12/2011 12:38 PM, Patricia Shanahan wrote: > It would not necessarily directly take time. It could be done in > parallel with the stage that writes results back to register files, or > bypasses them to other instructions. A JO almost certainly would be executed in parallel with the ADD instruction. Executing two instructions in parallel has been available on consumer CPU (x86) since about 1992. It's two decade old technology. Folks complaining about performance degradation due to overflow detection are frankly greatly out of date in their understanding of CPU architecture.