Skip to content

Commit

Permalink
add arch_name to arch_v7m.py
Browse files Browse the repository at this point in the history
  • Loading branch information
mkannwischer committed Dec 15, 2024
1 parent 3e47bb3 commit 76996f1
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion slothy/targets/arm_v7m/arch_v7m.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@
from slothy.helper import SourceLine, Loop, LLVM_Mc
from sympy import simplify

arch_name = "Arm_v7M"
llvm_mca_arch = "arm"
llvm_mc_arch = "thumb"
llvm_mc_attr = "armv7e-m,thumb2,dsp,fpregs"
Expand Down Expand Up @@ -2068,4 +2069,4 @@ def match(x):
return v
if default is None:
raise UnknownInstruction(f"Couldn't find {instclass} for {inst}")
return default
return default

0 comments on commit 76996f1

Please sign in to comment.