From: lkcl Date: Thu, 18 May 2023 14:53:00 +0000 (+0100) Subject: (no commit message) X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=904ea21b537f4fb0c11f2efbe63ffca36844542e;p=libreriscv.git --- diff --git a/simple_v_extension/daxpy_example.mdwn b/simple_v_extension/daxpy_example.mdwn index afbba8480..c9ca1cb34 100644 --- 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