libreriscv.git
2 years agoMerge branch 'master' of ssh://git.libre-riscv.org:922/libreriscv
Tobias Platen [Fri, 29 Apr 2022 15:04:17 +0000 (17:04 +0200)]
Merge branch 'master' of ssh://git.libre-riscv.org:922/libreriscv

2 years ago(no commit message)
lkcl [Fri, 29 Apr 2022 11:55:17 +0000 (12:55 +0100)]

2 years ago(no commit message)
lkcl [Fri, 29 Apr 2022 11:44:14 +0000 (12:44 +0100)]

2 years ago(no commit message)
lkcl [Fri, 29 Apr 2022 11:38:22 +0000 (12:38 +0100)]

2 years ago(no commit message)
lkcl [Fri, 29 Apr 2022 11:26:45 +0000 (12:26 +0100)]

2 years agoswap RC and RA in divrem2du
Luke Kenneth Casson Leighton [Fri, 29 Apr 2022 09:42:48 +0000 (10:42 +0100)]
swap RC and RA in divrem2du
(oh and do some whitespace, not supposed to combine these, whoops)

2 years agoadd commands needed to compile microwatt-verilator
Tobias Platen [Thu, 28 Apr 2022 18:44:37 +0000 (20:44 +0200)]
add commands needed to compile microwatt-verilator

2 years agoadd paragraph about firmware address
Tobias Platen [Thu, 28 Apr 2022 18:25:13 +0000 (20:25 +0200)]
add paragraph about firmware address

2 years ago(no commit message)
lkcl [Thu, 28 Apr 2022 17:13:23 +0000 (18:13 +0100)]

2 years ago(no commit message)
lkcl [Thu, 28 Apr 2022 17:08:45 +0000 (18:08 +0100)]

2 years ago(no commit message)
lkcl [Thu, 28 Apr 2022 11:15:43 +0000 (12:15 +0100)]

2 years ago(no commit message)
lkcl [Thu, 28 Apr 2022 11:10:32 +0000 (12:10 +0100)]

2 years ago(no commit message)
lkcl [Wed, 27 Apr 2022 19:27:47 +0000 (20:27 +0100)]

2 years ago(no commit message)
lkcl [Wed, 27 Apr 2022 15:26:06 +0000 (16:26 +0100)]

2 years ago(no commit message)
lkcl [Wed, 27 Apr 2022 15:19:23 +0000 (16:19 +0100)]

2 years ago(no commit message)
lkcl [Wed, 27 Apr 2022 15:11:48 +0000 (16:11 +0100)]

2 years ago(no commit message)
lkcl [Wed, 27 Apr 2022 15:09:46 +0000 (16:09 +0100)]

2 years ago(no commit message)
lkcl [Wed, 27 Apr 2022 15:04:23 +0000 (16:04 +0100)]

2 years agoadd SVP64 assembler version of big-shift
Luke Kenneth Casson Leighton [Wed, 27 Apr 2022 14:38:25 +0000 (15:38 +0100)]
add SVP64 assembler version of big-shift

2 years ago(no commit message)
lkcl [Wed, 27 Apr 2022 14:16:04 +0000 (15:16 +0100)]

2 years agoadd divrem2du instruction
Luke Kenneth Casson Leighton [Wed, 27 Apr 2022 13:45:30 +0000 (14:45 +0100)]
add divrem2du instruction

2 years agowhoops should be in openpower-isa (as an overlay)
Luke Kenneth Casson Leighton [Wed, 27 Apr 2022 12:52:32 +0000 (13:52 +0100)]
whoops should be in openpower-isa (as an overlay)

2 years ago(no commit message)
lkcl [Wed, 27 Apr 2022 11:48:45 +0000 (12:48 +0100)]

2 years ago(no commit message)
lkcl [Wed, 27 Apr 2022 11:46:34 +0000 (12:46 +0100)]

2 years ago(no commit message)
lkcl [Wed, 27 Apr 2022 11:44:32 +0000 (12:44 +0100)]

2 years ago(no commit message)
lkcl [Wed, 27 Apr 2022 09:40:46 +0000 (10:40 +0100)]

2 years ago(no commit message)
lkcl [Wed, 27 Apr 2022 09:36:23 +0000 (10:36 +0100)]

2 years ago(no commit message)
lkcl [Wed, 27 Apr 2022 09:30:11 +0000 (10:30 +0100)]

2 years ago(no commit message)
lkcl [Wed, 27 Apr 2022 09:22:21 +0000 (10:22 +0100)]

2 years agofix UB
Jacob Lifshay [Wed, 27 Apr 2022 01:25:34 +0000 (18:25 -0700)]
fix UB

2 years agoclean up code
Jacob Lifshay [Wed, 27 Apr 2022 01:14:40 +0000 (18:14 -0700)]
clean up code

2 years agoformat code
Jacob Lifshay [Wed, 27 Apr 2022 01:07:47 +0000 (18:07 -0700)]
format code

2 years ago(no commit message)
lkcl [Tue, 26 Apr 2022 23:20:30 +0000 (00:20 +0100)]

2 years ago(no commit message)
lkcl [Tue, 26 Apr 2022 23:17:37 +0000 (00:17 +0100)]

2 years ago(no commit message)
lkcl [Tue, 26 Apr 2022 20:42:56 +0000 (21:42 +0100)]

2 years ago(no commit message)
lkcl [Tue, 26 Apr 2022 20:38:15 +0000 (21:38 +0100)]

2 years ago(no commit message)
lkcl [Tue, 26 Apr 2022 17:00:13 +0000 (18:00 +0100)]

2 years ago(no commit message)
lkcl [Tue, 26 Apr 2022 16:27:55 +0000 (17:27 +0100)]

2 years ago(no commit message)
lkcl [Tue, 26 Apr 2022 16:27:28 +0000 (17:27 +0100)]

2 years agosplit out bigdiv as separate function
Luke Kenneth Casson Leighton [Tue, 26 Apr 2022 16:12:16 +0000 (17:12 +0100)]
split out bigdiv as separate function

2 years agowhitespace
Luke Kenneth Casson Leighton [Tue, 26 Apr 2022 15:00:46 +0000 (16:00 +0100)]
whitespace

2 years agobig leftshift split out
Luke Kenneth Casson Leighton [Tue, 26 Apr 2022 14:26:22 +0000 (15:26 +0100)]
big leftshift split out

2 years agosplit out bigshift
Luke Kenneth Casson Leighton [Tue, 26 Apr 2022 14:18:08 +0000 (15:18 +0100)]
split out bigshift

2 years ago(no commit message)
lkcl [Tue, 26 Apr 2022 13:10:47 +0000 (14:10 +0100)]

2 years ago(no commit message)
lkcl [Tue, 26 Apr 2022 12:59:05 +0000 (13:59 +0100)]

2 years agostart splitting out bigops
Luke Kenneth Casson Leighton [Tue, 26 Apr 2022 12:41:35 +0000 (13:41 +0100)]
start splitting out bigops

2 years agoswitch to using divrem_64_by_32 which follows semantics of proposed 128x64->64 div op
Jacob Lifshay [Tue, 26 Apr 2022 06:18:29 +0000 (23:18 -0700)]
switch to using divrem_64_by_32 which follows semantics of proposed 128x64->64 div op

2 years agofix UB caused by lkcl in 1afca349cc91beebe7fd04260e0f9e9dbf85eb06
Jacob Lifshay [Tue, 26 Apr 2022 06:16:55 +0000 (23:16 -0700)]
fix UB caused by lkcl in 1afca349cc91beebe7fd04260e0f9e9dbf85eb06

2 years agoformat code
Jacob Lifshay [Tue, 26 Apr 2022 05:28:34 +0000 (22:28 -0700)]
format code

2 years ago(no commit message)
lkcl [Mon, 25 Apr 2022 23:52:14 +0000 (00:52 +0100)]

2 years agohttps://bugs.libre-soc.org/show_bug.cgi?id=817#c31
Luke Kenneth Casson Leighton [Mon, 25 Apr 2022 20:12:19 +0000 (21:12 +0100)]
https://bugs.libre-soc.org/show_bug.cgi?id=817#c31
use 2-step 64/32 divides (experiment)

2 years agouse shift-and-or rather than mul-and-add in
Luke Kenneth Casson Leighton [Mon, 25 Apr 2022 20:03:10 +0000 (21:03 +0100)]
use shift-and-or rather than mul-and-add in
construction of 64-bit from 2x32-bit

2 years agoremove soc builder
Luke Kenneth Casson Leighton [Mon, 25 Apr 2022 19:38:47 +0000 (20:38 +0100)]
remove soc builder

2 years agoremove minerva example
Luke Kenneth Casson Leighton [Mon, 25 Apr 2022 18:21:43 +0000 (19:21 +0100)]
remove minerva example

2 years ago(no commit message)
lkcl [Mon, 25 Apr 2022 16:52:04 +0000 (17:52 +0100)]

2 years ago(no commit message)
lkcl [Mon, 25 Apr 2022 16:50:10 +0000 (17:50 +0100)]

2 years ago(no commit message)
lkcl [Mon, 25 Apr 2022 16:44:09 +0000 (17:44 +0100)]

2 years ago(no commit message)
lkcl [Mon, 25 Apr 2022 16:40:31 +0000 (17:40 +0100)]

2 years ago(no commit message)
lkcl [Mon, 25 Apr 2022 15:15:44 +0000 (16:15 +0100)]

2 years ago(no commit message)
lkcl [Mon, 25 Apr 2022 11:12:55 +0000 (12:12 +0100)]

2 years ago(no commit message)
lkcl [Sun, 24 Apr 2022 22:10:48 +0000 (23:10 +0100)]

2 years ago(no commit message)
lkcl [Sun, 24 Apr 2022 21:32:25 +0000 (22:32 +0100)]

2 years ago(no commit message)
lkcl [Sun, 24 Apr 2022 21:00:16 +0000 (22:00 +0100)]

2 years ago(no commit message)
lkcl [Sun, 24 Apr 2022 20:47:51 +0000 (21:47 +0100)]

2 years agouse div/rem rather than re-calculate modulo from multiply
Luke Kenneth Casson Leighton [Sun, 24 Apr 2022 19:27:27 +0000 (20:27 +0100)]
use div/rem rather than re-calculate modulo from multiply

2 years agomove bigadd out into separate function, use it
Luke Kenneth Casson Leighton [Sun, 24 Apr 2022 17:35:18 +0000 (18:35 +0100)]
move bigadd out into separate function, use it

2 years agocreate bigsub and bigmul and bigmulsub
Luke Kenneth Casson Leighton [Sun, 24 Apr 2022 17:24:36 +0000 (18:24 +0100)]
create bigsub and bigmul and bigmulsub

2 years agomorphing divmnu64.c into big* functions then attempt goldschmidt
Luke Kenneth Casson Leighton [Sun, 24 Apr 2022 17:06:18 +0000 (18:06 +0100)]
morphing divmnu64.c into big* functions then attempt goldschmidt

2 years ago(no commit message)
lkcl [Sun, 24 Apr 2022 07:19:25 +0000 (08:19 +0100)]

2 years ago(no commit message)
lkcl [Sun, 24 Apr 2022 02:58:26 +0000 (03:58 +0100)]

2 years ago(no commit message)
lkcl [Sun, 24 Apr 2022 02:53:49 +0000 (03:53 +0100)]

2 years ago(no commit message)
lkcl [Sat, 23 Apr 2022 18:49:41 +0000 (19:49 +0100)]

2 years ago(no commit message)
lkcl [Sat, 23 Apr 2022 18:33:15 +0000 (19:33 +0100)]

2 years ago(no commit message)
lkcl [Sat, 23 Apr 2022 18:30:47 +0000 (19:30 +0100)]

2 years agoformat code
Jacob Lifshay [Fri, 22 Apr 2022 21:37:29 +0000 (14:37 -0700)]
format code

2 years agofix link
Jacob Lifshay [Fri, 22 Apr 2022 03:20:08 +0000 (20:20 -0700)]
fix link

2 years ago(no commit message)
lkcl [Fri, 22 Apr 2022 13:18:13 +0000 (14:18 +0100)]

2 years ago(no commit message)
lkcl [Fri, 22 Apr 2022 12:58:27 +0000 (13:58 +0100)]

2 years ago(no commit message)
lkcl [Fri, 22 Apr 2022 09:57:32 +0000 (10:57 +0100)]

2 years ago(no commit message)
lkcl [Fri, 22 Apr 2022 09:56:32 +0000 (10:56 +0100)]

2 years agoclarify estimate through explicit variable containing
Luke Kenneth Casson Leighton [Fri, 22 Apr 2022 09:41:19 +0000 (10:41 +0100)]
clarify estimate through explicit variable containing
top two digits

2 years ago(no commit message)
lkcl [Fri, 22 Apr 2022 09:33:58 +0000 (10:33 +0100)]

2 years ago(no commit message)
lkcl [Fri, 22 Apr 2022 09:32:26 +0000 (10:32 +0100)]

2 years agocheck for expected divmnu failures
Jacob Lifshay [Fri, 22 Apr 2022 03:10:07 +0000 (20:10 -0700)]
check for expected divmnu failures

2 years agoconvert divmnu64.c tests to be easier to understand
Jacob Lifshay [Fri, 22 Apr 2022 03:02:50 +0000 (20:02 -0700)]
convert divmnu64.c tests to be easier to understand

2 years agoconvert mulmnu.c tests to be easier to understand
Jacob Lifshay [Fri, 22 Apr 2022 02:47:17 +0000 (19:47 -0700)]
convert mulmnu.c tests to be easier to understand

2 years agoadd sv.madded sv.subfe to divmnu64.c
Jacob Lifshay [Fri, 22 Apr 2022 02:27:04 +0000 (19:27 -0700)]
add sv.madded sv.subfe to divmnu64.c

2 years agofix bug
Jacob Lifshay [Fri, 22 Apr 2022 02:05:13 +0000 (19:05 -0700)]
fix bug

2 years agoadd another mul case to reveal bug
Jacob Lifshay [Fri, 22 Apr 2022 01:40:58 +0000 (18:40 -0700)]
add another mul case to reveal bug

2 years agoformat with clang-format-13
Jacob Lifshay [Fri, 22 Apr 2022 01:12:42 +0000 (18:12 -0700)]
format with clang-format-13

2 years agoadd stuff for clang-format
Jacob Lifshay [Fri, 22 Apr 2022 01:12:06 +0000 (18:12 -0700)]
add stuff for clang-format

2 years ago(no commit message)
lkcl [Thu, 21 Apr 2022 22:00:43 +0000 (23:00 +0100)]

2 years ago(no commit message)
lkcl [Thu, 21 Apr 2022 21:36:41 +0000 (22:36 +0100)]

2 years ago(no commit message)
lkcl [Thu, 21 Apr 2022 19:53:54 +0000 (20:53 +0100)]

2 years ago(no commit message)
lkcl [Thu, 21 Apr 2022 17:59:50 +0000 (18:59 +0100)]

2 years ago(no commit message)
lkcl [Thu, 21 Apr 2022 17:54:06 +0000 (18:54 +0100)]

2 years ago(no commit message)
lkcl [Thu, 21 Apr 2022 17:52:51 +0000 (18:52 +0100)]

2 years ago(no commit message)
lkcl [Thu, 21 Apr 2022 17:51:38 +0000 (18:51 +0100)]

2 years ago(no commit message)
lkcl [Thu, 21 Apr 2022 17:46:17 +0000 (18:46 +0100)]

2 years ago(no commit message)
lkcl [Thu, 21 Apr 2022 16:12:45 +0000 (17:12 +0100)]