Re: Branch prediction hints in an ISA

Juergen Kahrs <Kahrs.Juergen@stn-atlas.de>
12 Oct 2000 22:22:25 -0400

          From comp.compilers

Related articles
Branch prediction hints in an ISA timgleason@my-deja.com (2000-10-10)
Re: Branch prediction hints in an ISA broeker@physik.rwth-aachen.de (Hans-Bernhard Broeker) (2000-10-12)
Re: Branch prediction hints in an ISA peter_flass@my-deja.com (2000-10-12)
Re: Branch prediction hints in an ISA djimenez@cs.utexas.edu (2000-10-12)
Re: Branch prediction hints in an ISA Kahrs.Juergen@stn-atlas.de (Juergen Kahrs) (2000-10-12)
Re: Branch prediction hints in an ISA erik@arbat.com (Erik Corry) (2000-10-12)
Re: Branch prediction hints in an ISA vbdis@aol.com (2000-10-12)
Re: Branch prediction hints in an ISA zs@ender.cs.mu.oz.au (2000-10-15)
Re: Branch prediction hints in an ISA david.thompson1@worldnet.att.net (David Thompson) (2000-10-18)
Re: Branch prediction hints in an ISA anton@mips.complang.tuwien.ac.at (2000-10-18)
Re: Branch prediction hints in an ISA dietrich@216.26.55.26 (Dietrich Epp) (2000-10-19)
[1 later articles]
| List of all articles for this month |
From: Juergen Kahrs <Kahrs.Juergen@stn-atlas.de>
Newsgroups: comp.compilers
Date: 12 Oct 2000 22:22:25 -0400
Organization: STN Atlas Elektronik GmbH SLE1
References: 00-10-078
Keywords: architecture, books

timgleason@my-deja.com wrote:


> Hey I was just thinking. Does anyone know of any Instruction Sets
> that have an extra bit in the branch instruction to be used as a
> "hint" for the branch prediction logic?


Donald Knuth redefined his MIX assembly language:


    http://www-cs-faculty.Stanford.EDU/~knuth/mmixware.html


In his opcode matrix he mentions these instructions which do
exactly what you are looking for:


    http://www-cs-faculty.Stanford.EDU/~knuth/mmop.html


    5E PBEV probable branch if even (3)
    5F PBEVB probable branch if even, backward (3)
    50 PBN probable branch if negative (3)


+---------------------------------------------------------------------+
| Juergen Kahrs, STN Atlas Elektronik GmbH, D-28305 Bremen |
| Simulation Division Sebaldsbruecker Heerstr. 235 +49/421/457-2819 |
+-------- http://home.vr-web.de/Juergen.Kahrs/homepage.html ----------+


Post a followup to this message

Return to the comp.compilers page.
Search the comp.compilers archives again.