Skip to content

Commit

Permalink
underscores everywhere
Browse files Browse the repository at this point in the history
  • Loading branch information
superlopuh committed Feb 19, 2025
1 parent b941802 commit 675852e
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion xdsl/dialects/arm/register.py
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ def abi_index_by_name(cls) -> dict[str, int]:

@classmethod
def infinite_register_prefix(cls):
return "inf"
return "inf_"


UNALLOCATED_INT = IntRegisterType("")
Expand Down
10 changes: 5 additions & 5 deletions xdsl/dialects/x86/register.py
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ def abi_index_by_name(cls) -> dict[str, int]:

@classmethod
def infinite_register_prefix(cls):
return "inf_reg"
return "inf_reg_"


UNALLOCATED_GENERAL = GeneralRegisterType("")
Expand Down Expand Up @@ -123,7 +123,7 @@ def abi_index_by_name(cls) -> dict[str, int]:

@classmethod
def infinite_register_prefix(cls):
return "inf_rflags"
return "inf_rflags_"


UNALLOCATED_RFLAGS = RFLAGSRegisterType("")
Expand Down Expand Up @@ -156,7 +156,7 @@ def abi_index_by_name(cls) -> dict[str, int]:

@classmethod
def infinite_register_prefix(cls):
return "inf_sse"
return "inf_sse_"


# See https://wiki.osdev.org/X86-64_Instruction_Encoding#Registers
Expand Down Expand Up @@ -216,7 +216,7 @@ def abi_index_by_name(cls) -> dict[str, int]:

@classmethod
def infinite_register_prefix(cls):
return "inf_avx2"
return "inf_avx2_"


# See https://wiki.osdev.org/X86-64_Instruction_Encoding#Registers
Expand Down Expand Up @@ -276,7 +276,7 @@ def abi_index_by_name(cls) -> dict[str, int]:

@classmethod
def infinite_register_prefix(cls):
return "inf_avx512"
return "inf_avx512_"


# See https://wiki.osdev.org/X86-64_Instruction_Encoding#Registers
Expand Down

0 comments on commit 675852e

Please sign in to comment.