103 Commits

Author SHA1 Message Date
JanLJL
383912162b formatting 2025-12-22 11:28:35 +01:00
JanLJL
2460c8e531 improved x86 AT&T parser 2025-12-18 17:26:49 +01:00
JanLJL
187473b72c fixed bugs in x86intel parser (ZMM and masking support) 2025-09-08 16:35:36 +02:00
JanLJL
590f915f85 add fallback check w/ and w/o VEX prefix to AT&T to match intel syntax 2025-08-13 14:39:15 +02:00
JanLJL
9c2f559983 black formatting 2025-03-05 10:20:47 +01:00
JanLJL
02716e7b41 flake8 formatting 2025-03-05 10:19:10 +01:00
JanLJL
400be352e1 remove dependency on MachineModel 2025-03-04 17:42:52 +01:00
pleroy
1a7c1588f6 Add support for the Intel syntax supported by MSVC and ICC 2025-02-02 14:02:16 +01:00
JanLJL
a8cab3170c fix #109 2024-10-01 12:00:47 +02:00
JanLJL
2d8bb99d9f formatting 2024-08-19 15:50:37 +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
JanLJL
c9e38631d1 Flake8 formatting 2024-05-02 17:00:12 +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
dcfe36b850 Took out name attribute from operand parent class 2024-02-24 15:46:04 +01:00
stefandesouza
7ad3438af5 Removed comments from operands 2024-02-24 14:15:25 +01:00
stefandesouza
226bc8eee0 Added shift and shift_op to Register Operand 2024-01-04 14:34:36 +01:00
stefandesouza
0b3508abf8 Small cleaup commit 2023-12-16 16:00:37 +01:00
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