mirror of
https://github.com/RRZE-HPC/OSACA.git
synced 2025-12-16 00:50:06 +01:00
formattign
This commit is contained in:
@@ -261,10 +261,10 @@ class MachineModel(object):
|
||||
elif o["class"] == "prfop":
|
||||
new_operands.append(
|
||||
PrefetchOperand(
|
||||
type_id=o["type"] if "type" in o else None,
|
||||
target=o["target"] if "target" in o else None,
|
||||
policy=o["policy"] if "policy" in o else None,
|
||||
)
|
||||
type_id=o["type"] if "type" in o else None,
|
||||
target=o["target"] if "target" in o else None,
|
||||
policy=o["policy"] if "policy" in o else None,
|
||||
)
|
||||
)
|
||||
else:
|
||||
new_operands.append(o)
|
||||
|
||||
@@ -234,7 +234,7 @@ class TestParserAArch64(unittest.TestCase):
|
||||
instruction_form_5 = InstructionForm(
|
||||
mnemonic="prfm",
|
||||
operands=[
|
||||
PrefetchOperand(type_id=["PLD"],target=["L1"],policy=["KEEP"]),
|
||||
PrefetchOperand(type_id=["PLD"], target=["L1"], policy=["KEEP"]),
|
||||
MemoryOperand(
|
||||
offset=ImmediateOperand(value=2048),
|
||||
base=RegisterOperand(prefix="x", name="26"),
|
||||
|
||||
Reference in New Issue
Block a user