Struct Modulo¶
Defined in File Modulo.hpp
Struct Documentation¶
-
struct
sgpl::Modulo¶ Calculates the modulus of
reg[arg_1]byreg[arg_2]and stores the result inreg[arg_0].Mod by zero can result in a
NaNvalue.Public Static Functions
-
template<typename
Spec>
voidrun(sgpl::Core<Spec> &core, const sgpl::Instruction<Spec> &inst, const sgpl::Program<Spec>&, typename Spec::peripheral_t&) noexcept¶
-
std::string
name()¶
-
size_t
prevalence()¶
-
template<typename
Spec>
autodescriptors(const sgpl::Instruction<Spec> &inst)¶
-
template<typename
Spec>
std::set<std::string>categories(const sgpl::Instruction<Spec>&)¶
-
template<typename