Displaying 6 results from an estimated 6 matches for "addfeature".
2016 Oct 12
3
Dragon egg not recognizing Target ARM machine
...GONEGG_DIR/src/Backend.cpp:28:0:
/gaia/class/student/seerangv/DRAGONEGG_DIR/src/Backend.cpp: In function
‘void CreateTargetMachine(const string&)’:
/gaia/class/student/seerangv/DRAGONEGG_DIR/include/arm/dragonegg/Target.h:254:37:
error: no matching function for call to
‘llvm::SubtargetFeatures::AddFeature(const char [5], bool)’
F.AddFeature("vfp3", TARGET_VFP3);
\
^
/gaia/class/student/seerangv/DRAGONEGG_DIR/src/Backend.cpp:464:3: note: in
expansion of macro ‘LLVM_SET_SUBTARGET_FEATURES’
LLVM_SET_SUBTARGET_FEATURES(CPU, Features);
^
/gaia...
2017 Sep 30
2
invalid code generated on Windows x86_64 using skylake-specific features
...d::string str = sys::getHostCPUName();
return strdup(str.c_str());
}
char *ZigLLVMGetNativeFeatures(void) {
SubtargetFeatures features;
StringMap<bool> host_features;
if (sys::getHostCPUFeatures(host_features)) {
for (auto &F : host_features)
features.AddFeature(F.first(), F.second);
}
return strdup(features.getString().c_str());
}
On this windows laptop that I am testing on, I get these values:
target_specific_cpu_args: skylake
target_specific_features:
+sse2,+cx16,-tbm,-avx512ifma,-avx512dq,-fma4,+prfchw,+bmi2,+xsavec,+fsgsbase,+popcnt,+aes,+...
2017 Oct 01
1
invalid code generated on Windows x86_64 using skylake-specific features
...return strdup(str.c_str());
> }
>
> char *ZigLLVMGetNativeFeatures(void) {
> SubtargetFeatures features;
>
> StringMap<bool> host_features;
> if (sys::getHostCPUFeatures(host_features)) {
> for (auto &F : host_features)
> features.AddFeature(F.first(), F.second);
> }
>
> return strdup(features.getString().c_str());
> }
>
> On this windows laptop that I am testing on, I get these values:
>
> target_specific_cpu_args: skylake
>
> target_specific_features: +sse2,+cx16,-tbm,-avx512ifma,-
> avx512dq,...
2017 Oct 03
2
invalid code generated on Windows x86_64 using skylake-specific features
...r *ZigLLVMGetNativeFeatures(void) {
>>> SubtargetFeatures features;
>>>
>>> StringMap<bool> host_features;
>>> if (sys::getHostCPUFeatures(host_features)) {
>>> for (auto &F : host_features)
>>> features.AddFeature(F.first(), F.second);
>>> }
>>>
>>> return strdup(features.getString().c_str());
>>> }
>>>
>>> On this windows laptop that I am testing on, I get these values:
>>>
>>> target_specific_cpu_args: skylake
>>>
>...
2013 Jan 31
0
[LLVMdev] Getting command line options to affect subtarget features
On Thu, 2013-01-31 at 11:29 -0600, Bill Schmidt wrote:
> On Thu, 2013-01-31 at 11:23 -0600, Bill Schmidt wrote:
> > On Thu, 2013-01-31 at 10:17 -0600, Bill Schmidt wrote:
> > >
> > > On Thu, 2013-01-31 at 09:42 -0600, Hal Finkel wrote:
> > > > ----- Original Message -----
> > > > > From: "Bill Schmidt" <wschmidt at
2013 Jan 31
2
[LLVMdev] Getting command line options to affect subtarget features
On Thu, 2013-01-31 at 11:23 -0600, Bill Schmidt wrote:
> On Thu, 2013-01-31 at 10:17 -0600, Bill Schmidt wrote:
> >
> > On Thu, 2013-01-31 at 09:42 -0600, Hal Finkel wrote:
> > > ----- Original Message -----
> > > > From: "Bill Schmidt" <wschmidt at linux.vnet.ibm.com>
> > > > To: llvmdev at cs.uiuc.edu
> > > > Sent: