Libre RISC-V Mailing list Archives (accessible via public-inbox)
 help / color / Atom feed
* [libre-riscv-dev] [Bug 267] New: The efficiency of adder/subtractor
@ 2020-03-26 22:05 bugzilla-daemon
  2020-03-26 23:10 ` [libre-riscv-dev] [Bug 267] " bugzilla-daemon
                   ` (8 more replies)
  0 siblings, 9 replies; 13+ messages in thread
From: bugzilla-daemon @ 2020-03-26 22:05 UTC (permalink / raw)
  To: libre-riscv-dev

http://bugs.libre-riscv.org/show_bug.cgi?id=267

            Bug ID: 267
           Summary: The efficiency of adder/subtractor
           Product: Libre-SOC's first SoC
           Version: unspecified
          Hardware: PC
                OS: Windows
            Status: CONFIRMED
          Severity: enhancement
          Priority: ---
         Component: ALU (including IEEE754 16/32/64-bit FPU)
          Assignee: lkcl@lkcl.net
          Reporter: tanner.of.kha@gmail.com
                CC: libre-riscv-dev@lists.libre-riscv.org
   NLnet milestone: ---

From the task http://bugs.libre-riscv.org/show_bug.cgi?id=217

(In reply to Luke Kenneth Casson Leighton from comment #42)
> (In reply to Jock Tanner from comment #41)
> > I think most ALUs
> > just negate and add instead of subtract. I think this would use a bit less
> > logic, and negation in itself is also a useful operation.
> 
> yes. in the "real" alu we have... mmm... not sure, actually.  probably -
> 
> do me a favour and raise a bugreport as a reminder to look up what
> rocketchip does?

Actually I was thinking about what Harris&Harris suggested in their famous
book. You just have to have an inverter on one operand input of an adder. The
two's complement of that operand can be achieved via the carry input.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
_______________________________________________
libre-riscv-dev mailing list
libre-riscv-dev@lists.libre-riscv.org
http://lists.libre-riscv.org/mailman/listinfo/libre-riscv-dev

^ permalink raw reply	[flat|nested] 13+ messages in thread

end of thread, back to index

Thread overview: 13+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-03-26 22:05 [libre-riscv-dev] [Bug 267] New: The efficiency of adder/subtractor bugzilla-daemon
2020-03-26 23:10 ` [libre-riscv-dev] [Bug 267] " bugzilla-daemon
2020-04-07  5:23 ` bugzilla-daemon
2020-04-07  9:48 ` bugzilla-daemon
2020-04-07 11:39 ` bugzilla-daemon
2020-04-07 11:48 ` bugzilla-daemon
2020-04-07 13:15 ` bugzilla-daemon
2020-04-07 13:36 ` bugzilla-daemon
2020-04-07 13:38 ` bugzilla-daemon
2020-04-07 14:44 ` bugzilla-daemon
2020-04-07 15:14   ` whygee
2020-04-07 15:25     ` Jacob Lifshay
2020-04-07 15:46       ` whygee

Libre RISC-V Mailing list Archives (accessible via public-inbox)

Archives are clonable: git clone --mirror https://inbox.libre-soc.org/libre-riscv-dev

Example config snippet for mirrors


AGPL code for this site: git clone https://public-inbox.org/public-inbox.git