Potential FastCode speed increase?
- From: "Avatar Zondertau" <avatarzt@xxxxxxxxx (please reply to newsgroup)>
- Date: 29 Aug 2005 00:06:18 -0700
Is any FastCoder using these yet?
<quote IA-32 Intel Architecture Software Developer Manual Volume 1>
11.4.5. Branch Hints
SSE2 extensions designates two instruction prefixes (2EH and 3EH) to
provide branch hints to the processor (see ?Instruction Prefixes? in
Chapter 2 of the IA-32 Intel Architecture Software Developer?s Manual,
Volume 2A). These prefixes can only be used with the Jcc instruction and
only at the machine code level (that is, there are no mnemonics for the
branch hints).
</quote>
<quote IA-32 Intel Architecture Software Developer Manual Volume 2A>
Branch hint prefixes (2EH, 3EH) allow a program to give a hint to the
processor about the most likely code path for a branch. Use these
prefixes only with conditional branch instructions (Jcc).
Other use of branch hint prefixes and/or other undefined opcodes with
IA-32 instructions is reserved; such use may cause unpredictable
behavior.
</quote>
If not this might be a potential speed increase for many functions.
Unfortunately Intel doesn't define a mnemonic for these prefixes, but
of course we could also use DB. We might also put a QC request for
creating mnemonics (unless they are already there in D2005?) in next
versions of Delphi.
.
- Follow-Ups:
- Re: Potential FastCode speed increase?
- From: Dennis
- Re: Potential FastCode speed increase?
- Prev by Date: Re: Problem with FastMM and D7
- Next by Date: Re: rdtsc vs. GetTickCount()
- Previous by thread: Problem with FastMM and D7
- Next by thread: Re: Potential FastCode speed increase?
- Index(es):
Relevant Pages
|