openpower-isa.git
6 months agoadd TRAP docs programmerjake/bug-1177
Jacob Lifshay [Thu, 9 Nov 2023 02:27:34 +0000 (18:27 -0800)]
add TRAP docs

6 months agomisc fixes for fallout of copying insn inputs
Jacob Lifshay [Tue, 7 Nov 2023 04:54:52 +0000 (20:54 -0800)]
misc fixes for fallout of copying insn inputs

6 months agoSystem Call Interrupts do *not* set SRR1[TRAP]
Jacob Lifshay [Tue, 7 Nov 2023 04:38:18 +0000 (20:38 -0800)]
System Call Interrupts do *not* set SRR1[TRAP]

See PowerISA v3.1B Book III 7.5.14

6 months agosupport TRAP being called without setting a trap_bit
Jacob Lifshay [Tue, 7 Nov 2023 04:37:07 +0000 (20:37 -0800)]
support TRAP being called without setting a trap_bit

6 months agoonly write outputs that have .ok == True
Jacob Lifshay [Tue, 7 Nov 2023 04:54:05 +0000 (20:54 -0800)]
only write outputs that have .ok == True

6 months agouse create_full_args to generate insn arg list
Jacob Lifshay [Tue, 7 Nov 2023 04:49:19 +0000 (20:49 -0800)]
use create_full_args to generate insn arg list

6 months agoadd SelectableInt.ok
Jacob Lifshay [Tue, 7 Nov 2023 04:46:03 +0000 (20:46 -0800)]
add SelectableInt.ok

6 months agohelper for one-source-of-truth for insn argument list for ISACaller and parser
Jacob Lifshay [Tue, 7 Nov 2023 04:43:13 +0000 (20:43 -0800)]
helper for one-source-of-truth for insn argument list for ISACaller and parser

6 months agocopy_assign_rhs must retain subclasses of SelectableInt
Jacob Lifshay [Tue, 7 Nov 2023 04:41:11 +0000 (20:41 -0800)]
copy_assign_rhs must retain subclasses of SelectableInt

6 months agolog load/stores to InstrInOuts
Jacob Lifshay [Mon, 6 Nov 2023 02:14:29 +0000 (18:14 -0800)]
log load/stores to InstrInOuts

6 months agoformat code
Jacob Lifshay [Thu, 2 Nov 2023 01:36:10 +0000 (18:36 -0700)]
format code

6 months agomisc AST correctness fixes
Jacob Lifshay [Wed, 1 Nov 2023 05:50:40 +0000 (22:50 -0700)]
misc AST correctness fixes

6 months agofix maxloc
Luke Kenneth Casson Leighton [Tue, 14 Nov 2023 11:58:09 +0000 (11:58 +0000)]
fix maxloc

6 months agoadd debug print
Luke Kenneth Casson Leighton [Wed, 8 Nov 2023 20:25:09 +0000 (20:25 +0000)]
add debug print

6 months agowhoole stack of whitespace corrections
Luke Kenneth Casson Leighton [Wed, 8 Nov 2023 20:21:42 +0000 (20:21 +0000)]
whoole stack of whitespace corrections

6 months agomore crap removed
Luke Kenneth Casson Leighton [Wed, 8 Nov 2023 20:17:54 +0000 (20:17 +0000)]
more crap removed

6 months agoremove unnecessary cruft from Makefile
Luke Kenneth Casson Leighton [Wed, 8 Nov 2023 20:14:32 +0000 (20:14 +0000)]
remove unnecessary cruft from Makefile

6 months agoRemoved unused include: bug #676
Andrey Miroshnikov [Wed, 8 Nov 2023 16:37:57 +0000 (16:37 +0000)]
Removed unused include: bug #676

6 months agoAdding fortran C example for Shriya, bug #676
Andrey Miroshnikov [Wed, 8 Nov 2023 16:17:59 +0000 (16:17 +0000)]
Adding fortran C example for Shriya, bug #676

6 months agorename all load/store update-shifted-post-increment to *upsx
Jacob Lifshay [Mon, 6 Nov 2023 03:07:57 +0000 (19:07 -0800)]
rename all load/store update-shifted-post-increment to *upsx

https://bugs.libre-soc.org/show_bug.cgi?id=1048#c21

6 months agofix instruction name conflicts
Jacob Lifshay [Mon, 6 Nov 2023 02:20:42 +0000 (18:20 -0800)]
fix instruction name conflicts

6 months agoremove lhaup from pifixedloadshift -- all pi-shift instructions are indexed X-Form...
Jacob Lifshay [Mon, 6 Nov 2023 02:18:08 +0000 (18:18 -0800)]
remove lhaup from pifixedloadshift -- all pi-shift instructions are indexed X-Form rather than D-Form

6 months agodetect duplicate instructions
Jacob Lifshay [Mon, 6 Nov 2023 02:15:03 +0000 (18:15 -0800)]
detect duplicate instructions

6 months agorename pifpstore instructions, add "p" into names
Luke Kenneth Casson Leighton [Mon, 6 Nov 2023 02:46:09 +0000 (02:46 +0000)]
rename pifpstore instructions, add "p" into names

6 months agouse of the word "Kind" is too irritating. replace all occurrences with "Type".
Luke Kenneth Casson Leighton [Thu, 2 Nov 2023 07:27:50 +0000 (07:27 +0000)]
use of the word "Kind" is too irritating. replace all occurrences with "Type".
cannot replace lowercase "kind" with "type" as it is a python keyword.
have to think of a better (*short*) argument name

6 months agocomment on rfid doing a swap-backup of the program, must find
Luke Kenneth Casson Leighton [Thu, 2 Nov 2023 07:14:58 +0000 (07:14 +0000)]
comment on rfid doing a swap-backup of the program, must find
out why and fix it so that is not necessary

7 months agoadd LSHIFT and RSHIFT operators to parser. reluctantly
Luke Kenneth Casson Leighton [Fri, 27 Oct 2023 14:46:12 +0000 (15:46 +0100)]
add LSHIFT and RSHIFT operators to parser. reluctantly

7 months agolook for and allow blank lines in pseudocode as well
Luke Kenneth Casson Leighton [Fri, 27 Oct 2023 14:45:52 +0000 (15:45 +0100)]
look for and allow blank lines in pseudocode as well
as english description. remove use of regex (too complex to understand)

7 months agomissing colon on end of "Description"
Luke Kenneth Casson Leighton [Fri, 27 Oct 2023 14:31:12 +0000 (15:31 +0100)]
missing colon on end of "Description"

7 months agoremove use of regex (this code is REQUIRED to be SIMPLE)
Luke Kenneth Casson Leighton [Fri, 27 Oct 2023 14:00:43 +0000 (15:00 +0100)]
remove use of regex (this code is REQUIRED to be SIMPLE)

7 months agoforgot title
Luke Kenneth Casson Leighton [Fri, 27 Oct 2023 10:56:50 +0000 (11:56 +0100)]
forgot title

7 months agomissing brackets in lhbrx
Luke Kenneth Casson Leighton [Fri, 27 Oct 2023 10:55:38 +0000 (11:55 +0100)]
missing brackets in lhbrx

7 months agoadded english language description for lhbrsx instruction
Shriya Sharma [Fri, 27 Oct 2023 10:50:50 +0000 (11:50 +0100)]
added english language description for lhbrsx instruction

7 months agomissing brackets in lhbrx
Luke Kenneth Casson Leighton [Fri, 27 Oct 2023 10:46:27 +0000 (11:46 +0100)]
missing brackets in lhbrx

7 months agoadded english language description for lhbrsx instruction
Shriya Sharma [Fri, 27 Oct 2023 10:46:18 +0000 (11:46 +0100)]
added english language description for lhbrsx instruction

7 months agoadded english language description for ldsux instruction
Shriya Sharma [Fri, 27 Oct 2023 10:44:32 +0000 (11:44 +0100)]
added english language description for ldsux instruction

7 months agoreplace (RA) with "the contents of RA"
Luke Kenneth Casson Leighton [Fri, 27 Oct 2023 10:39:35 +0000 (11:39 +0100)]
replace (RA) with "the contents of RA"

7 months agoadded english language description for ldbrsx instruction
Shriya Sharma [Fri, 27 Oct 2023 10:41:40 +0000 (11:41 +0100)]
added english language description for ldbrsx instruction

7 months agopifploadshift.mdwn, do one example english pseudocode operands
Luke Kenneth Casson Leighton [Fri, 27 Oct 2023 10:38:09 +0000 (11:38 +0100)]
pifploadshift.mdwn, do one example english pseudocode operands

7 months agoadded english language description for lwbrsx instruction
Shriya Sharma [Fri, 27 Oct 2023 10:40:24 +0000 (11:40 +0100)]
added english language description for lwbrsx instruction

7 months agodo one example stfsux in pifpstoreshift, english pseudocode operands
Luke Kenneth Casson Leighton [Fri, 27 Oct 2023 10:36:17 +0000 (11:36 +0100)]
do one example stfsux in pifpstoreshift, english pseudocode operands

7 months agoadded english language description for lhbrsx instruction
Shriya Sharma [Fri, 27 Oct 2023 10:38:58 +0000 (11:38 +0100)]
added english language description for lhbrsx instruction

7 months agoadded english language description for ldsx instruction
Shriya Sharma [Fri, 27 Oct 2023 10:37:56 +0000 (11:37 +0100)]
added english language description for ldsx instruction

7 months agoadded english language description for lwasux instruction
Shriya Sharma [Fri, 27 Oct 2023 10:35:47 +0000 (11:35 +0100)]
added english language description for lwasux instruction

7 months agocontents of RA again
Luke Kenneth Casson Leighton [Fri, 27 Oct 2023 10:33:02 +0000 (11:33 +0100)]
contents of RA again

7 months agoadded english language description for lwasx instruction
Shriya Sharma [Fri, 27 Oct 2023 10:34:45 +0000 (11:34 +0100)]
added english language description for lwasx instruction

7 months agoadded english language description for lwzsux instruction
Shriya Sharma [Fri, 27 Oct 2023 10:33:21 +0000 (11:33 +0100)]
added english language description for lwzsux instruction

7 months agoadded english language description for lwzsx instruction
Shriya Sharma [Fri, 27 Oct 2023 10:31:56 +0000 (11:31 +0100)]
added english language description for lwzsx instruction

7 months agouse words "the contents of register RA instead of (RA)
Luke Kenneth Casson Leighton [Fri, 27 Oct 2023 10:29:00 +0000 (11:29 +0100)]
use words "the contents of register RA instead of (RA)

7 months agowhitespace
Luke Kenneth Casson Leighton [Fri, 27 Oct 2023 10:28:06 +0000 (11:28 +0100)]
whitespace

7 months agowhitespace and
Luke Kenneth Casson Leighton [Fri, 27 Oct 2023 10:27:30 +0000 (11:27 +0100)]
whitespace and
also use explicit "the contents of register RA

7 months agoadded english language description for lhasux instruction
Shriya Sharma [Fri, 27 Oct 2023 10:30:00 +0000 (11:30 +0100)]
added english language description for lhasux instruction

7 months agowhitespace
Luke Kenneth Casson Leighton [Fri, 27 Oct 2023 10:26:18 +0000 (11:26 +0100)]
whitespace

7 months agoadded english language description for lhasx instruction
Shriya Sharma [Fri, 27 Oct 2023 10:28:41 +0000 (11:28 +0100)]
added english language description for lhasx instruction

7 months agowhitespace
Luke Kenneth Casson Leighton [Fri, 27 Oct 2023 10:24:49 +0000 (11:24 +0100)]
whitespace

7 months agoadded english language description for lhzsux instruction
Shriya Sharma [Fri, 27 Oct 2023 10:27:09 +0000 (11:27 +0100)]
added english language description for lhzsux instruction

7 months agowhitespace
Luke Kenneth Casson Leighton [Fri, 27 Oct 2023 10:24:10 +0000 (11:24 +0100)]
whitespace

7 months agospace-dot whitespace cleanup
Luke Kenneth Casson Leighton [Fri, 27 Oct 2023 10:22:32 +0000 (11:22 +0100)]
space-dot whitespace cleanup

7 months agoadded english language description for lhzsx instruction
Shriya Sharma [Fri, 27 Oct 2023 10:24:39 +0000 (11:24 +0100)]
added english language description for lhzsx instruction

7 months agobig whitespace cleanup
Luke Kenneth Casson Leighton [Fri, 27 Oct 2023 10:21:53 +0000 (11:21 +0100)]
big whitespace cleanup

7 months agoadded english language description for lbzsux instruction
Shriya Sharma [Fri, 27 Oct 2023 10:22:49 +0000 (11:22 +0100)]
added english language description for lbzsux instruction

7 months agoadded english language description for lbzsx instruction
Shriya Sharma [Fri, 27 Oct 2023 10:20:00 +0000 (11:20 +0100)]
added english language description for lbzsx instruction

7 months agowhitespace cleanup
Luke Kenneth Casson Leighton [Fri, 27 Oct 2023 10:15:19 +0000 (11:15 +0100)]
whitespace cleanup

7 months agowhitespace cleanup
Luke Kenneth Casson Leighton [Fri, 27 Oct 2023 10:11:25 +0000 (11:11 +0100)]
whitespace cleanup

7 months agoadded commas
Shriya Sharma [Fri, 27 Oct 2023 10:13:02 +0000 (11:13 +0100)]
added commas

7 months agoadd a comma to reduce ambiguity
Luke Kenneth Casson Leighton [Fri, 27 Oct 2023 10:07:34 +0000 (11:07 +0100)]
add a comma to reduce ambiguity

7 months agoadded english language description for stdbrsx instruction
Shriya Sharma [Fri, 27 Oct 2023 10:09:44 +0000 (11:09 +0100)]
added english language description for stdbrsx instruction

7 months agoadded english language description for stwbrsx instruction
Shriya Sharma [Fri, 27 Oct 2023 10:08:45 +0000 (11:08 +0100)]
added english language description for stwbrsx instruction

7 months agoadded english language description for sthbrx instruction
Shriya Sharma [Fri, 27 Oct 2023 10:03:53 +0000 (11:03 +0100)]
added english language description for sthbrx instruction

7 months agoadded english language description for stdsux instruction
Shriya Sharma [Fri, 27 Oct 2023 10:02:05 +0000 (11:02 +0100)]
added english language description for stdsux instruction

7 months agoadded english language description for stdsx instruction
Shriya Sharma [Fri, 27 Oct 2023 10:01:29 +0000 (11:01 +0100)]
added english language description for stdsx instruction

7 months agoadded english language description for stwsux instruction
Shriya Sharma [Fri, 27 Oct 2023 09:59:52 +0000 (10:59 +0100)]
added english language description for stwsux instruction

7 months agoremove immediate-versions of instructions for shifting
Luke Kenneth Casson Leighton [Fri, 27 Oct 2023 09:56:58 +0000 (10:56 +0100)]
remove immediate-versions of instructions for shifting
as there is no point shifting an immediate

7 months agoadded english language description for stwsx instruction
Shriya Sharma [Fri, 27 Oct 2023 09:58:38 +0000 (10:58 +0100)]
added english language description for stwsx instruction

7 months agoadded english language description for sthsux instruction
Shriya Sharma [Fri, 27 Oct 2023 09:57:04 +0000 (10:57 +0100)]
added english language description for sthsux instruction

7 months agoadded english language description for sthsx instruction
Shriya Sharma [Fri, 27 Oct 2023 09:56:10 +0000 (10:56 +0100)]
added english language description for sthsx instruction

7 months agoadded english language description for stbsux instruction
Shriya Sharma [Fri, 27 Oct 2023 09:54:53 +0000 (10:54 +0100)]
added english language description for stbsux instruction

7 months agoadd pifpstoreshift.mdwn and pifploadshift.mdwn as
Luke Kenneth Casson Leighton [Fri, 27 Oct 2023 09:51:34 +0000 (10:51 +0100)]
add pifpstoreshift.mdwn and pifploadshift.mdwn as
copies of their non-shifted variants

7 months agoadd copy of pifixedstore.mdwn renamed to pifixedstoreshift.mdwn
Luke Kenneth Casson Leighton [Fri, 27 Oct 2023 09:50:13 +0000 (10:50 +0100)]
add copy of pifixedstore.mdwn renamed to pifixedstoreshift.mdwn
modifications required to add "shifting"

7 months agoremove ambiguity of english description in stbsx
Luke Kenneth Casson Leighton [Fri, 27 Oct 2023 09:26:38 +0000 (10:26 +0100)]
remove ambiguity of english description in stbsx

7 months agoenglish language description for stbsx
Luke Kenneth Casson Leighton [Fri, 27 Oct 2023 09:19:15 +0000 (10:19 +0100)]
english language description for stbsx

7 months agoadded stdbrsx instruction
Shriya Sharma [Thu, 19 Oct 2023 10:56:40 +0000 (11:56 +0100)]
added stdbrsx instruction

7 months agoadded stbsx instruction
Shriya Sharma [Thu, 19 Oct 2023 10:55:46 +0000 (11:55 +0100)]
added stbsx instruction

7 months agoadded stwbrsx instruction
Shriya Sharma [Thu, 19 Oct 2023 10:55:00 +0000 (11:55 +0100)]
added stwbrsx instruction

7 months agoadded sthbrsx instruction
Shriya Sharma [Thu, 19 Oct 2023 10:54:12 +0000 (11:54 +0100)]
added sthbrsx instruction

7 months agoadded stdsux instruction
Shriya Sharma [Thu, 19 Oct 2023 10:53:14 +0000 (11:53 +0100)]
added stdsux instruction

7 months agoadded stdsx instruction
Shriya Sharma [Thu, 19 Oct 2023 10:51:17 +0000 (11:51 +0100)]
added stdsx instruction

7 months agoadded stwsux instruction
Shriya Sharma [Thu, 19 Oct 2023 10:50:31 +0000 (11:50 +0100)]
added stwsux instruction

7 months agoadded stwsx instruction
Shriya Sharma [Thu, 19 Oct 2023 10:49:52 +0000 (11:49 +0100)]
added stwsx instruction

7 months agoadded sthsux instruction
Shriya Sharma [Thu, 19 Oct 2023 10:49:11 +0000 (11:49 +0100)]
added sthsux instruction

7 months agoadded sthsx instruction
Shriya Sharma [Thu, 19 Oct 2023 10:48:20 +0000 (11:48 +0100)]
added sthsx instruction

7 months agoadded stbsux instruction in fixedstoreshift.mdwm file
Shriya Sharma [Thu, 19 Oct 2023 10:47:13 +0000 (11:47 +0100)]
added stbsux instruction in fixedstoreshift.mdwm file

7 months agoadded stbx instruction in fixedstoreshift.mdwm file
Shriya Sharma [Thu, 19 Oct 2023 10:46:00 +0000 (11:46 +0100)]
added stbx instruction in fixedstoreshift.mdwm file

7 months agowhoops ls004.mdwn has SH not sm for shift amount
Luke Kenneth Casson Leighton [Thu, 19 Oct 2023 10:33:38 +0000 (11:33 +0100)]
whoops ls004.mdwn has SH not sm for shift amount
https://bugs.libre-soc.org/show_bug.cgi?id=1055

7 months agoadded ldbrsx instruction
Shriya Sharma [Thu, 19 Oct 2023 10:31:35 +0000 (11:31 +0100)]
added ldbrsx instruction

7 months agoadded lwbrsx instruction
Shriya Sharma [Thu, 19 Oct 2023 10:30:22 +0000 (11:30 +0100)]
added lwbrsx instruction

7 months agoadded lhbrsx instruction
Shriya Sharma [Thu, 19 Oct 2023 10:29:38 +0000 (11:29 +0100)]
added lhbrsx instruction

7 months agoadded ldsux instruction
Shriya Sharma [Thu, 19 Oct 2023 10:28:42 +0000 (11:28 +0100)]
added ldsux instruction

7 months agoadded ldsx instruction
Shriya Sharma [Thu, 19 Oct 2023 10:28:02 +0000 (11:28 +0100)]
added ldsx instruction

7 months agoadded lwasux instruction
Shriya Sharma [Thu, 19 Oct 2023 10:27:01 +0000 (11:27 +0100)]
added lwasux instruction