com.jtransc.simd.Simd Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of jtransc-rt-core Show documentation
Show all versions of jtransc-rt-core Show documentation
JVM AOT compiler currently generating JavaScript, C++, Haxe, with initial focus on Kotlin and games.
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