All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.jtransc.simd.Simd Maven / Gradle / Ivy

Go to download

JVM AOT compiler currently generating JavaScript, C++, Haxe, with initial focus on Kotlin and games.

There is a newer version: 0.6.8
Show newest version
package com.jtransc.simd;

import com.jtransc.annotation.JTranscAddFile;
import com.jtransc.annotation.JTranscInvisible;
import com.jtransc.annotation.JTranscMethodBody;
import com.jtransc.annotation.JTranscMethodBodyList;

@JTranscInvisible
@JTranscAddFile(target = "js", priority = -2000, prepend = "js/SimdPolyfill.js")
final public class Simd {
	static public void ref() {
	}

	@JTranscMethodBodyList({
		@JTranscMethodBody(target = "js", cond = "hasSIMD", value = "return true;"),
		@JTranscMethodBody(target = "dart", value = "return true;"),
	})
	static public boolean supported() {
		return false;
	}
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy