[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[f-cpu] ADD/SUB unit, v2 ?
- To: fm <f-cpu@seul.org>
- Subject: [f-cpu] ADD/SUB unit, v2 ?
- From: Yann Guidon <whygee@f-cpu.org>
- Date: Sat, 05 Jan 2002 01:42:23 +0100
- Delivered-To: archiver@seul.org
- Delivered-To: f-cpu-outgoing@seul.org
- Delivered-To: f-cpu@seul.org
- Delivery-Date: Fri, 04 Jan 2002 19:39:01 -0500
- Organization: http://www.f-cpu.org
- Reply-To: f-cpu@seul.org
- Sender: owner-f-cpu@seul.org
hello,
while reading through the ASU code, i read that
there is no "time" for a 1-bit most-shift
(which would be useful for fractional operations).
I thought about the following solution :
1) duplicate the unit
2) drop the input xors and propagate the change in the
rest of one of the unit. We thus get one sub and one
add operation
3) add the post-shift
Since there is a provision for a simultaneous add/sub
instruction, this is fine :-) The new form of ASU
(optional) would have the same 2 write ports
and the simultaneous add/sub will disallow carry/borrow.
I am thinking about this because i'm currently working on
a 8-bin DCT and most adds are paired with subsractions.
Since i use a derivative of the Winogrgad version,
this is not completely true but the first stages start
like a normal butterfly FFT. The rest is a matter of
scheduling and register allocation...
WHYGEE
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
*************************************************************
To unsubscribe, send an e-mail to majordomo@seul.org with
unsubscribe f-cpu in the body. http://f-cpu.seul.org/