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

12 months 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

12 months 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

12 months 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

12 months 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

12 months 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

12 months 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

12 months 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

12 months 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

12 months 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

12 months 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

12 months 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

12 months 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

12 months 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

12 months 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

12 months 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

12 months 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

12 months 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

12 months 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

12 months 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

12 months 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

12 months 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

12 months 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

12 months 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

12 months 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

12 months 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

12 months 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

12 months 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

12 months 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

12 months 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

12 months 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

12 months 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

12 months agoAdded english language description and brackets for lwbrx instruction
Shriya Sharma [Wed, 27 Sep 2023 07:32:27 +0000 (08:32 +0100)]
Added english language description and brackets for lwbrx instruction

12 months agoAdded english language description and brackets for lhbrx instruction
Shriya Sharma [Wed, 27 Sep 2023 07:29:47 +0000 (08:29 +0100)]
Added english language description and brackets for lhbrx instruction

12 months agoadd english language description for lbzupx
Luke Kenneth Casson Leighton [Tue, 26 Sep 2023 15:08:42 +0000 (16:08 +0100)]
add english language description for lbzupx

12 months agoAdded brackets for lwax instruction
Shriya Sharma [Tue, 26 Sep 2023 11:03:33 +0000 (12:03 +0100)]
Added brackets for lwax instruction

12 months agoAdded brackets for lhzx instruction
Shriya Sharma [Tue, 26 Sep 2023 11:02:40 +0000 (12:02 +0100)]
Added brackets for lhzx instruction

12 months agoAdded brackets for lhzx instruction
Shriya Sharma [Tue, 26 Sep 2023 11:02:17 +0000 (12:02 +0100)]
Added brackets for lhzx instruction

12 months agoAdded english language description, spaces and brackets for lq instruction
Shriya Sharma [Tue, 26 Sep 2023 11:00:30 +0000 (12:00 +0100)]
Added english language description, spaces and brackets for lq instruction

12 months agoAdded english language description, spaces and brackets for ldux instruction
Shriya Sharma [Tue, 26 Sep 2023 10:57:42 +0000 (11:57 +0100)]
Added english language description, spaces and brackets for ldux instruction

12 months agoAdded english language description, spaces and brackets for ldu instruction
Shriya Sharma [Tue, 26 Sep 2023 10:56:23 +0000 (11:56 +0100)]
Added english language description, spaces and brackets for ldu instruction

12 months agoAdded english language description, spaces and brackets for ldx instruction
Shriya Sharma [Tue, 26 Sep 2023 10:55:08 +0000 (11:55 +0100)]
Added english language description, spaces and brackets for ldx instruction

12 months agoAdded english language description, spaces and brackets for ld instruction
Shriya Sharma [Tue, 26 Sep 2023 10:54:19 +0000 (11:54 +0100)]
Added english language description, spaces and brackets for ld instruction

12 months agoAdded english language description, spaces and brackets for lwaux instruction
Shriya Sharma [Tue, 26 Sep 2023 10:52:57 +0000 (11:52 +0100)]
Added english language description, spaces and brackets for lwaux instruction

12 months agoAdded english language description, spaces and brackets for lwax instruction
Shriya Sharma [Tue, 26 Sep 2023 10:42:22 +0000 (11:42 +0100)]
Added english language description, spaces and brackets for lwax instruction

12 months agoAdded english language description, spaces and brackets for lwa instruction
Shriya Sharma [Tue, 26 Sep 2023 10:41:22 +0000 (11:41 +0100)]
Added english language description, spaces and brackets for lwa instruction

12 months agoAdded english language description, spaces and brackets for lwzux instruction
Shriya Sharma [Tue, 26 Sep 2023 10:34:14 +0000 (11:34 +0100)]
Added english language description, spaces and brackets for lwzux instruction

12 months agoAdded english language description, spaces and brackets for lwzu instruction
Shriya Sharma [Tue, 26 Sep 2023 10:32:45 +0000 (11:32 +0100)]
Added english language description, spaces and brackets for lwzu instruction

12 months agoAdded english language description, spaces and brackets for lwzx instruction
Shriya Sharma [Tue, 26 Sep 2023 10:31:02 +0000 (11:31 +0100)]
Added english language description, spaces and brackets for lwzx instruction

12 months agoAdded brackets for lhaux instruction
Shriya Sharma [Tue, 26 Sep 2023 10:29:47 +0000 (11:29 +0100)]
Added brackets for lhaux instruction

12 months agoAdded english language description, spaces and brackets for lwz instruction
Shriya Sharma [Tue, 26 Sep 2023 10:28:50 +0000 (11:28 +0100)]
Added english language description, spaces and brackets for lwz instruction

12 months agoAdded english language description, spaces and brackets for lhax instruction
Shriya Sharma [Tue, 26 Sep 2023 10:27:04 +0000 (11:27 +0100)]
Added english language description, spaces and brackets for lhax instruction

12 months agoAdded brackets for lha instruction
Shriya Sharma [Tue, 26 Sep 2023 10:24:57 +0000 (11:24 +0100)]
Added  brackets for lha instruction

12 months agoAdded english language description, spaces and brackets for lha instruction
Shriya Sharma [Tue, 26 Sep 2023 10:23:34 +0000 (11:23 +0100)]
Added english language description, spaces and brackets for lha instruction

12 months agoAdded english language description, spaces and brackets for lhzx instruction
Shriya Sharma [Tue, 26 Sep 2023 10:22:11 +0000 (11:22 +0100)]
Added english language description, spaces and brackets for lhzx instruction

12 months agoAdded english language description, spaces and brackets for lhz instruction
Shriya Sharma [Tue, 26 Sep 2023 10:20:28 +0000 (11:20 +0100)]
Added english language description, spaces and brackets for lhz instruction

12 months agoAdded english language description, spaces and brackets for lbzx instruction
Shriya Sharma [Tue, 26 Sep 2023 10:18:21 +0000 (11:18 +0100)]
Added english language description, spaces and brackets for lbzx instruction

12 months agoadd lbzup english description based on lbzu
Luke Kenneth Casson Leighton [Mon, 25 Sep 2023 17:40:51 +0000 (18:40 +0100)]
add lbzup english description based on lbzu

12 months agoAdded english language description, spaces and brackets for lhaux instruction
Shriya Sharma [Mon, 25 Sep 2023 17:36:48 +0000 (18:36 +0100)]
Added english language description, spaces and brackets for lhaux instruction

12 months agoAdded english language description, spaces and brackets for lhau instruction
Shriya Sharma [Mon, 25 Sep 2023 17:33:52 +0000 (18:33 +0100)]
Added english language description, spaces and brackets for lhau instruction

12 months agoAdded english language description, spaces and brackets for lhzux instruction
Shriya Sharma [Mon, 25 Sep 2023 17:29:29 +0000 (18:29 +0100)]
Added english language description, spaces and brackets for lhzux instruction

12 months agoAdded spaces and brackets for lhzu instruction
Shriya Sharma [Mon, 25 Sep 2023 17:22:51 +0000 (18:22 +0100)]
Added spaces and brackets for lhzu instruction

12 months agoindent lbz instruction description
Luke Kenneth Casson Leighton [Mon, 25 Sep 2023 17:19:36 +0000 (18:19 +0100)]
indent lbz instruction description

12 months agoAdded spaces and brackets for lbzux instruction
Shriya Sharma [Mon, 25 Sep 2023 17:20:01 +0000 (18:20 +0100)]
Added spaces and brackets for lbzux instruction

12 months agoindent text of lbzu description
Luke Kenneth Casson Leighton [Mon, 25 Sep 2023 17:15:35 +0000 (18:15 +0100)]
indent text of lbzu description

12 months agowhitespace additions on lbzu to make more like PDF,
Luke Kenneth Casson Leighton [Mon, 25 Sep 2023 16:57:19 +0000 (17:57 +0100)]
whitespace additions on lbzu to make more like PDF,
also added brackets around regs

12 months agoAdded english description for lhzu instruction
Shriya Sharma [Tue, 19 Sep 2023 15:44:56 +0000 (16:44 +0100)]
Added english description for lhzu instruction

12 months agoAdded english description for lhzu instruction
Shriya Sharma [Tue, 19 Sep 2023 15:42:48 +0000 (16:42 +0100)]
Added english description for lhzu instruction

12 months agoAdded english description for lbzu instruction
Shriya Sharma [Tue, 19 Sep 2023 15:40:30 +0000 (16:40 +0100)]
Added english description for lbzu instruction

12 months agoAdded english description for lbzux instruction
Shriya Sharma [Tue, 19 Sep 2023 15:37:20 +0000 (16:37 +0100)]
Added english description for lbzux instruction

12 months agoAdded english description to lbz instruction
Shriya Sharma [Tue, 19 Sep 2023 15:30:46 +0000 (16:30 +0100)]
Added english description to lbz instruction

12 months agomove DEFAULT_MSR handling from add_case to ISACaller
Jacob Lifshay [Thu, 26 Oct 2023 22:44:27 +0000 (15:44 -0700)]
move DEFAULT_MSR handling from add_case to ISACaller

12 months agosyscall: improve architecture detection
Dmitry Selyutin [Wed, 25 Oct 2023 19:49:11 +0000 (22:49 +0300)]
syscall: improve architecture detection

12 months agoinstall pytest-subtests==0.11.0
Jacob Lifshay [Wed, 25 Oct 2023 03:18:48 +0000 (20:18 -0700)]
install pytest-subtests==0.11.0

12 months agogenerate syscalls.json
Jacob Lifshay [Wed, 25 Oct 2023 03:18:27 +0000 (20:18 -0700)]
generate syscalls.json

12 months agowhitespace cleanup
Luke Kenneth Casson Leighton [Tue, 24 Oct 2023 17:16:06 +0000 (18:16 +0100)]
whitespace cleanup

12 months agoRevert "skip broken test" programmerjake/readd-rhs-copy
Jacob Lifshay [Fri, 20 Oct 2023 01:57:00 +0000 (18:57 -0700)]
Revert "skip broken test"

requested by luke:
https://bugs.libre-soc.org/show_bug.cgi?id=1193#c1

This reverts commit e0a4f19b2c90be84a77a4aa584c6d60e508d92f5.

12 months agoRevert "Revert "fix bug where pseudo-code assignments modify more than just the varia...
Jacob Lifshay [Fri, 20 Oct 2023 01:18:51 +0000 (18:18 -0700)]
Revert "Revert "fix bug where pseudo-code assignments modify more than just the variable being assigned to""

we need copy_assign_rhs

See https://bugs.libre-soc.org/show_bug.cgi?id=1066

This reverts commit bd3b54e83101217dc32da09083c6a3858fd7c600.

12 months agoRevert "fix bug introduced by having to revert unauthorized addition of"
Jacob Lifshay [Fri, 20 Oct 2023 01:17:20 +0000 (18:17 -0700)]
Revert "fix bug introduced by having to revert unauthorized addition of"

we need copy_assign_rhs

See https://bugs.libre-soc.org/show_bug.cgi?id=1066

This reverts commit 9dab88318a2938f14873804d83bf85ef9ae2fb93.

12 months agoskip broken test
Jacob Lifshay [Fri, 20 Oct 2023 01:00:55 +0000 (18:00 -0700)]
skip broken test

it wasn't obvious how to fix it, see https://bugs.libre-soc.org/show_bug.cgi?id=1193

12 months agofill in manually verified expected state for TrapTestCase.case_2_kaivb_test
Jacob Lifshay [Fri, 20 Oct 2023 00:49:04 +0000 (17:49 -0700)]
fill in manually verified expected state for TrapTestCase.case_2_kaivb_test

based on the Programming Note on left side of PowerISA v3.1B page 1289 (1315)

12 months agoformat code
Jacob Lifshay [Fri, 20 Oct 2023 00:37:34 +0000 (17:37 -0700)]
format code

12 months agoreduce mmap BLOCK_SIZE to 1 << 28 so it works on armv7a
Jacob Lifshay [Mon, 23 Oct 2023 23:09:51 +0000 (16:09 -0700)]
reduce mmap BLOCK_SIZE to 1 << 28 so it works on armv7a

12 months agosyscall: handle architecture aliases scemu
Dmitry Selyutin [Mon, 23 Oct 2023 20:32:57 +0000 (23:32 +0300)]
syscall: handle architecture aliases

12 months agosyscall: handle arm and aarch64 architectures
Dmitry Selyutin [Mon, 23 Oct 2023 20:23:08 +0000 (23:23 +0300)]
syscall: handle arm and aarch64 architectures

12 months agotest_syscall: hardcode MSR validation
Dmitry Selyutin [Mon, 23 Oct 2023 06:17:55 +0000 (09:17 +0300)]
test_syscall: hardcode MSR validation

12 months agotest_syscall: check MSR; update expected PC
Dmitry Selyutin [Sun, 22 Oct 2023 13:14:55 +0000 (16:14 +0300)]
test_syscall: check MSR; update expected PC

12 months agoisa/test_runner: support initial_msr parameter
Dmitry Selyutin [Sun, 22 Oct 2023 06:44:37 +0000 (09:44 +0300)]
isa/test_runner: support initial_msr parameter

12 months agoisa/caller: return from interrupt upon syscall emulation
Dmitry Selyutin [Sun, 22 Oct 2023 06:29:50 +0000 (09:29 +0300)]
isa/caller: return from interrupt upon syscall emulation

12 months agotest_syscall: provide code for future SPR checks
Dmitry Selyutin [Fri, 20 Oct 2023 17:16:22 +0000 (20:16 +0300)]
test_syscall: provide code for future SPR checks

12 months agoisa/caller: refactor sc logic
Dmitry Selyutin [Fri, 20 Oct 2023 17:15:12 +0000 (20:15 +0300)]
isa/caller: refactor sc logic

12 months agotest_caller: introduce syscall tests
Dmitry Selyutin [Wed, 18 Oct 2023 17:11:51 +0000 (20:11 +0300)]
test_caller: introduce syscall tests

12 months agoisa/caller: enable host-backed memory for scemu
Dmitry Selyutin [Wed, 18 Oct 2023 15:32:37 +0000 (18:32 +0300)]
isa/caller: enable host-backed memory for scemu

12 months agotest/runner: introduce use_syscall_emu parameter
Dmitry Selyutin [Wed, 18 Oct 2023 15:26:14 +0000 (18:26 +0300)]
test/runner: introduce use_syscall_emu parameter

12 months agoisa/caller: introduce use_syscall_emu parameter
Dmitry Selyutin [Wed, 18 Oct 2023 15:24:31 +0000 (18:24 +0300)]
isa/caller: introduce use_syscall_emu parameter

12 months agoisa/test_runner: support additional parameters
Dmitry Selyutin [Wed, 18 Oct 2023 17:06:17 +0000 (20:06 +0300)]
isa/test_runner: support additional parameters

12 months agoisa/caller: remove redundant check
Dmitry Selyutin [Wed, 18 Oct 2023 15:33:02 +0000 (18:33 +0300)]
isa/caller: remove redundant check

12 months agoisa/caller: provide sc and scv instructions wrapper
Dmitry Selyutin [Fri, 22 Sep 2023 19:08:10 +0000 (22:08 +0300)]
isa/caller: provide sc and scv instructions wrapper

12 months agoadd extra comments to sc-rfid test
Luke Kenneth Casson Leighton [Sat, 21 Oct 2023 18:10:23 +0000 (18:10 +0000)]
add extra comments to sc-rfid test

12 months agoadd a test which does both sc and rfid, and does rudimentary
Luke Kenneth Casson Leighton [Fri, 20 Oct 2023 21:09:22 +0000 (22:09 +0100)]
add a test which does both sc and rfid, and does rudimentary
checking that they are executed in expected order by setting some GPRs.
a whole bunch of NOPs were added to get the assembler to start at 0xc00
with a jump right at the start. terrible hack but does the job.