renamed avx-i64x4 -> avx1-i64x4

This commit is contained in:
Evghenii
2013-09-13 15:07:14 +02:00
parent a9913c8337
commit 9861375f0c
5 changed files with 5 additions and 5 deletions

View File

@@ -141,7 +141,7 @@ CXX_SRC=ast.cpp builtins.cpp cbackend.cpp ctx.cpp decl.cpp expr.cpp func.cpp \
type.cpp util.cpp type.cpp util.cpp
HEADERS=ast.h builtins.h ctx.h decl.h expr.h func.h ispc.h llvmutil.h module.h \ HEADERS=ast.h builtins.h ctx.h decl.h expr.h func.h ispc.h llvmutil.h module.h \
opt.h stmt.h sym.h type.h util.h opt.h stmt.h sym.h type.h util.h
TARGETS=avx-i64x4 avx1 avx1-x2 avx11 avx11-x2 avx2 avx2-x2 \ TARGETS=avx1-i64x4 avx1 avx1-x2 avx11 avx11-x2 avx2 avx2-x2 \
sse2 sse2-x2 sse4-8 sse4-16 sse4 sse4-x2 \ sse2 sse2-x2 sse4-8 sse4-16 sse4 sse4-x2 \
generic-4 generic-8 generic-16 generic-32 generic-64 generic-1 generic-4 generic-8 generic-16 generic-32 generic-64 generic-1
ifneq ($(ARM_ENABLED), 0) ifneq ($(ARM_ENABLED), 0)

View File

@@ -937,10 +937,10 @@ DefineStdlib(SymbolTable *symbolTable, llvm::LLVMContext *ctx, llvm::Module *mod
switch (g->target->getVectorWidth()) { switch (g->target->getVectorWidth()) {
case 4: case 4:
if (runtime32) { if (runtime32) {
EXPORT_MODULE(builtins_bitcode_avx_i64x4_32bit); EXPORT_MODULE(builtins_bitcode_avx1_i64x4_32bit);
} }
else { else {
EXPORT_MODULE(builtins_bitcode_avx_i64x4_64bit); EXPORT_MODULE(builtins_bitcode_avx1_i64x4_64bit);
} }
break; break;
case 8: case 8:

View File

@@ -29,7 +29,7 @@
;; NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS ;; NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
;; SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. ;; SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
include(`target-avx-i64x4base.ll') include(`target-avx1-i64x4base.ll')
rdrand_decls() rdrand_decls()

View File

@@ -446,7 +446,7 @@ Target::Target(const char *arch, const char *cpu, const char *isa, bool pic) :
this->m_maskingIsFree = false; this->m_maskingIsFree = false;
this->m_maskBitCount = 32; this->m_maskBitCount = 32;
} }
else if (!strcasecmp(isa, "avx-i64x4") ) { else if (!strcasecmp(isa, "avx1-i64x4") ) {
this->m_isa = Target::AVX; this->m_isa = Target::AVX;
this->m_nativeVectorWidth = 8; /* native vector width in terms of floats */ this->m_nativeVectorWidth = 8; /* native vector width in terms of floats */
this->m_vectorWidth = 4; this->m_vectorWidth = 4;