projects
/
libreriscv.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ccaa09f
)
(no commit message)
author
lkcl
<lkcl@web>
Thu, 18 May 2023 14:53:00 +0000
(15:53 +0100)
committer
IkiWiki
<ikiwiki.info>
Thu, 18 May 2023 14:53:00 +0000
(15:53 +0100)
simple_v_extension/daxpy_example.mdwn
patch
|
blob
|
history
diff --git
a/simple_v_extension/daxpy_example.mdwn
b/simple_v_extension/daxpy_example.mdwn
index afbba84808ff2abd0857af5fe30b7e3e5b4967fa..c9ca1cb34a4b59f33aaee8d6151035fcce42165d 100644
(file)
--- a/
simple_v_extension/daxpy_example.mdwn
+++ b/
simple_v_extension/daxpy_example.mdwn
@@
-1,12
+1,9
@@
# c code
```
- void daxpy(size_t n, double a, const double x[], double y[])
- {
- for (size_t i = 0; i < n; i++) {
- y[i] = a*x[i] + y[i];
- }
- }
+ void daxpy(size_t n, double a, const double x[], double y[]) {
+ for (size_t i = 0; i < n; i++)
+ y[i] = a*x[i] + y[i];
```
# SVP64 Power ISA version