added notes from April 22

This commit is contained in:
evghenii
2014-07-08 08:13:29 +02:00
parent 6f3e6f368a
commit 0a2aede9ab
2 changed files with 2 additions and 2 deletions

View File

@@ -985,7 +985,7 @@ DefineStdlib(SymbolTable *symbolTable, llvm::LLVMContext *ctx, llvm::Module *mod
case Target::NVPTX: case Target::NVPTX:
{ {
if (runtime32) { if (runtime32) {
fprintf(stderr, "Unforetunatly 32bit targets are supported at the moment .. \n"); fprintf(stderr, "Unfortunatly 32bit targets are not supported at the moment .. \n");
assert(0); assert(0);
} }
else { else {

View File

@@ -1375,7 +1375,7 @@ FunctionEmitContext::None(llvm::Value *mask) {
llvm::Value * llvm::Value *
FunctionEmitContext::LaneMask(llvm::Value *v) FunctionEmitContext::LaneMask(llvm::Value *v)
{ {
#if 1 /* this makes mandelbrot example slower, why ?!? */ #if 1 /* this makes mandelbrot example slower with "nvptx" target. Need further investigation. */
const char *__movmsk = g->target->getISA() == Target::NVPTX ? "__movmsk_ptx" : "__movmsk"; const char *__movmsk = g->target->getISA() == Target::NVPTX ? "__movmsk_ptx" : "__movmsk";
#else #else
const char *__movmsk = "__movmsk"; const char *__movmsk = "__movmsk";