49 Commits

Author SHA1 Message Date
JanLJL
6ea61d8893 formatting 2024-08-19 15:52:28 +02:00
Markus Büttner
0e69fa1e26 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
stefandesouza
4fd59eb0d0 Black formatting 2024-03-05 12:14:05 +01:00
stefandesouza
5f9de2c41d Dump now converts classes to dicts 2024-03-05 00:18:45 +01:00
stefandesouza
38781ecc94 Port pressure returned in tuple with Memory Operand 2024-03-04 20:00:43 +01:00
stefandesouza
7ad3438af5 Removed comments from operands 2024-02-24 14:15:25 +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
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
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
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
Julian Hammer
6204c90934 migrate code style to Black 2021-03-11 12:02:45 +01:00
JanLJL
c64a24ae1b no \t replacement before any other point than user output 2020-10-16 09:44:18 +02:00
JanLJL
3016fc7c46 added more tests 2020-03-26 10:19:14 +01:00
JanLJL
1754df42d2 enhanced x86 parser for directives 2020-03-26 10:02:39 +01:00
JanLJL
04db2bfa79 added tests for asmbench import 2020-02-20 12:07:20 +01:00
Julian Hammer
dc02192d04 fixed matching of section type descriptors 2019-12-19 12:02:14 +01:00
Julian Hammer
4628d52210 broadened scope of assembler identifiers 2019-12-17 14:53:59 +01:00
Julian Hammer
f18a48653f FIX #46 untangled semantic and non-semantic operand info 2019-11-14 16:43:33 +01:00
JanLJL
36a662267d one more test 2019-08-30 16:40:40 +02:00
JanLJL
71dc7f5431 more tests 2019-08-30 16:36:50 +02:00
JanLJL
f2eff01529 more tests and bugfixes 2019-08-29 16:36:14 +02:00
JanLJL
a866500610 added DiGraph creation and more tests 2019-07-10 18:25:32 +02:00
JanLJL
593dd63897 refactoring as preparations for explicit semanticsAppender 2019-07-05 15:34:00 +02:00
JanLJL
2e23820a55 changed reg scale value to int and added prefix x for sp 2019-07-03 12:55:42 +02:00
JanLJL
e923c67bdb bugfixed x86 parser and tests for dep finder 2019-06-24 17:28:45 +02:00
JanLJL
75a405e33e added dependency check for registers and tests 2019-06-12 18:57:53 +02:00
JanLJL
d553998b90 added AttrDict to parser and refactoring 2019-06-04 12:55:32 +02:00
JanLJL
0925af21a0 finished ARM parser and added tests 2019-05-24 15:10:02 +02:00
JanLJL
f9e6583959 more tests for parser 2019-05-03 14:45:21 +02:00
JanLJL
1f52157e9c fixed tests 2019-05-02 18:52:16 +02:00
JanLJL
daa874b396 bugfixes 2019-04-30 18:57:18 +02:00
JanLJL
c70e57ab1a fixed for tests 2019-04-30 18:46:45 +02:00
JanLJL
38bbf2712b added tests and functionalities for x86_att parser 2019-04-30 18:37:07 +02:00