projects
/
ieee754fpu.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
25e807c
)
reduce linelength <80chars
author
Luke Kenneth Casson Leighton
<lkcl@lkcl.net>
Mon, 27 Jan 2020 15:46:46 +0000
(15:46 +0000)
committer
Luke Kenneth Casson Leighton
<lkcl@lkcl.net>
Mon, 27 Jan 2020 15:46:46 +0000
(15:46 +0000)
src/ieee754/fsgnj/fsgnj.py
patch
|
blob
|
history
diff --git
a/src/ieee754/fsgnj/fsgnj.py
b/src/ieee754/fsgnj/fsgnj.py
index be6060bdde8323d1b85cb04c60af02119d27da89..dbdb23d1933b6c4f0390bb2956f1e82264824937 100644
(file)
--- a/
src/ieee754/fsgnj/fsgnj.py
+++ b/
src/ieee754/fsgnj/fsgnj.py
@@
-53,7
+53,7
@@
class FSGNJPipeMod(PipeModBase):
# Handle opcodes 0b00 and 0b01, copying or inverting the sign bit of B
sign = Mux(opcode[0], ~b1.s, b1.s)
- # Handle opcodes 0b10 and 0b11, XORing
the
sign bits of a and b together.
+ # Handle opcodes 0b10 and 0b11, XORing sign bits of a and b together.
# opcode 0b11 is not defined in the RISCV spec; it is handled
# here as equivalent to opcode 0b10 (i.e. a1.s XOR b1.s)
# because this requires slightly less logic than making it the