Markus Büttner
14414fac01
Update parsing of memory segments
...
This addresses issue discussed in RRZE-HPC/OSACA#107 .
Now it can parse instructions of the form
%fs:var@RELOC
%fs:var@RELOC+4
%fs:var@RELOC(%rdi)
2024-07-30 16:02:16 +02:00
JanLJL
a790ab7e79
Flake8 formatting
2024-05-02 17:00:12 +02:00
stefandesouza
e253638cb7
Black formatting
2024-03-05 12:14:05 +01:00
stefandesouza
4ec3788f58
Dump now converts classes to dicts
2024-03-05 00:18:45 +01:00
stefandesouza
62c21a7f31
Port pressure returned in tuple with Memory Operand
2024-03-04 20:00:43 +01:00
stefandesouza
6ce910e779
Took out name attribute from operand parent class
2024-02-24 15:46:04 +01:00
stefandesouza
d7768e5a8a
Removed comments from operands
2024-02-24 14:15:25 +01:00
stefandesouza
a2c67f1a61
Added shift and shift_op to Register Operand
2024-01-04 14:34:36 +01:00
stefandesouza
de6d8a1197
Small cleaup commit
2023-12-16 16:00:37 +01:00
stefandesouza
405a1d2857
Linters update
2023-12-10 18:25:00 +01:00
stefandesouza
47a44c9865
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
1885ce6ddb
flake8 standards
2023-12-03 21:04:58 +01:00
stefandesouza
23d10d10cb
Black formatting
2023-12-03 17:22:11 +01:00
stefandesouza
62d575714a
Fixed semantic and marker tests. Now only dump needs to be adjusted
2023-12-03 16:49:33 +01:00
stefandesouza
37ca6670c7
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
78ca6fe855
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
cce05e44cb
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
2f8c2f56cf
Black formatting
2023-09-12 12:45:28 +02:00
stefandesouza
a761ee43f1
Converting operand types read in from YAML files
2023-09-12 00:23:59 +02:00
stefandesouza
14ecefd677
Changes for operand matching, instruction loading
2023-09-11 18:23:57 +02:00
stefandesouza
0f182551f2
Changes to accomodate the new OO style
2023-08-28 15:19:46 +02:00
stefandesouza
72a17ac8c8
Updated list/range register resolver & applied black formatting
2023-08-26 14:51:04 +02:00
stefandesouza
47b8dba572
Removed all AttrDict() usage in parser. process_operand() now turns single registers into operands
2023-08-21 18:53:56 +02:00
stefandesouza
9d54b4da47
Added eq methods, changed AArch parser tests for class usage
2023-08-21 15:36:40 +02:00
stefandesouza
5ca37a2a3f
Added 2 operand types and made changes for attribute usage
2023-08-20 21:01:44 +02:00
stefandesouza
17ef6582d1
InstrucForm class usage in AArch parser
2023-08-20 13:35:11 +02:00
stefandesouza
4a382193a5
Separate operand files with inheritance, str and repr classes
2023-08-20 12:10:07 +02:00
stefandesouza
1d5ff61890
Added seperate operand class files
2023-08-20 11:38:56 +02:00
stefan.desouza@outlook.com
b70916e4f8
Classes for OperandForm and Operand types
2023-08-07 15:01:48 +02:00
stefan.desouza@outlook.com
49f6c6a881
Added DirectiveClass with comment iterator
2023-08-06 17:42:42 +02:00
stefan.desouza@outlook.com
981c22b9fb
Added InstructionForm class
2023-08-06 17:13:42 +02:00
JanLJL
3404d72dc5
enhanced parser
2021-09-29 17:26:27 +02:00
JanLJL
1b40c10a1f
applied flake8 and black rules
2021-08-26 16:58:19 +02:00
JanLJL
5038ce7a15
changed immediate type from str to int
2021-05-10 01:12:30 +02:00
JanLJL
30d6f4d737
fix #73
2021-05-02 22:22:30 +02:00
Julian Hammer
afa607e546
migrate code style to Black
2021-03-11 12:02:45 +01:00
Jan
ffcdee5ed9
suppress branch indication in mnemonic for now
2021-01-07 10:20:57 +01:00
jdomke
eb1a8a2674
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
7b83e4a370
fixes #61
2020-12-28 10:33:54 +01:00
JanLJL
407c1a2beb
add support for :: delimiter in x86 labels and identifiers
2020-12-07 02:45:49 +01:00
JanLJL
9a6866417e
added support for absolute address operands without brackets
2020-12-07 01:57:06 +01:00
JanLJL
0ca6e12e87
bugfixes
2020-11-21 21:00:58 +01:00
JanLJL
6b0673d012
bugfixes
2020-11-09 23:29:42 +01:00
Julian Hammer
7f8b596fc9
improved performance of arch_semantics and reg dependency matching
2020-11-09 19:27:47 +01:00
Julian Hammer
0e4d5a6692
singelton for isa parsers
2020-11-09 12:36:14 +01:00
JanLJL
537772e223
refactored operand checking in post-processing
2020-10-16 10:05:08 +02:00
JanLJL
2df4b353ed
no \t replacement before any other point than user output
2020-10-16 09:44:18 +02:00
Julian Hammer
dff2e27199
fixed label identifiers by splitting
2020-10-12 15:39:32 +02:00
Julian Hammer
9627686166
paranthesis now suppored in identifier strings
2020-10-12 15:05:52 +02:00
JanLJL
3bea6c6add
fixed first character match for symbolic identifiers
2020-08-03 18:30:29 +02:00