openpower-isa.git
2 years agosave SVSRR0 in trap, if SVP64 mode enabled
Luke Kenneth Casson Leighton [Mon, 10 May 2021 15:24:57 +0000 (16:24 +0100)]
save SVSRR0 in trap, if SVP64 mode enabled

2 years agocreate new call_trap function in ISACaller
Luke Kenneth Casson Leighton [Mon, 10 May 2021 15:22:34 +0000 (16:22 +0100)]
create new call_trap function in ISACaller

2 years agoadd catch of MemException in ISACaller to raise unaligned exception 0x600
Luke Kenneth Casson Leighton [Mon, 10 May 2021 15:10:14 +0000 (16:10 +0100)]
add catch of MemException in ISACaller to raise unaligned exception 0x600
DAR is set as the address raised from the exception

2 years agoinclude Error keyword in message
Luke Kenneth Casson Leighton [Mon, 10 May 2021 14:42:04 +0000 (15:42 +0100)]
include Error keyword in message

2 years agoallow unaligned access exception to be raised in ISACaller mem simulator
Luke Kenneth Casson Leighton [Mon, 10 May 2021 14:41:14 +0000 (15:41 +0100)]
allow unaligned access exception to be raised in ISACaller mem simulator

2 years agoadd ld/st misalignment test case
Luke Kenneth Casson Leighton [Sun, 9 May 2021 14:57:09 +0000 (15:57 +0100)]
add ld/st misalignment test case

2 years agoadd relevant pred source/dest mask bits and create appropriate zeroing
Luke Kenneth Casson Leighton [Thu, 6 May 2021 17:51:33 +0000 (18:51 +0100)]
add relevant pred source/dest mask bits and create appropriate zeroing
signal for predicate source/dest

2 years agoadd first SVP64 predicate dest-zeroing unit test
Luke Kenneth Casson Leighton [Thu, 6 May 2021 16:26:52 +0000 (17:26 +0100)]
add first SVP64 predicate dest-zeroing unit test

2 years agoremove non-predicated svp64 ISACaller tests
Luke Kenneth Casson Leighton [Thu, 6 May 2021 16:19:46 +0000 (17:19 +0100)]
remove non-predicated svp64 ISACaller tests

2 years agoimprove format of docstrings for ISACaller SVP64 tests
Luke Kenneth Casson Leighton [Thu, 6 May 2021 16:17:19 +0000 (17:17 +0100)]
improve format of docstrings for ISACaller SVP64 tests

2 years agoreformat SVP64 docstrings to vaguely resemble something useful in sphinx-doc
Luke Kenneth Casson Leighton [Thu, 6 May 2021 13:36:45 +0000 (14:36 +0100)]
reformat SVP64 docstrings to vaguely resemble something useful in sphinx-doc

2 years agosphinx docstring highlight of SVP64 listings
Luke Kenneth Casson Leighton [Thu, 6 May 2021 13:16:48 +0000 (14:16 +0100)]
sphinx docstring highlight of SVP64 listings

2 years agomove logical SVP64 test cases to separate file/directory
Luke Kenneth Casson Leighton [Thu, 6 May 2021 12:39:46 +0000 (13:39 +0100)]
move logical SVP64 test cases to separate file/directory

2 years agowhoops error in docstring
Luke Kenneth Casson Leighton [Thu, 6 May 2021 12:34:08 +0000 (13:34 +0100)]
whoops error in docstring

2 years agotidy up svp64 cases to make it better suited to documentation
Luke Kenneth Casson Leighton [Thu, 6 May 2021 12:31:36 +0000 (13:31 +0100)]
tidy up svp64 cases to make it better suited to documentation
https://bugs.libre-soc.org/show_bug.cgi?id=639

2 years agoupdate about Copyright law when it comes to facts
Luke Kenneth Casson Leighton [Wed, 5 May 2021 13:12:23 +0000 (14:12 +0100)]
update about Copyright law when it comes to facts

2 years agoadd symlink to license
Luke Kenneth Casson Leighton [Wed, 5 May 2021 13:03:43 +0000 (14:03 +0100)]
add symlink to license

2 years agoadd saturate SVP64 RM mode decode
Luke Kenneth Casson Leighton [Wed, 5 May 2021 13:02:43 +0000 (14:02 +0100)]
add saturate SVP64 RM mode decode

2 years agosplit PowerDecodeSubset do_copy into do_copy and do_get
Luke Kenneth Casson Leighton [Wed, 5 May 2021 12:52:36 +0000 (13:52 +0100)]
split PowerDecodeSubset do_copy into do_copy and do_get

2 years agoexplicitly copy SV RM decoded fields in PowerDecodeSubset
Luke Kenneth Casson Leighton [Wed, 5 May 2021 12:37:22 +0000 (13:37 +0100)]
explicitly copy SV RM decoded fields in PowerDecodeSubset

2 years agomove SVP64 RM mode decoder into PowerDecodeSubset
Luke Kenneth Casson Leighton [Wed, 5 May 2021 12:32:13 +0000 (13:32 +0100)]
move SVP64 RM mode decoder into PowerDecodeSubset
this allows individual (satellite) decoders to get SVP64 characteristics
such as predication zeroing, saturation and other modes

2 years agoremove another verbose debug print
Luke Kenneth Casson Leighton [Wed, 5 May 2021 11:49:24 +0000 (12:49 +0100)]
remove another verbose debug print

2 years agoadd sv_input_record_layout to match SVP64RMModeDecode
Luke Kenneth Casson Leighton [Wed, 5 May 2021 11:46:56 +0000 (12:46 +0100)]
add sv_input_record_layout to match SVP64RMModeDecode

2 years agowhoops must include SVSTATE in STATE regfile regspec read/write map
Luke Kenneth Casson Leighton [Tue, 4 May 2021 17:33:36 +0000 (18:33 +0100)]
whoops must include SVSTATE in STATE regfile regspec read/write map

2 years agoIssuerDecode2ToOperand needs svstate (matching msr and cia)
Luke Kenneth Casson Leighton [Tue, 4 May 2021 17:30:44 +0000 (18:30 +0100)]
IssuerDecode2ToOperand needs svstate (matching msr and cia)

2 years agoadd more ALUHelper routines for fast3
Luke Kenneth Casson Leighton [Tue, 4 May 2021 17:09:54 +0000 (18:09 +0100)]
add more ALUHelper routines for fast3

2 years agoadd ALUHelpers check_fast_spr3 for SVSRR0 checking
Luke Kenneth Casson Leighton [Tue, 4 May 2021 16:56:03 +0000 (17:56 +0100)]
add ALUHelpers check_fast_spr3 for SVSRR0 checking

2 years agoadd SVSRR0 to OP_RFID and OP_TRAP reg read/write
Luke Kenneth Casson Leighton [Tue, 4 May 2021 16:51:16 +0000 (17:51 +0100)]
add SVSRR0 to OP_RFID and OP_TRAP reg read/write

2 years agoadd fast3 to PowerDecoder and regspec map
Luke Kenneth Casson Leighton [Tue, 4 May 2021 16:38:52 +0000 (17:38 +0100)]
add fast3 to PowerDecoder and regspec map
needed for SVSRR0

2 years agoadd SVSRR0 spr_to_fast lookup
Luke Kenneth Casson Leighton [Tue, 4 May 2021 16:38:18 +0000 (17:38 +0100)]
add SVSRR0 spr_to_fast lookup

2 years agocopy over svstate from core state in PowerDecoder2
Luke Kenneth Casson Leighton [Tue, 4 May 2021 16:29:38 +0000 (17:29 +0100)]
copy over svstate from core state in PowerDecoder2
add SVSRR0 to FastRegsEnum

2 years agocomment out a bit more of the insanely high debug info
Luke Kenneth Casson Leighton [Tue, 4 May 2021 16:11:31 +0000 (17:11 +0100)]
comment out a bit more of the insanely high debug info

2 years agorename PowerDecoder2 exc field to ldst_exc
Luke Kenneth Casson Leighton [Tue, 4 May 2021 16:10:29 +0000 (17:10 +0100)]
rename PowerDecoder2 exc field to ldst_exc

2 years agomove "happened" field to end of LDSTException
Luke Kenneth Casson Leighton [Tue, 4 May 2021 12:48:37 +0000 (13:48 +0100)]
move "happened" field to end of LDSTException

2 years agodisable some of the extreme verbose debug printing
Luke Kenneth Casson Leighton [Tue, 4 May 2021 12:34:33 +0000 (13:34 +0100)]
disable some of the extreme verbose debug printing

2 years agoadd astor to setup.py dependencies
Luke Kenneth Casson Leighton [Sun, 2 May 2021 05:59:01 +0000 (06:59 +0100)]
add astor to setup.py dependencies

2 years agochange dependency name to libresoc-nmutil
Luke Kenneth Casson Leighton [Sun, 2 May 2021 05:51:07 +0000 (06:51 +0100)]
change dependency name to libresoc-nmutil

2 years agoclean up MMU ROM test case
Luke Kenneth Casson Leighton [Sat, 1 May 2021 15:18:33 +0000 (16:18 +0100)]
clean up MMU ROM test case

2 years agoadd single regression test for bc_ctr in branch cases
Luke Kenneth Casson Leighton [Fri, 30 Apr 2021 16:59:20 +0000 (17:59 +0100)]
add single regression test for bc_ctr in branch cases

2 years agofix executable names
Jacob Lifshay [Fri, 30 Apr 2021 02:01:44 +0000 (19:01 -0700)]
fix executable names

2 years agoadd additional unit tests
Luke Kenneth Casson Leighton [Mon, 26 Apr 2021 12:14:32 +0000 (13:14 +0100)]
add additional unit tests

2 years agoadd cross-reference to gem5 power tests
Luke Kenneth Casson Leighton [Mon, 26 Apr 2021 11:37:16 +0000 (12:37 +0100)]
add cross-reference to gem5 power tests

2 years agoAdd a reentrant CR predication test case
Cesar Strauss [Sun, 25 Apr 2021 18:08:27 +0000 (15:08 -0300)]
Add a reentrant CR predication test case

2 years agoAdd test case for reentrant CR predication in ISACAller
Cesar Strauss [Sun, 25 Apr 2021 17:01:43 +0000 (14:01 -0300)]
Add test case for reentrant CR predication in ISACAller

This is derived from the intpred reentrant test.
It uses the new facility for easily setting individual CR bits.

2 years agoMove creation of CR fields to its own class
Cesar Strauss [Sun, 25 Apr 2021 14:41:03 +0000 (11:41 -0300)]
Move creation of CR fields to its own class

This will ease setting and checking CR fields from test cases.
The old attribute names were kept as aliases, so it shouldn't have any
impact.

2 years agoImprove debug information on mtcrf test case
Cesar Strauss [Sun, 25 Apr 2021 14:18:29 +0000 (11:18 -0300)]
Improve debug information on mtcrf test case

2 years agoMatch CR size on ISACaller mtcrf test case
Cesar Strauss [Sun, 25 Apr 2021 13:50:39 +0000 (10:50 -0300)]
Match CR size on ISACaller mtcrf test case

The underlying register for CR seems to be 64 bits for some reason. See:
https://git.libre-soc.org/?p=openpower-isa.git;a=blob;f=src/openpower/decoder/isa/caller.py;h=2f9dfa8746625f74fccaf9cd8a86f5503837009d;hb=HEAD#l495

2 years agoadd missing __init__.py to get sphinxdoc working
Luke Kenneth Casson Leighton [Sat, 24 Apr 2021 15:35:28 +0000 (16:35 +0100)]
add missing __init__.py to get sphinxdoc working

2 years agocorrect heading
Luke Kenneth Casson Leighton [Sat, 24 Apr 2021 15:06:56 +0000 (16:06 +0100)]
correct heading

2 years agocorrect errors for sphinx doc build
Luke Kenneth Casson Leighton [Sat, 24 Apr 2021 15:04:58 +0000 (16:04 +0100)]
correct errors for sphinx doc build

2 years agoadd sphinx doc config
Luke Kenneth Casson Leighton [Sat, 24 Apr 2021 14:59:18 +0000 (15:59 +0100)]
add sphinx doc config

2 years agoadd ply and pygdbmi dependencies
Luke Kenneth Casson Leighton [Sat, 24 Apr 2021 03:31:02 +0000 (04:31 +0100)]
add ply and pygdbmi dependencies

2 years agoupdate version 0.0.1 0.0.1
Luke Kenneth Casson Leighton [Sat, 24 Apr 2021 03:24:20 +0000 (04:24 +0100)]
update version 0.0.1

2 years agoupdate news
Luke Kenneth Casson Leighton [Sat, 24 Apr 2021 03:08:00 +0000 (04:08 +0100)]
update news

2 years agoupdate README
Luke Kenneth Casson Leighton [Fri, 23 Apr 2021 19:54:56 +0000 (20:54 +0100)]
update README

2 years agoadd logical test cases
Luke Kenneth Casson Leighton [Fri, 23 Apr 2021 19:27:20 +0000 (20:27 +0100)]
add logical test cases

2 years agoadd TRAP test cases
Luke Kenneth Casson Leighton [Fri, 23 Apr 2021 19:23:24 +0000 (20:23 +0100)]
add TRAP test cases

2 years agoadd spr tests
Luke Kenneth Casson Leighton [Fri, 23 Apr 2021 19:06:30 +0000 (20:06 +0100)]
add spr tests

2 years agoadd branch test cases
Luke Kenneth Casson Leighton [Fri, 23 Apr 2021 18:53:57 +0000 (19:53 +0100)]
add branch test cases

2 years agoadd LDST test cases
Luke Kenneth Casson Leighton [Fri, 23 Apr 2021 18:48:29 +0000 (19:48 +0100)]
add LDST test cases

2 years agoadd mul test cases
Luke Kenneth Casson Leighton [Fri, 23 Apr 2021 18:42:15 +0000 (19:42 +0100)]
add mul test cases

2 years agoadd div test cases
Luke Kenneth Casson Leighton [Fri, 23 Apr 2021 18:37:43 +0000 (19:37 +0100)]
add div test cases

2 years agoadd mmu test
Luke Kenneth Casson Leighton [Fri, 23 Apr 2021 18:18:06 +0000 (19:18 +0100)]
add mmu test

2 years agoadd CR test cases
Luke Kenneth Casson Leighton [Fri, 23 Apr 2021 18:13:27 +0000 (19:13 +0100)]
add CR test cases

2 years agoupdate install comments
Luke Kenneth Casson Leighton [Fri, 23 Apr 2021 18:09:16 +0000 (19:09 +0100)]
update install comments

2 years agoupdate README
Luke Kenneth Casson Leighton [Fri, 23 Apr 2021 18:06:04 +0000 (19:06 +0100)]
update README

2 years agoupdate README
Luke Kenneth Casson Leighton [Fri, 23 Apr 2021 18:05:16 +0000 (19:05 +0100)]
update README

2 years agoupdate README
Luke Kenneth Casson Leighton [Fri, 23 Apr 2021 18:03:45 +0000 (19:03 +0100)]
update README

2 years agochoose alternative name of pypi package
Luke Kenneth Casson Leighton [Fri, 23 Apr 2021 18:01:05 +0000 (19:01 +0100)]
choose alternative name of pypi package

2 years agoadd ShiftRotTestCases
Luke Kenneth Casson Leighton [Fri, 23 Apr 2021 17:55:50 +0000 (18:55 +0100)]
add ShiftRotTestCases

2 years agoadd a MASK32 function which offsets by 32 on the inputs
Luke Kenneth Casson Leighton [Fri, 23 Apr 2021 16:47:24 +0000 (17:47 +0100)]
add a MASK32 function which offsets by 32 on the inputs
also fix ROTL32 so it selects value from its input

2 years agouse MASK32 function in fixedshift
Luke Kenneth Casson Leighton [Fri, 23 Apr 2021 16:43:42 +0000 (17:43 +0100)]
use MASK32 function in fixedshift

2 years agowhoops missed comma in setup.py console_scripts
Luke Kenneth Casson Leighton [Fri, 23 Apr 2021 16:17:26 +0000 (17:17 +0100)]
whoops missed comma in setup.py console_scripts

2 years agomove mask_extend function to utils
Luke Kenneth Casson Leighton [Fri, 23 Apr 2021 16:10:21 +0000 (17:10 +0100)]
move mask_extend function to utils

2 years agomove ALUHelpers to openpower-isa
Luke Kenneth Casson Leighton [Fri, 23 Apr 2021 16:07:59 +0000 (17:07 +0100)]
move ALUHelpers to openpower-isa

2 years agouse spr_to_fast from this repo
Luke Kenneth Casson Leighton [Fri, 23 Apr 2021 16:02:52 +0000 (17:02 +0100)]
use spr_to_fast from this repo

2 years agoadd util.py
Luke Kenneth Casson Leighton [Fri, 23 Apr 2021 16:01:56 +0000 (17:01 +0100)]
add util.py

2 years agorename soc use openpower consts regfile enums
Luke Kenneth Casson Leighton [Fri, 23 Apr 2021 15:59:17 +0000 (16:59 +0100)]
rename soc use openpower consts regfile enums

2 years agomove Regfile enums here
Luke Kenneth Casson Leighton [Fri, 23 Apr 2021 15:54:41 +0000 (16:54 +0100)]
move Regfile enums here

2 years agomove Regfile enums here
Luke Kenneth Casson Leighton [Fri, 23 Apr 2021 15:52:41 +0000 (16:52 +0100)]
move Regfile enums here

2 years agomake svanalysis a python console script
Luke Kenneth Casson Leighton [Fri, 23 Apr 2021 15:46:39 +0000 (16:46 +0100)]
make svanalysis a python console script

2 years agosort out sv_analysys.py moving to openpower-isa
Luke Kenneth Casson Leighton [Fri, 23 Apr 2021 15:44:47 +0000 (16:44 +0100)]
sort out sv_analysys.py moving to openpower-isa

2 years agoremove unneeded imports in sim test cases
Luke Kenneth Casson Leighton [Fri, 23 Apr 2021 15:28:28 +0000 (16:28 +0100)]
remove unneeded imports in sim test cases

2 years agowhoops, now using SPRfull
Luke Kenneth Casson Leighton [Fri, 23 Apr 2021 15:19:31 +0000 (16:19 +0100)]
whoops, now using SPRfull

2 years agomore migration to openpower-isa
Luke Kenneth Casson Leighton [Fri, 23 Apr 2021 14:43:01 +0000 (15:43 +0100)]
more migration to openpower-isa

2 years agocomments on soc imports
Luke Kenneth Casson Leighton [Fri, 23 Apr 2021 14:26:37 +0000 (15:26 +0100)]
comments on soc imports

2 years agoresolving imports changing over
Luke Kenneth Casson Leighton [Fri, 23 Apr 2021 14:13:58 +0000 (15:13 +0100)]
resolving imports changing over

2 years agosort out imports created by pywriter
Luke Kenneth Casson Leighton [Fri, 23 Apr 2021 13:26:01 +0000 (14:26 +0100)]
sort out imports created by pywriter

2 years agosort out imports created by pywriter
Luke Kenneth Casson Leighton [Fri, 23 Apr 2021 13:25:40 +0000 (14:25 +0100)]
sort out imports created by pywriter

2 years agosorting out wiki directories
Luke Kenneth Casson Leighton [Fri, 23 Apr 2021 13:19:12 +0000 (14:19 +0100)]
sorting out wiki directories

2 years agoresolve new path for openpower/isa markdown
Luke Kenneth Casson Leighton [Fri, 23 Apr 2021 13:04:52 +0000 (14:04 +0100)]
resolve new path for openpower/isa markdown

2 years agoshould not have been added
Luke Kenneth Casson Leighton [Fri, 23 Apr 2021 13:04:34 +0000 (14:04 +0100)]
should not have been added

2 years agoadd Makefile
Luke Kenneth Casson Leighton [Fri, 23 Apr 2021 12:54:20 +0000 (13:54 +0100)]
add Makefile

2 years agoadd qemuopts
Luke Kenneth Casson Leighton [Fri, 23 Apr 2021 12:49:09 +0000 (13:49 +0100)]
add qemuopts

2 years agoadd memmap
Luke Kenneth Casson Leighton [Fri, 23 Apr 2021 12:47:34 +0000 (13:47 +0100)]
add memmap

2 years agoadd .gitignore
Luke Kenneth Casson Leighton [Fri, 23 Apr 2021 12:47:03 +0000 (13:47 +0100)]
add .gitignore

2 years agoignore pycache
Luke Kenneth Casson Leighton [Fri, 23 Apr 2021 12:46:38 +0000 (13:46 +0100)]
ignore pycache

2 years agoadd exceptions
Luke Kenneth Casson Leighton [Fri, 23 Apr 2021 12:45:59 +0000 (13:45 +0100)]
add exceptions

2 years agoadd SV records
Luke Kenneth Casson Leighton [Fri, 23 Apr 2021 12:38:17 +0000 (13:38 +0100)]
add SV records

2 years agoadd .gitignores
Luke Kenneth Casson Leighton [Fri, 23 Apr 2021 12:36:25 +0000 (13:36 +0100)]
add .gitignores