Commit Graph

49 Commits

Author SHA1 Message Date
JanLJL
3cf2d02b7a formatting 2024-08-19 15:52:28 +02:00
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
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
d7768e5a8a Removed comments from operands 2024-02-24 14:15:25 +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
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
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
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
Julian Hammer
afa607e546 migrate code style to Black 2021-03-11 12:02:45 +01:00
JanLJL
2df4b353ed no \t replacement before any other point than user output 2020-10-16 09:44:18 +02:00
JanLJL
2e2187a180 added more tests 2020-03-26 10:19:14 +01:00
JanLJL
49592f77fd enhanced x86 parser for directives 2020-03-26 10:02:39 +01:00
JanLJL
ee6ed33aac added tests for asmbench import 2020-02-20 12:07:20 +01:00
Julian Hammer
24f518808e fixed matching of section type descriptors 2019-12-19 12:02:14 +01:00
Julian Hammer
1c416f5380 broadened scope of assembler identifiers 2019-12-17 14:53:59 +01:00
Julian Hammer
63ca1e66bf FIX #46 untangled semantic and non-semantic operand info 2019-11-14 16:43:33 +01:00
JanLJL
b791cf7f75 one more test 2019-08-30 16:40:40 +02:00
JanLJL
8dbacd16b8 more tests 2019-08-30 16:36:50 +02:00
JanLJL
706b2c0e0d more tests and bugfixes 2019-08-29 16:36:14 +02:00
JanLJL
5af6faf794 added DiGraph creation and more tests 2019-07-10 18:25:32 +02:00
JanLJL
d4a4698106 refactoring as preparations for explicit semanticsAppender 2019-07-05 15:34:00 +02:00
JanLJL
1529d68114 changed reg scale value to int and added prefix x for sp 2019-07-03 12:55:42 +02:00
JanLJL
619541b254 bugfixed x86 parser and tests for dep finder 2019-06-24 17:28:45 +02:00
JanLJL
0ea6c4da51 added dependency check for registers and tests 2019-06-12 18:57:53 +02:00
JanLJL
c512fbada0 added AttrDict to parser and refactoring 2019-06-04 12:55:32 +02:00
JanLJL
9fe507a482 finished ARM parser and added tests 2019-05-24 15:10:02 +02:00
JanLJL
a291d7c0ff more tests for parser 2019-05-03 14:45:21 +02:00
JanLJL
99d0a38f67 fixed tests 2019-05-02 18:52:16 +02:00
JanLJL
7ca5d095b6 bugfixes 2019-04-30 18:57:18 +02:00
JanLJL
e67bb9b9d4 fixed for tests 2019-04-30 18:46:45 +02:00
JanLJL
124d574b41 added tests and functionalities for x86_att parser 2019-04-30 18:37:07 +02:00