Commit Graph

84 Commits

Author SHA1 Message Date
stefandesouza
339b06bd7f Linters update 2023-12-10 18:25:00 +01:00
stefandesouza
8a6ae8c701 Workflow file includes new kenrcraft branch. Also changed checks for 'bad_operands' since they don't fit class style attributes 2023-12-10 17:26:43 +01:00
stefandesouza
cac4a0ebf2 flake8 standards 2023-12-03 21:04:58 +01:00
stefandesouza
cef7f8098d Black formatting 2023-12-03 17:22:11 +01:00
stefandesouza
93ae586745 Fixed semantic and marker tests. Now only dump needs to be adjusted 2023-12-03 16:49:33 +01:00
stefandesouza
2c32ccf37a pre/post-indexed to pre/post_indexed. Now have use ImmediateOperand type for mem offset. Changed some parser tests also 2023-12-02 16:56:43 +01:00
stefandesouza
ebb973493b Added condition operand, adjusted tests to parse it & a few changes to get the kernelDG tests working 2023-10-29 16:36:00 +01:00
stefandesouza
14a2aa0b52 Changed style to conform to PEP-8 conventions; Added source and destination attributes to parent Operand class 2023-10-29 13:52:49 +01:00
stefandesouza
42f96753c1 Black formatting 2023-09-12 12:45:28 +02:00
stefandesouza
a8e5a6ad46 Converting operand types read in from YAML files 2023-09-12 00:23:59 +02:00
stefandesouza
7f4f87d192 Changes for operand matching, instruction loading 2023-09-11 18:23:57 +02:00
stefandesouza
615ef82f04 Changes to accomodate the new OO style 2023-08-28 15:19:46 +02:00
stefandesouza
36549dd679 Updated list/range register resolver & applied black formatting 2023-08-26 14:51:04 +02:00
stefandesouza
76f3baf74e Removed all AttrDict() usage in parser. process_operand() now turns single registers into operands 2023-08-21 18:53:56 +02:00
stefandesouza
b06e6424f7 Added eq methods, changed AArch parser tests for class usage 2023-08-21 15:36:40 +02:00
stefandesouza
0a32c77751 Added 2 operand types and made changes for attribute usage 2023-08-20 21:01:44 +02:00
stefandesouza
ecdfc15ac5 InstrucForm class usage in AArch parser 2023-08-20 13:35:11 +02:00
stefandesouza
317816b9d3 Separate operand files with inheritance, str and repr classes 2023-08-20 12:10:07 +02:00
stefandesouza
537076fa25 Added seperate operand class files 2023-08-20 11:38:56 +02:00
stefan.desouza@outlook.com
1eb692c86f Classes for OperandForm and Operand types 2023-08-07 15:01:48 +02:00
stefan.desouza@outlook.com
9a0474bcc1 Added DirectiveClass with comment iterator 2023-08-06 17:42:42 +02:00
stefan.desouza@outlook.com
71e2931bb0 Added InstructionForm class 2023-08-06 17:13:42 +02:00
JanLJL
d181184788 enhanced parser 2021-09-29 17:26:27 +02:00
JanLJL
d418c16f4a applied flake8 and black rules 2021-08-26 16:58:19 +02:00
JanLJL
d59b100fa8 changed immediate type from str to int 2021-05-10 01:12:30 +02:00
JanLJL
66282b0eef fix #73 2021-05-02 22:22:30 +02:00
Julian Hammer
6204c90934 migrate code style to Black 2021-03-11 12:02:45 +01:00
Jan
4dbcfbda5d suppress branch indication in mnemonic for now 2021-01-07 10:20:57 +01:00
jdomke
4f8ed13309 att parser: support for more mnemonic
found some 'jg,pt' in icc/mkl generated binaries which crashed the
parser, here an example:
 dd8ccd:   3e 7f 90   jg,pt  dd8c60 <mkl_blas_avx2_dtrsm_kernel...
2021-01-05 15:26:22 +09:00
JanLJL
3c7971b347 fixes #61 2020-12-28 10:33:54 +01:00
JanLJL
2093610bbf add support for :: delimiter in x86 labels and identifiers 2020-12-07 02:45:49 +01:00
JanLJL
f9f1120da6 added support for absolute address operands without brackets 2020-12-07 01:57:06 +01:00
JanLJL
596a323dfb bugfixes 2020-11-21 21:00:58 +01:00
JanLJL
14c0ea6180 bugfixes 2020-11-09 23:29:42 +01:00
Julian Hammer
314ff4cf9d improved performance of arch_semantics and reg dependency matching 2020-11-09 19:27:47 +01:00
Julian Hammer
979d08358e singelton for isa parsers 2020-11-09 12:36:14 +01:00
JanLJL
7e7269c2bc refactored operand checking in post-processing 2020-10-16 10:05:08 +02:00
JanLJL
c64a24ae1b no \t replacement before any other point than user output 2020-10-16 09:44:18 +02:00
Julian Hammer
04360cc897 fixed label identifiers by splitting 2020-10-12 15:39:32 +02:00
Julian Hammer
5e7a12f9bb paranthesis now suppored in identifier strings 2020-10-12 15:05:52 +02:00
JanLJL
0db8b6bcbf fixed first character match for symbolic identifiers 2020-08-03 18:30:29 +02:00
Jan
40755b2080 Merge pull request #49 from RRZE-HPC/coherent_label_parsing
Coherent label parsing
2020-08-03 18:25:20 +02:00
JanLJL
269148c2a1 save b/f in numeric identifier as suffix tag 2020-08-03 18:08:29 +02:00
JanLJL
12a8506530 removed unnecessary code 2020-08-03 17:14:58 +02:00
JanLJL
e715badcf9 detects numeric label as label 2020-08-03 16:59:48 +02:00
Julian Hammer
d6b4355a77 labels may now start with numbers 2020-08-03 15:53:29 +02:00
JanLJL
cc39342047 minor enhancement for mask parsing 2020-08-03 09:07:45 +02:00
JanLJL
e4393189dc minor update 2020-03-26 11:06:11 +01:00
JanLJL
1754df42d2 enhanced x86 parser for directives 2020-03-26 10:02:39 +01:00
JanLJL
dcd5b8fd61 more documentation 2020-03-05 18:39:38 +01:00