Red Hat axp-list: Linux on Alpha (1995-2022)
 help / color / mirror / Atom feed
From: Richard Henderson <rth@twiddle.net>
To: axp-list@redhat.com
Subject: Re: patch_v2: (on Alpha) emulating missing instructions
Date: Sat, 23 Oct 1999 13:39:17 -0700	[thread overview]
Message-ID: <19991023133917.A15599@twiddle.net> (raw)
In-Reply-To: <Pine.GSO.4.10.9910181625180.21280-100000@mvagusta.uk.ntc.nokia.com>; from Phil Carmody on Mon, Oct 18, 1999 at 04:31:25PM +0100

On Mon, Oct 18, 1999 at 04:31:25PM +0100, Phil Carmody wrote:
>	D = (A & M) | (B & ~M);
> can be turned into 
>	D = A ^ ((A ^ B) & M);

I'll note that the former expression, given an andnot operation,
has 3 ops and a tree height of 2.  The later expression has 3 ops
and a tree height of 3.  I.e. the former expression takes better
advantage of instruction-level parallelism.


r~


  reply	other threads:[~1999-10-23 20:39 UTC|newest]

Thread overview: 25+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1999-10-18 14:46 patch_v2: (on Alpha) emulating missing instructions Robert Harley
1999-10-18 15:31 ` Phil Carmody
1999-10-23 20:39   ` Richard Henderson [this message]
1999-10-21 16:23 ` patch_v3: emulating missing instructions on Alpha Luke Deller
1999-10-23 20:55   ` Richard Henderson
1999-10-24  0:28     ` Daniel Potts
1999-10-25  1:22     ` Luke Deller
1999-10-28 23:34       ` Richard Henderson
  -- strict thread matches above, loose matches on Subject: below --
1999-10-18 13:05 patch_v2: (on Alpha) emulating missing instructions Robert Harley
1999-10-15  9:30 PATCH: " Luke Deller
1999-10-16  9:13 ` patch_v2: " Luke Deller
1999-01-13 14:10 Alpha 21264 Andy Almond
1999-01-13 16:36 ` Jeff Sturm
1999-01-14  6:50   ` Richard Henderson
1999-01-12  3:55 rpcc Christoph Dworzak
1999-01-12  3:20 ` rpcc Peter Petrakis
1999-01-12  4:59 ` rpcc Richard Henderson
     [not found]   ` <rth@twiddle.net>
1999-01-12 16:59     ` rpcc Christoph Dworzak
1999-01-12 19:27       ` rpcc Richard Henderson
1999-01-12 21:06         ` rpcc Wes Bauske
1999-01-13  2:16           ` rpcc Richard Henderson
1999-01-14 16:17     ` Alpha 21264 Christoph Dworzak
1999-01-14 15:46       ` Greg Lindahl
1999-01-14 17:27       ` Richard Henderson
1999-10-24 15:04     ` patch_v2: (on Alpha) emulating missing instructions Christoph Dworzak
1999-10-25  9:47       ` Phil Carmody
read-only archive

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox