completed knc-i1x16.h and added knc-i1x8.h with knc-i1x8unsafe_fast.h that doesnt pass several tests..
This commit is contained in:
3092
examples/intrinsics/knc-i1x16.h
Normal file
3092
examples/intrinsics/knc-i1x16.h
Normal file
File diff suppressed because it is too large
Load Diff
2862
examples/intrinsics/knc-i1x8.h
Normal file
2862
examples/intrinsics/knc-i1x8.h
Normal file
File diff suppressed because it is too large
Load Diff
2
examples/intrinsics/knc-i1x8unsafe_fast.h
Normal file
2
examples/intrinsics/knc-i1x8unsafe_fast.h
Normal file
@@ -0,0 +1,2 @@
|
|||||||
|
#define __ZMM32BIT__
|
||||||
|
#include "knc-i1x8.h"
|
||||||
@@ -362,10 +362,13 @@ def run_test(testname):
|
|||||||
gcc_isa=""
|
gcc_isa=""
|
||||||
if options.target == 'generic-4':
|
if options.target == 'generic-4':
|
||||||
gcc_isa = '-msse4.2'
|
gcc_isa = '-msse4.2'
|
||||||
if options.target == 'generic-8':
|
if (options.target == 'generic-8'):
|
||||||
|
if (options.include_file.find("knc-i1x8.h")!=-1 or options.include_file.find("knc-i1x8unsafe_fast.h")!=-1):
|
||||||
|
gcc_isa = '-mmic'
|
||||||
|
else:
|
||||||
gcc_isa = '-mavx'
|
gcc_isa = '-mavx'
|
||||||
if (options.target == 'generic-16' or options.target == 'generic-32' or options.target == 'generic-64') \
|
if (options.target == 'generic-16' or options.target == 'generic-32' or options.target == 'generic-64') \
|
||||||
and (options.include_file.find("knc.h")!=-1 or options.include_file.find("knc2x.h")!=-1):
|
and (options.include_file.find("knc-i1x16.h")!=-1 or options.include_file.find("knc.h")!=-1 or options.include_file.find("knc2x.h")!=-1):
|
||||||
gcc_isa = '-mmic'
|
gcc_isa = '-mmic'
|
||||||
|
|
||||||
cc_cmd = "%s -O2 -I. %s %s test_static.cpp -DTEST_SIG=%d %s -o %s" % \
|
cc_cmd = "%s -O2 -I. %s %s test_static.cpp -DTEST_SIG=%d %s -o %s" % \
|
||||||
|
|||||||
Reference in New Issue
Block a user