mirror of
https://github.com/RRZE-HPC/OSACA.git
synced 2025-12-16 09:00:05 +01:00
refactoring from AArch64 to aarch64
This commit is contained in:
@@ -4,9 +4,10 @@ from osaca.parser import ParserAArch64v81, ParserX86ATT
|
||||
|
||||
|
||||
def reduce_to_section(kernel, isa):
|
||||
isa = isa.lower()
|
||||
if isa == 'x86':
|
||||
start, end = find_marked_kernel_x86ATT(kernel)
|
||||
elif isa == 'AArch64':
|
||||
elif isa == 'aarch64':
|
||||
start, end = find_marked_kernel_AArch64(kernel)
|
||||
else:
|
||||
raise ValueError('ISA not supported.')
|
||||
|
||||
Reference in New Issue
Block a user