Skip to content

Commit

Permalink
Add simd compare class to aarch64
Browse files Browse the repository at this point in the history
  • Loading branch information
dop-amin committed Apr 2, 2024
1 parent a620c34 commit 42aef73
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion slothy/targets/aarch64/aarch64_neon.py
Original file line number Diff line number Diff line change
Expand Up @@ -2821,7 +2821,11 @@ def make(cls, src):
]
return obj

class cmge(AArch64Instruction): # pylint: disable=missing-docstring,invalid-name

class ASimdCompare(AArch64Instruction):
"""Parent class for ASIMD compare instructions"""

class cmge(ASimdCompare): # pylint: disable=missing-docstring,invalid-name
pattern = "cmge <Vd>.<dt0>, <Va>.<dt1>, <Vb>.<dt2>"
inputs = ["Va", "Vb"]
outputs = ["Vd"]
Expand Down

0 comments on commit 42aef73

Please sign in to comment.