Merge branch 'feature/tsv110' of github.com:qcjiang/OSACA into feature/tsv110

This commit is contained in:
Qingcai Jiang
2022-02-27 17:19:28 +08:00
2 changed files with 7 additions and 3 deletions

View File

@@ -2114,8 +2114,8 @@ instruction_forms:
latency: 1.0
port_pressure: [[1, '012']]
uops: 1
# miscellaneous instructions: sbfz (throughput from asmbench, latency and port data from AArch64SchedTSV110.td)
- name: sbfz
# miscellaneous instructions: sbfiz (throughput from asmbench, latency and port data from AArch64SchedTSV110.td)
- name: sbfiz
operands:
- class: register
prefix: x

View File

@@ -138,7 +138,11 @@ def find_marked_section(
index_start = i + 1
elif comments["end"] == line.comment:
index_end = i
elif line.instruction in mov_instr and len(lines) > i + 1 and lines[i + 1].directive is not None:
elif (
line.instruction in mov_instr
and len(lines) > i + 1
and lines[i + 1].directive is not None
):
source = line.operands[0 if not reverse else 1]
destination = line.operands[1 if not reverse else 0]
# instruction pair matches, check for operands