var Compile = require('../base-compiler');

function compileISPC(info, env) {
    var compiler = new Compile(info, env);
    compiler.optionsForFilter = function (filters, outputFilename) {
        return ['--emit-asm', '-g', '-o', this.filename(outputFilename)];
    };
    return compiler.initialise();
}

module.exports = compileISPC;

var Compile = require('../base-compiler');

function compileISPC(info, env) {
    var compiler = new Compile(info, env);
    compiler.optionsForFilter = function (filters, outputFilename) {
        return ['--target=sse2-i32x4', '--emit-asm', '-g', '-o', this.filename(outputFilename)];
    };
    return compiler.initialise();
}

module.exports = compileISPC;

Make ISPC default to SSE2 if no target is specified
Make ISPC default to SSE2 if no target is specified
