openpower-isa.git
3 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

3 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

3 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

3 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

3 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

3 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

3 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

3 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

3 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

3 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

3 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

3 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

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

3 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

3 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

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

3 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

3 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

3 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

3 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

3 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

3 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

3 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

3 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)

3 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

3 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

3 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

3 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

3 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

3 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

3 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

3 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

3 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

3 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

3 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

3 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

3 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

3 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

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

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

3 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

3 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

3 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.

3 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.

3 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

3 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

3 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

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

3 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

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

3 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

3 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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

3 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

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

3 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

3 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

3 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

3 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

3 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

3 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

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

3 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

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

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

3 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

3 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

3 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

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

3 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

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

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

3 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

3 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

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

3 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

3 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

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

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

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

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

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

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

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

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

3 years agoadd pseudo and isa
Luke Kenneth Casson Leighton [Fri, 23 Apr 2021 12:35:58 +0000 (13:35 +0100)]
add pseudo and isa