Re: Had an interview
- From: Walter Banks <walter@xxxxxxxxxxxxx>
- Date: Wed, 07 May 2008 08:03:21 -0400
CBFalconer wrote:
Nils wrote:
tims next home schrieb:
x = "\00\02\01"[x];
You are insufficiently depraved.
x = x["0\02\01"];
works, and is perfectly valid C.
Not when working on my team, it isn't:-)
How about x = 4>>x
After seeing the weird solutions I have decided that I AM
insufficiently depraved. These ridiculous solutions just never
occur to me. Am I missing something in the humour line?
ISA's have changed over the years. I was amazed at
algorithmic opportunities that came with the first
barrel shifter where shift by 1 and shift by x took the
same execution time.
Partially microcoded instruction sets that allow different
operations on different execution cycles in a pipelined
processor may be a nightmare to code but it only has
to be right once.
Regards
--
Walter Banks
Byte Craft Limited
Tel. (519) 888-6911
http://www.bytecraft.com
walter@xxxxxxxxxxxxx
.
- References:
- Re: Had an interview
- From: nospam
- Re: Had an interview
- From: Ulf Samuelsson
- Re: Had an interview
- From: David M. Palmer
- Re: Had an interview
- From: tims next home
- Re: Had an interview
- From: Nils
- Re: Had an interview
- From: CBFalconer
- Re: Had an interview
- Prev by Date: Re: Loss of synchronisation: Are the chips reliable?
- Next by Date: Re: PMOS in parallel with NMOS
- Previous by thread: Re: Had an interview
- Next by thread: Re: Had an interview
- Index(es):