ieee754fpu.git
5 years agomove priority picker from soc to nmutil
Luke Kenneth Casson Leighton [Thu, 1 Aug 2019 07:48:29 +0000 (08:48 +0100)]
move priority picker from soc to nmutil

5 years agoadd copy of inout mux pipe
Luke Kenneth Casson Leighton [Thu, 1 Aug 2019 07:42:16 +0000 (08:42 +0100)]
add copy of inout mux pipe

5 years agowhitespace
Luke Kenneth Casson Leighton [Thu, 1 Aug 2019 07:41:31 +0000 (08:41 +0100)]
whitespace

5 years agowhitespace
Luke Kenneth Casson Leighton [Thu, 1 Aug 2019 01:35:28 +0000 (02:35 +0100)]
whitespace

5 years agoremove more redundant modules
Luke Kenneth Casson Leighton [Thu, 1 Aug 2019 01:35:15 +0000 (02:35 +0100)]
remove more redundant modules

5 years agocomment; remove unneeded code
Luke Kenneth Casson Leighton [Thu, 1 Aug 2019 01:25:37 +0000 (02:25 +0100)]
comment; remove unneeded code

5 years agoremove i_specfn and o_specfn from FP*MuxInOut, use self.alu.ispec() and ospec()
Luke Kenneth Casson Leighton [Thu, 1 Aug 2019 01:23:10 +0000 (02:23 +0100)]
remove i_specfn and o_specfn from FP*MuxInOut, use self.alu.ispec() and ospec()

every class has an alu object, the pipe specs are the same for all use-cases
so....

5 years agocorrect library name
Luke Kenneth Casson Leighton [Thu, 1 Aug 2019 01:10:59 +0000 (02:10 +0100)]
correct library name

5 years agoadd copyright notice
Luke Kenneth Casson Leighton [Thu, 1 Aug 2019 01:06:56 +0000 (02:06 +0100)]
add copyright notice

5 years agoupdate comments
Luke Kenneth Casson Leighton [Thu, 1 Aug 2019 01:05:51 +0000 (02:05 +0100)]
update comments

5 years agoadd bugreport crossreference
Luke Kenneth Casson Leighton [Thu, 1 Aug 2019 00:02:40 +0000 (01:02 +0100)]
add bugreport crossreference

5 years agoadd bugreport link
Luke Kenneth Casson Leighton [Thu, 1 Aug 2019 00:02:05 +0000 (01:02 +0100)]
add bugreport link

5 years agoadd to float2int unit tests
Luke Kenneth Casson Leighton [Wed, 31 Jul 2019 23:57:19 +0000 (00:57 +0100)]
add to float2int unit tests

5 years agoadjust float2int range to cope with larger-to-smaller
Luke Kenneth Casson Leighton [Wed, 31 Jul 2019 23:57:05 +0000 (00:57 +0100)]
adjust float2int range to cope with larger-to-smaller

5 years agouse PipeModBase in float2int fcvt
Luke Kenneth Casson Leighton [Wed, 31 Jul 2019 23:32:35 +0000 (00:32 +0100)]
use PipeModBase in float2int fcvt

5 years agouse alternative logic for roundz detect exponent increase
Luke Kenneth Casson Leighton [Wed, 31 Jul 2019 23:24:14 +0000 (00:24 +0100)]
use alternative logic for roundz detect exponent increase

5 years agoremove unneeded modules
Luke Kenneth Casson Leighton [Wed, 31 Jul 2019 23:19:26 +0000 (00:19 +0100)]
remove unneeded modules

5 years agocomment
Luke Kenneth Casson Leighton [Wed, 31 Jul 2019 23:18:39 +0000 (00:18 +0100)]
comment

5 years agoconvert to use unittest in fcvt
Luke Kenneth Casson Leighton [Wed, 31 Jul 2019 23:16:27 +0000 (00:16 +0100)]
convert to use unittest in fcvt

5 years agoincrease number of test runs
Luke Kenneth Casson Leighton [Wed, 31 Jul 2019 23:13:51 +0000 (00:13 +0100)]
increase number of test runs

5 years agowhoops broke downconvert rounding
Luke Kenneth Casson Leighton [Wed, 31 Jul 2019 23:12:10 +0000 (00:12 +0100)]
whoops broke downconvert rounding

5 years agotidyup of fcvt downsize
Luke Kenneth Casson Leighton [Wed, 31 Jul 2019 23:03:29 +0000 (00:03 +0100)]
tidyup of fcvt downsize

5 years agowhitespace
Luke Kenneth Casson Leighton [Wed, 31 Jul 2019 22:54:28 +0000 (23:54 +0100)]
whitespace

5 years agoreorg / tidyup fcvt upsize.py
Luke Kenneth Casson Leighton [Wed, 31 Jul 2019 22:54:06 +0000 (23:54 +0100)]
reorg / tidyup fcvt upsize.py

5 years agorename FPADDBaseData to FPBaseData and move to separate module
Luke Kenneth Casson Leighton [Wed, 31 Jul 2019 22:41:31 +0000 (23:41 +0100)]
rename FPADDBaseData to FPBaseData and move to separate module

5 years agocleanup
Luke Kenneth Casson Leighton [Wed, 31 Jul 2019 21:40:18 +0000 (22:40 +0100)]
cleanup

5 years agomove FPPackData to separate module
Luke Kenneth Casson Leighton [Wed, 31 Jul 2019 21:32:56 +0000 (22:32 +0100)]
move FPPackData to separate module

5 years agoupdate comments/clarify
Luke Kenneth Casson Leighton [Wed, 31 Jul 2019 21:23:42 +0000 (22:23 +0100)]
update comments/clarify

5 years agotidyup of FPAdd Align
Luke Kenneth Casson Leighton [Wed, 31 Jul 2019 21:05:43 +0000 (22:05 +0100)]
tidyup of FPAdd Align

5 years agoremove unneeded modules
Luke Kenneth Casson Leighton [Wed, 31 Jul 2019 20:55:15 +0000 (21:55 +0100)]
remove unneeded modules

5 years agoupdate comments
Luke Kenneth Casson Leighton [Wed, 31 Jul 2019 20:52:05 +0000 (21:52 +0100)]
update comments

5 years agoupdate comments
Luke Kenneth Casson Leighton [Wed, 31 Jul 2019 20:51:40 +0000 (21:51 +0100)]
update comments

5 years agoupdate comments
Luke Kenneth Casson Leighton [Wed, 31 Jul 2019 20:49:15 +0000 (21:49 +0100)]
update comments

5 years agomove assignment into out_do_z condition
Luke Kenneth Casson Leighton [Wed, 31 Jul 2019 20:39:13 +0000 (21:39 +0100)]
move assignment into out_do_z condition

5 years agoadd __init__.py files
Luke Kenneth Casson Leighton [Wed, 31 Jul 2019 20:31:33 +0000 (21:31 +0100)]
add __init__.py files

5 years agoremove unneeded imports, update copyright notice
Luke Kenneth Casson Leighton [Wed, 31 Jul 2019 20:27:58 +0000 (21:27 +0100)]
remove unneeded imports, update copyright notice

5 years agomove FPSCData to separate module
Luke Kenneth Casson Leighton [Wed, 31 Jul 2019 20:26:19 +0000 (21:26 +0100)]
move FPSCData to separate module

5 years agoremove unused module
Luke Kenneth Casson Leighton [Wed, 31 Jul 2019 20:24:14 +0000 (21:24 +0100)]
remove unused module

5 years agoupdate copyright notice
Luke Kenneth Casson Leighton [Wed, 31 Jul 2019 19:46:22 +0000 (20:46 +0100)]
update copyright notice

5 years agocode reordering
Luke Kenneth Casson Leighton [Wed, 31 Jul 2019 19:44:48 +0000 (20:44 +0100)]
code reordering

5 years agocode comments in dynamicpipe
Luke Kenneth Casson Leighton [Wed, 31 Jul 2019 19:44:06 +0000 (20:44 +0100)]
code comments in dynamicpipe

5 years agocode comments in div0
Luke Kenneth Casson Leighton [Wed, 31 Jul 2019 19:41:23 +0000 (20:41 +0100)]
code comments in div0

5 years agomove FPAddStage0Data to separate module
Luke Kenneth Casson Leighton [Wed, 31 Jul 2019 19:38:13 +0000 (20:38 +0100)]
move FPAddStage0Data to separate module

5 years agorename FPAddStage1Data to FPPostCalcData
Luke Kenneth Casson Leighton [Wed, 31 Jul 2019 19:35:16 +0000 (20:35 +0100)]
rename FPAddStage1Data to FPPostCalcData

5 years agomove mul data struct to separate module
Luke Kenneth Casson Leighton [Wed, 31 Jul 2019 19:33:55 +0000 (20:33 +0100)]
move mul data struct to separate module

5 years agomove DynamicPipe to nmutil
Luke Kenneth Casson Leighton [Wed, 31 Jul 2019 14:31:05 +0000 (15:31 +0100)]
move DynamicPipe to nmutil

5 years agocleanup
Luke Kenneth Casson Leighton [Wed, 31 Jul 2019 14:28:47 +0000 (15:28 +0100)]
cleanup

5 years agorename FPModBase* to PipeModBase*
Luke Kenneth Casson Leighton [Wed, 31 Jul 2019 14:27:19 +0000 (15:27 +0100)]
rename FPModBase* to PipeModBase*

5 years agomove FPModBase and FPModBaseChain to nmutil
Luke Kenneth Casson Leighton [Wed, 31 Jul 2019 14:25:54 +0000 (15:25 +0100)]
move FPModBase and FPModBaseChain to nmutil

5 years agoremove unneeded code
Luke Kenneth Casson Leighton [Wed, 31 Jul 2019 12:48:52 +0000 (13:48 +0100)]
remove unneeded code

5 years agoadd comment
Luke Kenneth Casson Leighton [Wed, 31 Jul 2019 12:43:45 +0000 (13:43 +0100)]
add comment

5 years agoremove unneeded imports
Luke Kenneth Casson Leighton [Wed, 31 Jul 2019 12:40:43 +0000 (13:40 +0100)]
remove unneeded imports

5 years agoremove unneeded imports
Luke Kenneth Casson Leighton [Wed, 31 Jul 2019 12:40:13 +0000 (13:40 +0100)]
remove unneeded imports

5 years agotidyup, use FPModBaseChain and FPModBase
Luke Kenneth Casson Leighton [Wed, 31 Jul 2019 12:38:31 +0000 (13:38 +0100)]
tidyup, use FPModBaseChain and FPModBase

5 years agowhitespace / comments
Luke Kenneth Casson Leighton [Wed, 31 Jul 2019 12:36:31 +0000 (13:36 +0100)]
whitespace / comments

5 years agowhitespace / comments
Luke Kenneth Casson Leighton [Wed, 31 Jul 2019 12:36:15 +0000 (13:36 +0100)]
whitespace / comments

5 years agotidyup, use FPModBaseChain and FPModBase
Luke Kenneth Casson Leighton [Wed, 31 Jul 2019 12:34:43 +0000 (13:34 +0100)]
tidyup, use FPModBaseChain and FPModBase

5 years agotidyup
Luke Kenneth Casson Leighton [Wed, 31 Jul 2019 12:32:07 +0000 (13:32 +0100)]
tidyup

5 years agotidyup, use FPModBaseChain and FPModBase
Luke Kenneth Casson Leighton [Wed, 31 Jul 2019 12:30:48 +0000 (13:30 +0100)]
tidyup, use FPModBaseChain and FPModBase

5 years agowhoops removed line of code by accident
Luke Kenneth Casson Leighton [Wed, 31 Jul 2019 12:30:41 +0000 (13:30 +0100)]
whoops removed line of code by accident

5 years agotidyup, use FPModBaseChain and FPModBase
Luke Kenneth Casson Leighton [Wed, 31 Jul 2019 12:28:40 +0000 (13:28 +0100)]
tidyup, use FPModBaseChain and FPModBase

5 years agotidyup, use FPModBaseChain and FPModBase
Luke Kenneth Casson Leighton [Wed, 31 Jul 2019 12:22:13 +0000 (13:22 +0100)]
tidyup, use FPModBaseChain and FPModBase

5 years agoinitialise out_do_z at beginning of ifs, set to zero if required
Luke Kenneth Casson Leighton [Wed, 31 Jul 2019 12:20:43 +0000 (13:20 +0100)]
initialise out_do_z at beginning of ifs, set to zero if required

5 years agoinitialise out_do_z at beginning of ifs, set to zero if required
Luke Kenneth Casson Leighton [Wed, 31 Jul 2019 12:19:58 +0000 (13:19 +0100)]
initialise out_do_z at beginning of ifs, set to zero if required

5 years agotidyup, use FPModBaseChain and FPModBase
Luke Kenneth Casson Leighton [Wed, 31 Jul 2019 12:19:26 +0000 (13:19 +0100)]
tidyup, use FPModBaseChain and FPModBase

5 years agotidyup, use FPModBaseChain and FPModBase
Luke Kenneth Casson Leighton [Wed, 31 Jul 2019 12:15:32 +0000 (13:15 +0100)]
tidyup, use FPModBaseChain and FPModBase

5 years agotidyup, use FPModBaseChain and FPModBase
Luke Kenneth Casson Leighton [Wed, 31 Jul 2019 12:13:11 +0000 (13:13 +0100)]
tidyup, use FPModBaseChain and FPModBase

5 years agotidyup, use FPModBaseChain and FPModBase
Luke Kenneth Casson Leighton [Wed, 31 Jul 2019 12:06:53 +0000 (13:06 +0100)]
tidyup, use FPModBaseChain and FPModBase

5 years agocleanup fpmul
Luke Kenneth Casson Leighton [Wed, 31 Jul 2019 11:54:41 +0000 (12:54 +0100)]
cleanup fpmul

5 years agotidyup
Luke Kenneth Casson Leighton [Wed, 31 Jul 2019 11:48:35 +0000 (12:48 +0100)]
tidyup

5 years agotidyup
Luke Kenneth Casson Leighton [Wed, 31 Jul 2019 11:46:58 +0000 (12:46 +0100)]
tidyup

5 years agotidyup
Luke Kenneth Casson Leighton [Wed, 31 Jul 2019 11:45:35 +0000 (12:45 +0100)]
tidyup

5 years agocleanup and add a new common class, FPModBase
Luke Kenneth Casson Leighton [Wed, 31 Jul 2019 11:39:44 +0000 (12:39 +0100)]
cleanup and add a new common class, FPModBase

5 years agomore cleanup
Luke Kenneth Casson Leighton [Wed, 31 Jul 2019 11:29:44 +0000 (12:29 +0100)]
more cleanup

5 years agomore cleanup
Luke Kenneth Casson Leighton [Wed, 31 Jul 2019 11:27:54 +0000 (12:27 +0100)]
more cleanup

5 years agomore cleanup
Luke Kenneth Casson Leighton [Wed, 31 Jul 2019 11:27:07 +0000 (12:27 +0100)]
more cleanup

5 years agoremove last import of SimpleHandshake
Luke Kenneth Casson Leighton [Wed, 31 Jul 2019 11:23:31 +0000 (12:23 +0100)]
remove last import of SimpleHandshake

5 years agoreplace SimpleHandshake with DynamicPipe, cleanup
Luke Kenneth Casson Leighton [Wed, 31 Jul 2019 11:22:53 +0000 (12:22 +0100)]
replace SimpleHandshake with DynamicPipe, cleanup

5 years agoremove unneeded imports
Luke Kenneth Casson Leighton [Wed, 31 Jul 2019 11:18:00 +0000 (12:18 +0100)]
remove unneeded imports

5 years agoremove redundant imports
Luke Kenneth Casson Leighton [Wed, 31 Jul 2019 10:25:26 +0000 (11:25 +0100)]
remove redundant imports

5 years agoremove redundant imports
Luke Kenneth Casson Leighton [Wed, 31 Jul 2019 10:24:08 +0000 (11:24 +0100)]
remove redundant imports

5 years agoconvert fcvt to DynamicPipe
Luke Kenneth Casson Leighton [Wed, 31 Jul 2019 10:04:08 +0000 (11:04 +0100)]
convert fcvt to DynamicPipe

5 years agoremove redundant imports
Luke Kenneth Casson Leighton [Wed, 31 Jul 2019 10:03:44 +0000 (11:03 +0100)]
remove redundant imports

5 years agostop using relative imports - pain in the neck
Luke Kenneth Casson Leighton [Wed, 31 Jul 2019 09:48:52 +0000 (10:48 +0100)]
stop using relative imports - pain in the neck

5 years agoremove redundant imports
Luke Kenneth Casson Leighton [Wed, 31 Jul 2019 09:48:30 +0000 (10:48 +0100)]
remove redundant imports

5 years agoconvert to DynamicPipe (default class in PipelineSpec: SimpleHandshake)
Luke Kenneth Casson Leighton [Wed, 31 Jul 2019 09:47:53 +0000 (10:47 +0100)]
convert to DynamicPipe (default class in PipelineSpec: SimpleHandshake)

5 years agoremove unneeded code
Luke Kenneth Casson Leighton [Wed, 31 Jul 2019 09:26:22 +0000 (10:26 +0100)]
remove unneeded code

5 years agouse DynamicPipe instead of SimpleHandshake
Luke Kenneth Casson Leighton [Wed, 31 Jul 2019 00:27:30 +0000 (01:27 +0100)]
use DynamicPipe instead of SimpleHandshake

5 years agodocument the DynamicPipe metaclass
Luke Kenneth Casson Leighton [Wed, 31 Jul 2019 00:21:45 +0000 (01:21 +0100)]
document the DynamicPipe metaclass

5 years agoremove use of FPState
Luke Kenneth Casson Leighton [Wed, 31 Jul 2019 00:20:10 +0000 (01:20 +0100)]
remove use of FPState

5 years agoresolve awful meta-class hacking (with thanks to jsbueno on stackexchange)
Luke Kenneth Casson Leighton [Tue, 30 Jul 2019 23:14:12 +0000 (00:14 +0100)]
resolve awful meta-class hacking (with thanks to jsbueno on stackexchange)

5 years agoadd DynamicPipeCreate function - needs to be a class
Luke Kenneth Casson Leighton [Tue, 30 Jul 2019 15:07:08 +0000 (16:07 +0100)]
add DynamicPipeCreate function - needs to be a class

5 years agoremove default and swap over DIV/SQRT operations, to make SQRT the default
Luke Kenneth Casson Leighton [Tue, 30 Jul 2019 11:00:32 +0000 (12:00 +0100)]
remove default and swap over DIV/SQRT operations, to make SQRT the default

http://bugs.libre-riscv.org/show_bug.cgi?id=126

5 years agoadd code comment
Luke Kenneth Casson Leighton [Tue, 30 Jul 2019 10:57:15 +0000 (11:57 +0100)]
add code comment

5 years agouse specialcase fpdiv "switch" and use DP op
Luke Kenneth Casson Leighton [Tue, 30 Jul 2019 10:53:14 +0000 (11:53 +0100)]
use specialcase fpdiv "switch" and use DP op

5 years agotidyup
Luke Kenneth Casson Leighton [Tue, 30 Jul 2019 10:51:09 +0000 (11:51 +0100)]
tidyup

5 years agoadd copyright / bugreport notice
Luke Kenneth Casson Leighton [Tue, 30 Jul 2019 10:50:01 +0000 (11:50 +0100)]
add copyright / bugreport notice

5 years agoadd fclass coverage test
Luke Kenneth Casson Leighton [Tue, 30 Jul 2019 10:41:19 +0000 (11:41 +0100)]
add fclass coverage test

5 years agouse switch/case rather than if/elif/elif
Luke Kenneth Casson Leighton [Tue, 30 Jul 2019 10:29:46 +0000 (11:29 +0100)]
use switch/case rather than if/elif/elif

5 years agoadd copyright
Luke Kenneth Casson Leighton [Mon, 29 Jul 2019 22:23:47 +0000 (23:23 +0100)]
add copyright