Skip to content

Commit 532fb8f

Browse files
committed
Apply yapf-format
1 parent 5078d9c commit 532fb8f

File tree

2 files changed

+4
-3
lines changed

2 files changed

+4
-3
lines changed

rvv-intrinsic-generator/rvv_intrinsic_gen/inst.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -530,8 +530,8 @@ def gen(g):
530530
g.function_group(mac_template,
531531
"Zvqdotq - Vector quad widening 4D Dot Product",
532532
"zvqdotq-vector-quad-widening-4d-dot-product",
533-
["qdot", "qdotsu", "qdotus"], ITYPES, [8],
534-
LMULS, decorators.has_masking_no_maskedoff_policy)
533+
["qdot", "qdotsu", "qdotus"], ITYPES, [8], LMULS,
534+
decorators.has_masking_no_maskedoff_policy)
535535

536536
####################################################################
537537
g.gen_prologue()

rvv-intrinsic-generator/rvv_intrinsic_gen/templates/mac_template.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,8 @@ def render(G,
8383
required_ext=required_ext_list)
8484

8585
type_helper = TypeHelper(**args)
86-
if (("maccsu" in op) or ("maccus" in op) or op in ["qdotsu", "qdotus"]) and data_type == "uint":
86+
if (("maccsu" in op) or ("maccus" in op) or
87+
op in ["qdotsu", "qdotus"]) and data_type == "uint":
8788
# maccsu and maccus only support int type
8889
continue
8990
elif (("w" in op) or ("q" in op)) and ("int" in data_type):

0 commit comments

Comments
 (0)