projects
/
libreriscv.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
729d290
)
(no commit message)
author
lkcl
<lkcl@web>
Sun, 19 Jun 2022 18:55:43 +0000
(19:55 +0100)
committer
IkiWiki
<ikiwiki.info>
Sun, 19 Jun 2022 18:55:43 +0000
(19:55 +0100)
openpower/sv/bitmanip.mdwn
patch
|
blob
|
history
diff --git
a/openpower/sv/bitmanip.mdwn
b/openpower/sv/bitmanip.mdwn
index c73deb71cfdba2953e7b23c631d8ff9a8abda779..cbaba7308231c6ee5df7f621f6c876095f682315 100644
(file)
--- a/
openpower/sv/bitmanip.mdwn
+++ b/
openpower/sv/bitmanip.mdwn
@@
-167,7
+167,7
@@
the [[sv/av_opcodes]])
| NN | RS | RA | sh | SH | 01 | 1010 110 |Rc| rsvd | |
| NN | RT | RA | RB | 0 | 01 | 0110 110 |Rc| rsvd | |
| NN | RS | RA | SH | 0 | 01 | 1110 110 |Rc| rsvd | |
| NN | RS | RA | sh | SH | 01 | 1010 110 |Rc| rsvd | |
| NN | RT | RA | RB | 0 | 01 | 0110 110 |Rc| rsvd | |
| NN | RS | RA | SH | 0 | 01 | 1110 110 |Rc| rsvd | |
-| NN | RT | RA | RB | 1 | 01 | 1110 110 |Rc|
rsvd |
|
+| NN | RT | RA | RB | 1 | 01 | 1110 110 |Rc|
absdu | X-Form
|
| NN | RS | RA | RB | 0 | 10 | 0010 110 |Rc| bmator | X-Form |
| NN | RS | RA | RB | 0 | 10 | 0110 110 |Rc| bmatand | X-Form |
| NN | RS | RA | RB | 0 | 10 | 1010 110 |Rc| bmatxor | X-Form |
| NN | RS | RA | RB | 0 | 10 | 0010 110 |Rc| bmator | X-Form |
| NN | RS | RA | RB | 0 | 10 | 0110 110 |Rc| bmatand | X-Form |
| NN | RS | RA | RB | 0 | 10 | 1010 110 |Rc| bmatxor | X-Form |
@@
-330,13
+330,13
@@
uint_xlen_t intavg(uint_xlen_t rs1, uint_xlen_t rs2) {
}
```
}
```
-## abs
+## abs
du
required for the [[sv/av_opcodes]], these exist in Packed SIMD (VSX)
but not scalar
```
required for the [[sv/av_opcodes]], these exist in Packed SIMD (VSX)
but not scalar
```
-uint_xlen_t
intabs
(uint_xlen_t rs1, uint_xlen_t rs2) {
+uint_xlen_t
absdu
(uint_xlen_t rs1, uint_xlen_t rs2) {
return (src1 > src2) ? (src1-src2) : (src2-src1)
}
```
return (src1 > src2) ? (src1-src2) : (src2-src1)
}
```