🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.arch
Article #12639

Re: Conditional Execution (was Re: % in hash table)

#12639
From: D. J. Bernstein
Date: Sat, 14 Oct 1995 23:44
8 lines
734 bytes
Holger Petersen <hp@kbbs.org> wrote:
> Which one's have "Decrement Jump Non zero" (Z80,8051, 80x86 have)

Note that, on the 80386, 80486, and Pentium, this instruction (LOOP) is
slower than the obvious DEC/JNZ. See Abrash's _Zen of Code Optimization_
for more details.

---Dan
Technical Details
Message-ID: <1995Oct1423.44.03.13389@silverton.berkeley.edu>
Path: arc1-ca.pugleaf.net!silverton.berkeley.edu!djb
References: <43tqr6$3au@mikasa.iol.it> <DGCFt9.GH7@world.std.com> <45lb6c$jeb@doc.armltd.co.uk> <1995Oct14.192120.10218@kbbs.org>

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!silverton.berkeley.edu!djb
From: djb@silverton.berkeley.edu (D. J. Bernstein)
Message-ID: <1995Oct1423.44.03.13389@silverton.berkeley.edu>
Date: 14 Oct 1995 23:44:03 GMT
Newsgroups: comp.arch,comp.arch.arithmetic,comp.lang.c
Subject: Re: Conditional Execution (was Re: % in hash table)
References: <43tqr6$3au@mikasa.iol.it> <DGCFt9.GH7@world.std.com> <45lb6c$jeb@doc.armltd.co.uk> <1995Oct14.192120.10218@kbbs.org>
Organization: IR