openpower-isa.git
23 months agoupdate pseudocode of pifpload.mdwn to do post-increment
Luke Kenneth Casson Leighton [Tue, 17 Oct 2023 09:10:28 +0000 (10:10 +0100)]
update pseudocode of pifpload.mdwn to do post-increment

23 months agoadded spaces in the pifixedstore.mdwn file
Shriya Sharma [Tue, 17 Oct 2023 09:10:44 +0000 (10:10 +0100)]
added spaces in the pifixedstore.mdwn file

23 months agoupdate pifpstore.mdwn pseudocode which was a copy of fpstore.mdwn
Luke Kenneth Casson Leighton [Tue, 17 Oct 2023 09:06:18 +0000 (10:06 +0100)]
update pifpstore.mdwn pseudocode which was a copy of fpstore.mdwn
to be actually post-increment

23 months agocorrected english lNGUge description in the pifixedstore.mdwn file
Shriya Sharma [Tue, 17 Oct 2023 09:06:33 +0000 (10:06 +0100)]
corrected english lNGUge description in the pifixedstore.mdwn file

23 months agoremove non-update instructions from pifpload.mdwn
Luke Kenneth Casson Leighton [Tue, 17 Oct 2023 09:03:00 +0000 (10:03 +0100)]
remove non-update instructions from pifpload.mdwn

23 months agoremove non-update instructions from pifpstore.mdwn
Luke Kenneth Casson Leighton [Tue, 17 Oct 2023 09:01:17 +0000 (10:01 +0100)]
remove non-update instructions from pifpstore.mdwn

23 months agoadd english to lhzupx instruction
Nicholas Calderwood [Sat, 14 Oct 2023 14:31:06 +0000 (15:31 +0100)]
add english to lhzupx instruction

23 months agoMerge branch 'shriya_add_descriptions' of git.libre-soc.org:openpower-isa into shriya...
Nicholas Calderwood [Sat, 14 Oct 2023 13:39:14 +0000 (14:39 +0100)]
Merge branch 'shriya_add_descriptions' of git.libre-soc.org:openpower-isa into shriya_add_descriptions

23 months agoadd english to lhzup instruction
Nicholas Calderwood [Sat, 14 Oct 2023 13:38:18 +0000 (14:38 +0100)]
add english to lhzup instruction

23 months agoadd pifpload.mdwn and pifpstore.mdwn,
Luke Kenneth Casson Leighton [Sat, 14 Oct 2023 12:52:08 +0000 (13:52 +0100)]
add pifpload.mdwn and pifpstore.mdwn,
TODO the descriptions (english language conversion to post-increment)

2 years agochanged the heading of instructions from update to post update in the pifixedstore...
Shriya Sharma [Thu, 5 Oct 2023 15:05:15 +0000 (16:05 +0100)]
changed the heading of instructions from update to post update in the pifixedstore.mdwn file

2 years agowhitespace
Luke Kenneth Casson Leighton [Thu, 5 Oct 2023 14:58:12 +0000 (15:58 +0100)]
whitespace

2 years agoCorrected accidential indentation errors in special registers alterted
Shriya Sharma [Thu, 5 Oct 2023 14:51:50 +0000 (15:51 +0100)]
Corrected accidential indentation errors in special registers alterted

2 years agofixed another serious bug, C should output to CSV
Sadoon Albader [Tue, 3 Oct 2023 18:29:38 +0000 (21:29 +0300)]
fixed another serious bug, C should output to CSV

2 years agoadd rudementary test script
Sadoon Albader [Tue, 3 Oct 2023 18:22:49 +0000 (21:22 +0300)]
add rudementary test script

2 years agoadd python poly1305 test that uses random data input
Sadoon Albader [Tue, 3 Oct 2023 18:19:52 +0000 (21:19 +0300)]
add python poly1305 test that uses random data input

2 years agofix huge bug with C poly1305 function call
Sadoon Albader [Tue, 3 Oct 2023 18:18:42 +0000 (21:18 +0300)]
fix huge bug with C poly1305 function call

2 years agoadded poly1305 random message tester
Sadoon Albader [Tue, 3 Oct 2023 16:33:17 +0000 (19:33 +0300)]
added poly1305 random message tester

2 years agoadd error message showing which instructions have been barfed
Luke Kenneth Casson Leighton [Tue, 3 Oct 2023 14:37:37 +0000 (15:37 +0100)]
add error message showing which instructions have been barfed

2 years agooptional read of "Description" in pagereader.py
Luke Kenneth Casson Leighton [Tue, 3 Oct 2023 14:34:35 +0000 (15:34 +0100)]
optional read of "Description" in pagereader.py

2 years agomove repeated code block to mini function for reading indented lines
Luke Kenneth Casson Leighton [Tue, 3 Oct 2023 14:29:55 +0000 (15:29 +0100)]
move repeated code block to mini function for reading indented lines

2 years agowhoops should be 5x3 comment not 5x3
Luke Kenneth Casson Leighton [Sun, 1 Oct 2023 15:05:30 +0000 (16:05 +0100)]
whoops should be 5x3 comment not 5x3

2 years agoAdded English Language description for stdupx instruction
Shriya Sharma [Tue, 3 Oct 2023 11:13:35 +0000 (12:13 +0100)]
Added English Language description for stdupx instruction

2 years agoAdded English Language description for stdup instruction
Shriya Sharma [Tue, 3 Oct 2023 11:12:38 +0000 (12:12 +0100)]
Added English Language description for stdup instruction

2 years agoAdded English Language description for stwupx instruction
Shriya Sharma [Tue, 3 Oct 2023 11:11:43 +0000 (12:11 +0100)]
Added English Language description for stwupx instruction

2 years agoAdded English Language description for stwup instruction
Shriya Sharma [Tue, 3 Oct 2023 11:10:47 +0000 (12:10 +0100)]
Added English Language description for stwup instruction

2 years agoAdded English Language description for sthupx instruction
Shriya Sharma [Tue, 3 Oct 2023 11:09:34 +0000 (12:09 +0100)]
Added English Language description for sthupx instruction

2 years agoAdded spaces for sthup instruction
Shriya Sharma [Tue, 3 Oct 2023 11:05:50 +0000 (12:05 +0100)]
Added spaces for sthup instruction

2 years agoAdded English Language description for sthup instruction
Shriya Sharma [Tue, 3 Oct 2023 11:04:59 +0000 (12:04 +0100)]
Added English Language description for sthup instruction

2 years agoAdded English Language description for stbupx instruction
Shriya Sharma [Tue, 3 Oct 2023 11:04:14 +0000 (12:04 +0100)]
Added English Language description for stbupx instruction

2 years agoAdded English Language description for stbup instruction
Shriya Sharma [Tue, 3 Oct 2023 11:03:18 +0000 (12:03 +0100)]
Added English Language description for stbup instruction

2 years agoAdded English Language description for stfiwx instruction
Shriya Sharma [Tue, 3 Oct 2023 10:39:03 +0000 (11:39 +0100)]
Added English Language description for stfiwx instruction

2 years agoAdded English Language description for stfdux instruction
Shriya Sharma [Tue, 3 Oct 2023 10:37:36 +0000 (11:37 +0100)]
Added English Language description for stfdux instruction

2 years agoAdded English Language description for stfdu instruction
Shriya Sharma [Tue, 3 Oct 2023 10:36:42 +0000 (11:36 +0100)]
Added English Language description for stfdu instruction

2 years agoAdded English Language description for stfdx instruction
Shriya Sharma [Tue, 3 Oct 2023 10:35:44 +0000 (11:35 +0100)]
Added English Language description for stfdx instruction

2 years agoAdded English Language description for stfd instruction
Shriya Sharma [Tue, 3 Oct 2023 10:35:02 +0000 (11:35 +0100)]
Added English Language description for stfd instruction

2 years agoAdded English Language description for stfsux instruction
Shriya Sharma [Tue, 3 Oct 2023 10:34:11 +0000 (11:34 +0100)]
Added English Language description for stfsux instruction

2 years agoAdded English Language description for stfsu instruction
Shriya Sharma [Tue, 3 Oct 2023 10:33:18 +0000 (11:33 +0100)]
Added English Language description for stfsu instruction

2 years agoAdded English Language description for stfsx instruction
Shriya Sharma [Tue, 3 Oct 2023 10:32:22 +0000 (11:32 +0100)]
Added English Language description for stfsx instruction

2 years agoAdded English Language description for stfs instruction
Shriya Sharma [Tue, 3 Oct 2023 10:31:27 +0000 (11:31 +0100)]
Added English Language description for stfs instruction

2 years agoAdded English Language description for lfiwzx instruction
Shriya Sharma [Tue, 3 Oct 2023 10:29:58 +0000 (11:29 +0100)]
Added English Language description for lfiwzx instruction

2 years agoAdded English Language description for lfiwax instruction
Shriya Sharma [Tue, 3 Oct 2023 10:29:02 +0000 (11:29 +0100)]
Added English Language description for lfiwax instruction

2 years agoAdded English Language description for lfdux instruction
Shriya Sharma [Tue, 3 Oct 2023 10:28:02 +0000 (11:28 +0100)]
Added English Language description for lfdux instruction

2 years agoAdded English Language description for lfdu instruction
Shriya Sharma [Tue, 3 Oct 2023 10:26:57 +0000 (11:26 +0100)]
Added English Language description for lfdu instruction

2 years agoAdded English Language description for lfdx instruction
Shriya Sharma [Tue, 3 Oct 2023 10:26:07 +0000 (11:26 +0100)]
Added English Language description for lfdx instruction

2 years agoAdded English Language description for lfd instruction
Shriya Sharma [Tue, 3 Oct 2023 10:25:09 +0000 (11:25 +0100)]
Added English Language description for lfd instruction

2 years agoAdded English Language description for lfsux instruction
Shriya Sharma [Tue, 3 Oct 2023 10:24:12 +0000 (11:24 +0100)]
Added English Language description for lfsux instruction

2 years agoAdded English Language description for lfsu instruction
Shriya Sharma [Tue, 3 Oct 2023 10:22:54 +0000 (11:22 +0100)]
Added English Language description for lfsu instruction

2 years agoAdded English Language description for lfsx instruction
Shriya Sharma [Tue, 3 Oct 2023 10:21:55 +0000 (11:21 +0100)]
Added English Language description for lfsx instruction

2 years agoAdded English Language description for lfs instruction
Shriya Sharma [Tue, 3 Oct 2023 10:21:02 +0000 (11:21 +0100)]
Added English Language description for lfs instruction

2 years agoAdded English Language description for stmw instruction
Shriya Sharma [Tue, 3 Oct 2023 10:17:28 +0000 (11:17 +0100)]
Added English Language description for stmw instruction

2 years agoAdded English Language description for stdbrx instruction
Shriya Sharma [Tue, 3 Oct 2023 10:16:18 +0000 (11:16 +0100)]
Added English Language description for stdbrx instruction

2 years agoAdded English Language description for stwbrx instruction
Shriya Sharma [Tue, 3 Oct 2023 10:14:22 +0000 (11:14 +0100)]
Added English Language description for stwbrx instruction

2 years agoAdded English Language description for sthbrx instruction
Shriya Sharma [Tue, 3 Oct 2023 10:12:34 +0000 (11:12 +0100)]
Added English Language description for sthbrx instruction

2 years agoAdded English Language description for stq instruction
Shriya Sharma [Tue, 3 Oct 2023 10:11:18 +0000 (11:11 +0100)]
Added English Language description for stq instruction

2 years agoAdded English Language description for stdux instruction
Shriya Sharma [Tue, 3 Oct 2023 10:09:32 +0000 (11:09 +0100)]
Added English Language description for stdux instruction

2 years agoAdded English Language description for stdu instruction
Shriya Sharma [Tue, 3 Oct 2023 10:08:41 +0000 (11:08 +0100)]
Added English Language description for stdu instruction

2 years agoAdded spaces for english language description
Shriya Sharma [Tue, 3 Oct 2023 10:07:23 +0000 (11:07 +0100)]
Added spaces for english language description

2 years agoAdded English Language description for stdx instruction
Shriya Sharma [Tue, 3 Oct 2023 10:04:25 +0000 (11:04 +0100)]
Added English Language description for stdx instruction

2 years agoAdded English Language description for std instruction
Shriya Sharma [Tue, 3 Oct 2023 10:03:39 +0000 (11:03 +0100)]
Added English Language description for std instruction

2 years agoAdded English Language description for stwux instruction
Shriya Sharma [Tue, 3 Oct 2023 10:02:55 +0000 (11:02 +0100)]
Added English Language description for stwux instruction

2 years agoAdded English Language description for stwu instruction
Shriya Sharma [Tue, 3 Oct 2023 10:02:06 +0000 (11:02 +0100)]
Added English Language description for stwu instruction

2 years agoAdded English Language description for stwx instruction
Shriya Sharma [Tue, 3 Oct 2023 10:01:04 +0000 (11:01 +0100)]
Added English Language description for stwx instruction

2 years agoAdded English Language description for stw instruction
Shriya Sharma [Tue, 3 Oct 2023 09:58:07 +0000 (10:58 +0100)]
Added English Language description for stw instruction

2 years agoAdded English Language description for sthux instruction
Shriya Sharma [Tue, 3 Oct 2023 09:56:02 +0000 (10:56 +0100)]
Added English Language description for sthux instruction

2 years agoAdded English Language description for sthu instruction
Shriya Sharma [Tue, 3 Oct 2023 09:55:10 +0000 (10:55 +0100)]
Added English Language description for sthu instruction

2 years agoAdded English Language description for sthx instruction
Shriya Sharma [Tue, 3 Oct 2023 09:54:24 +0000 (10:54 +0100)]
Added English Language description for sthx instruction

2 years agoAdded English Language description for sth instruction
Shriya Sharma [Tue, 3 Oct 2023 09:53:35 +0000 (10:53 +0100)]
Added English Language description for sth instruction

2 years agoAdded English Language description for stbux instruction
Shriya Sharma [Tue, 3 Oct 2023 09:52:44 +0000 (10:52 +0100)]
Added English Language description for stbux instruction

2 years agoAdded English Language description for stbu instruction
Shriya Sharma [Tue, 3 Oct 2023 09:51:46 +0000 (10:51 +0100)]
Added English Language description for stbu instruction

2 years agoAdded English Language description for stbx instruction
Shriya Sharma [Tue, 3 Oct 2023 09:50:26 +0000 (10:50 +0100)]
Added English Language description for stbx instruction

2 years agoAdded English Language description for stb instruction
Shriya Sharma [Tue, 3 Oct 2023 09:49:12 +0000 (10:49 +0100)]
Added English Language description for stb instruction

2 years agomanually revert damaged caused by jacob to pseudocode parser
Luke Kenneth Casson Leighton [Sun, 1 Oct 2023 10:12:55 +0000 (11:12 +0100)]
manually revert damaged caused by jacob to pseudocode parser
the purpose of the parser database is to preserve precisely and exactly
the data that is read in, such that it is possible to re-write it
precisely and exactly

jacob had destroyed that extremely important requirement by making
unauthorized modifications to this fundamental low-level code.

jacobs task is now to review the reversions and re-implement the
otherwise extremely valuable enhancements, but this time in a
way that listens to the project leader and administrators

2 years agoRevert "demo moving pseudocode to separate file"
Luke Kenneth Casson Leighton [Sun, 1 Oct 2023 09:45:43 +0000 (10:45 +0100)]
Revert "demo moving pseudocode to separate file"

This reverts commit b5d9084971dd761683a3a164af24c673a608aa23.

2 years agoRevert "add support for pseudocode being a [[!inline]] directive"
Luke Kenneth Casson Leighton [Sun, 1 Oct 2023 09:40:43 +0000 (10:40 +0100)]
Revert "add support for pseudocode being a [[!inline]] directive"

This reverts commit 43152e91f4530ddaef5cef2614b41e022c57fced.

2 years agoRevert "ignore indented comments too"
Luke Kenneth Casson Leighton [Sun, 1 Oct 2023 09:40:34 +0000 (10:40 +0100)]
Revert "ignore indented comments too"

This reverts commit 60f9f523f78cae9e357b61e6bc55ca1b323dfa14.

2 years agoskip blank lines in pagereader.py pprint_ops()
Luke Kenneth Casson Leighton [Sat, 30 Sep 2023 13:30:02 +0000 (14:30 +0100)]
skip blank lines in pagereader.py pprint_ops()

2 years agocode-comments
Luke Kenneth Casson Leighton [Fri, 29 Sep 2023 18:31:38 +0000 (19:31 +0100)]
code-comments

2 years agomoving the temp array (t) along, so that adding to y is the same size
Luke Kenneth Casson Leighton [Fri, 29 Sep 2023 18:23:59 +0000 (19:23 +0100)]
moving the temp array (t) along, so that adding to y is the same size
in bigmul python-based code. idea is to make everything line up
and be as uniform as possible, reduce number of instructions to bare min.
,

2 years agofirst attempt to create an Indexed Schedule, for bigmul powmod,
Luke Kenneth Casson Leighton [Fri, 29 Sep 2023 17:46:51 +0000 (18:46 +0100)]
first attempt to create an Indexed Schedule, for bigmul powmod,
but it is not perfect. needs thought

2 years agofix divmod
Jacob Lifshay [Thu, 28 Sep 2023 02:51:35 +0000 (19:51 -0700)]
fix divmod

2 years agoin divmod algorithm log regexes that match against expected register values
Jacob Lifshay [Thu, 28 Sep 2023 02:50:47 +0000 (19:50 -0700)]
in divmod algorithm log regexes that match against expected register values

2 years agotest python_divmod_algorithm
Jacob Lifshay [Thu, 28 Sep 2023 02:48:50 +0000 (19:48 -0700)]
test python_divmod_algorithm

2 years agoformat code
Jacob Lifshay [Thu, 28 Sep 2023 02:45:34 +0000 (19:45 -0700)]
format code

2 years agolog asmop to LogKind.InstrInOuts too since only printing `.long 0xFOOBAR` isn't very...
Jacob Lifshay [Thu, 28 Sep 2023 02:25:57 +0000 (19:25 -0700)]
log asmop to LogKind.InstrInOuts too since only printing `.long 0xFOOBAR` isn't very useful

2 years agoremove use of addc, use adde instead setting ca to zero.
Luke Kenneth Casson Leighton [Wed, 27 Sep 2023 19:13:16 +0000 (20:13 +0100)]
remove use of addc, use adde instead setting ca to zero.
eliminates one more unnecessary instruction.

2 years agoreduce 4-repeats of identical code down to 1 copy with indices in powmod.py
Luke Kenneth Casson Leighton [Wed, 27 Sep 2023 18:44:43 +0000 (19:44 +0100)]
reduce 4-repeats of identical code down to 1 copy with indices in powmod.py

2 years agoadd seeming-redundant addc/adde (actually part of big-mul-*add*)
Luke Kenneth Casson Leighton [Wed, 27 Sep 2023 18:13:47 +0000 (19:13 +0100)]
add seeming-redundant addc/adde (actually part of big-mul-*add*)
which completes the pattern for REMAP transformation

2 years agoconvert basic_pypowersim to hex rather than broken octal (?)
Luke Kenneth Casson Leighton [Wed, 27 Sep 2023 15:19:32 +0000 (16:19 +0100)]
convert basic_pypowersim to hex rather than broken octal (?)

2 years agocode-cleanup, bit of comments, copyright, blah blah, link to bugreport
Luke Kenneth Casson Leighton [Wed, 27 Sep 2023 10:25:43 +0000 (11:25 +0100)]
code-cleanup, bit of comments, copyright, blah blah, link to bugreport
all preparation before doing code-morph on simple-demo to work out how
to demonstrate REMAP Indexed (then BigMul) viability

2 years agoadd what is currently a duplicate of python_mul_algorithm, plan is to
Luke Kenneth Casson Leighton [Wed, 27 Sep 2023 10:18:53 +0000 (11:18 +0100)]
add what is currently a duplicate of python_mul_algorithm, plan is to
morph python_mul_algorithm2 to be "REMAP"-friendly

2 years agoworking on adding divmod 512x256 to 256x256
Jacob Lifshay [Wed, 27 Sep 2023 04:41:58 +0000 (21:41 -0700)]
working on adding divmod 512x256 to 256x256

2 years agolog writing CA[32]/OV[32] for OP_ADD
Jacob Lifshay [Wed, 27 Sep 2023 04:39:31 +0000 (21:39 -0700)]
log writing CA[32]/OV[32] for OP_ADD

2 years agoadd unit test for mcrxrx
Jacob Lifshay [Wed, 27 Sep 2023 03:34:39 +0000 (20:34 -0700)]
add unit test for mcrxrx

2 years agofix mcrxrx
Jacob Lifshay [Wed, 27 Sep 2023 03:34:25 +0000 (20:34 -0700)]
fix mcrxrx

2 years agofix concat when the first argument is a FieldSelectableInt
Jacob Lifshay [Wed, 27 Sep 2023 03:28:16 +0000 (20:28 -0700)]
fix concat when the first argument is a FieldSelectableInt

2 years agofix wrong register in docs
Jacob Lifshay [Wed, 27 Sep 2023 01:56:03 +0000 (18:56 -0700)]
fix wrong register in docs

2 years ago256x256-bit mul no longer broken since bug #1161 was fixed
Jacob Lifshay [Wed, 27 Sep 2023 00:23:59 +0000 (17:23 -0700)]
256x256-bit mul no longer broken since bug #1161 was fixed

2 years agoAdded english language description and brackets for lmw instruction
Shriya Sharma [Wed, 27 Sep 2023 07:43:17 +0000 (08:43 +0100)]
Added english language description and brackets for lmw instruction

2 years agoAdded english language description and brackets for ldbrx instruction
Shriya Sharma [Wed, 27 Sep 2023 07:35:17 +0000 (08:35 +0100)]
Added english language description and brackets for ldbrx instruction