search for: esenciatargetinfo

Displaying 3 results from an estimated 3 matches for "esenciatargetinfo".

2016 Mar 05
2
Enable / Disable a processor feature
...Model, Features>; def : Proc<"esencia", EsenciaModel, [FeatureMul, FeatureDiv, FeatureCmov, FeatureAddc ]>; This is what I have in EsenciaTargetInfo::setFeatureEnabled(...) in clang/lib/Basic/Targets.cpp virtual void setFeatureEnabled(llvm::StringMap<bool> &Features, StringRef Name, bool Enabled) const { if (Name == "mul" || Name == "div&qu...
2016 May 25
0
running intrinsics from C code
GCCBuiltin just gives it a name for clang to lookup. Generally they match up with builtins that gcc also implements, but that's not a requirement. If you add a builtin with the same name to the builtin file in clang's include/clang/Basic/Builtins*.def then they will find each other. You can also just add a builtin to clang's builtin file and catch it in clang's
2016 May 25
2
running intrinsics from C code
I've created an intrinsic from my target, but I can't figure out how I can run it from a C code. Most of the targets have a GCCBuiltin and it looks like it is the way to execute an intrinsic from C code. However in my case there is no actual GCC built in. Any help on this is really appreciated. -- Rail Shafigulin Software Engineer Esencia Technologies -------------- next part