feat(pbs): add service constants and runtime math integration
This commit is contained in:
+6
-2
@@ -16,17 +16,21 @@ class PbsRuntimeAlignmentTest {
|
||||
assertNotNull(stream); return new String(stream.readAllBytes(), java.nio.charset.StandardCharsets.UTF_8);
|
||||
}
|
||||
}
|
||||
private static BytecodeModule compile(String name,String source) throws Exception {
|
||||
static BytecodeModule compile(String name,String source) throws Exception {
|
||||
return compile(name, source, SourceKind.SDK_INTERFACE);
|
||||
}
|
||||
static BytecodeModule compile(String name,String source,SourceKind sourceKind) throws Exception {
|
||||
var diagnostics=DiagnosticSink.empty();
|
||||
var fileId = new FileId(0);
|
||||
var ast = p.studio.compiler.pbs.parser.PbsParser.parse(p.studio.compiler.pbs.lexer.PbsLexer.lex(source,fileId,diagnostics),fileId,diagnostics,p.studio.compiler.pbs.parser.PbsParser.ParseMode.INTERFACE_MODULE);
|
||||
var file=new PbsFrontendCompiler().compileParsedFile(fileId,ast,diagnostics,SourceKind.SDK_INTERFACE,
|
||||
var file=new PbsFrontendCompiler().compileParsedFile(fileId,ast,diagnostics,sourceKind,
|
||||
new p.studio.compiler.source.identifiers.ModuleId(0),p.studio.utilities.structures.ReadOnlyList.empty(),
|
||||
p.studio.compiler.messages.HostAdmissionContext.permissiveDefault(),p.studio.compiler.messages.FESurfaceContext.empty(),new p.studio.compiler.source.tables.NameTable());
|
||||
assertFalse(diagnostics.hasErrors(), ()->diagnostics.stream().map(d->d.getCode()+":"+d.getMessage()).toList().toString());
|
||||
var backend=IRBackend.builder().entryPointCallableName("Probe.main").entryPointModuleId(new p.studio.compiler.source.identifiers.ModuleId(0)).executableFunctions(file.executableFunctions())
|
||||
.globals(file.globals()).registry(file.registry()).intrinsicPool(file.intrinsicPool()).callableSignatures(file.callableSignatures()).build();
|
||||
var program=new LowerToIRVMService().lower(backend);
|
||||
if (name.endsWith("-optimized")) program = new OptimizeIRVMService().optimize(program);
|
||||
var module=new BytecodeEmitter().emit(program.coherentEmissionPlan());
|
||||
new BytecodePreloadVerifierService().verify(module);
|
||||
var directory=Path.of(System.getProperty("pbs.registryConformanceDirectory"));Files.createDirectories(directory);
|
||||
|
||||
+129
@@ -0,0 +1,129 @@
|
||||
package p.studio.compiler.backend.irvm;
|
||||
|
||||
import org.junit.jupiter.api.Test;
|
||||
import p.studio.compiler.pbs.PbsFrontendCompiler;
|
||||
import p.studio.compiler.source.diagnostics.DiagnosticSink;
|
||||
import p.studio.compiler.source.identifiers.FileId;
|
||||
import p.studio.compiler.models.SourceKind;
|
||||
import static org.junit.jupiter.api.Assertions.*;
|
||||
|
||||
class PbsRuntimeMathTest {
|
||||
static String sdk() throws Exception {
|
||||
var result = new StringBuilder();
|
||||
for (var name : new String[]{"math", "mathf"}) {
|
||||
try (var stream = PbsFrontendCompiler.class.getResourceAsStream("/game/stdlib/1/sdk/"+name+"/main.pbs")) {
|
||||
assertNotNull(stream);
|
||||
result.append(new String(stream.readAllBytes(), java.nio.charset.StandardCharsets.UTF_8));
|
||||
}
|
||||
}
|
||||
return result.toString();
|
||||
}
|
||||
@Test void constantsAndOverloadsCompile() throws Exception {
|
||||
PbsRuntimeAlignmentTest.compile("math-pi", sdk()+"declare service Probe { fn main() -> float { return mathf.pi; } }");
|
||||
PbsRuntimeAlignmentTest.compile("math-tau", sdk()+"declare service Probe { fn main() -> float { return mathf.tau; } }");
|
||||
PbsRuntimeAlignmentTest.compile("math-literal", sdk()+"declare service Probe { fn main() -> float { return mathf.sin(-0.0); } }");
|
||||
PbsRuntimeAlignmentTest.compile("math-long", "declare service Settings { declare const limit: long = 2147483648; } declare service Probe { fn main() -> long { return Settings.limit; } }");
|
||||
PbsRuntimeAlignmentTest.compile("math-min", sdk()+"declare service Probe { fn main() -> long { let a: long = 42; let b: long = 55; return math.min(a,b); } }");
|
||||
PbsRuntimeAlignmentTest.compile("math-service", "declare service Settings { declare const answer: int = 42; } declare service Probe { fn main() -> int { return Settings.answer; } }");
|
||||
}
|
||||
@Test void invalidMembersAndMixedCarriersReject() throws Exception {
|
||||
for (var body : new String[]{"return math.min(1, 2 as long);", "return mathf.sin(1);", "mathf.pi = 3.0; return 0;"}) {
|
||||
var diagnostics = DiagnosticSink.empty();
|
||||
new PbsFrontendCompiler().compileFile(new FileId(0),sdk()+"declare service Probe { fn main() -> int { "+body+" } }",diagnostics,SourceKind.SDK_INTERFACE);
|
||||
assertTrue(diagnostics.hasErrors(), body);
|
||||
}
|
||||
}
|
||||
|
||||
@Test void providerCorpusCompilesEverySignatureFromSource() throws Exception {
|
||||
var directory = java.nio.file.Path.of(System.getProperty("pbs.registryConformanceDirectory"));
|
||||
String corpus;
|
||||
try (var stream = getClass().getResourceAsStream("/math/numeric-source.tsv")) {
|
||||
assertNotNull(stream);
|
||||
corpus = new String(stream.readAllBytes(), java.nio.charset.StandardCharsets.UTF_8);
|
||||
}
|
||||
var manifest = new StringBuilder();
|
||||
var covered = new java.util.HashSet<Integer>();
|
||||
int index = 0;
|
||||
for (var row : corpus.lines().toList()) {
|
||||
var parts = row.split(" ");
|
||||
int id = Integer.parseInt(parts[0], 16);
|
||||
var definition = java.util.Arrays.stream(IRVMIntrinsicDefinition.values()).filter(d -> d.finalId() == id).findFirst().orElseThrow();
|
||||
var source = new StringBuilder(sdk()).append("declare service Probe { fn main() -> ")
|
||||
.append(sourceType(definition.retLayout())).append(" {");
|
||||
var arguments = new java.util.ArrayList<String>();
|
||||
var types = definition.argLayout().split("\\|");
|
||||
for (int i = 0; i < types.length; i++) {
|
||||
source.append("let a").append(i).append(": ").append(sourceType(types[i])).append(" = ")
|
||||
.append(literal(parts[i+1])).append(";");
|
||||
arguments.add("a"+i);
|
||||
}
|
||||
var name = definition.canonicalName().replace(".i32.", ".").replace(".i64.", ".");
|
||||
source.append("return ").append(name).append("(").append(String.join(",",arguments)).append("); } }");
|
||||
var fixture = "math-vector-" + index++;
|
||||
PbsRuntimeAlignmentTest.compile(fixture, source.toString());
|
||||
manifest.append("pbs-").append(fixture).append(" ").append(row).append("\n");
|
||||
PbsRuntimeAlignmentTest.compile(fixture+"-optimized", source.toString());
|
||||
manifest.append("pbs-").append(fixture).append("-optimized ").append(row).append("\n");
|
||||
covered.add(id);
|
||||
}
|
||||
assertEquals(26, covered.size());
|
||||
java.nio.file.Files.writeString(directory.resolve("math-vectors.tsv"), manifest);
|
||||
}
|
||||
private static String sourceType(String type) {
|
||||
return switch(type) { case "Int32" -> "int"; case "Int64" -> "long"; case "Float" -> "float"; default -> throw new IllegalArgumentException(type); };
|
||||
}
|
||||
private static String literal(String token) {
|
||||
if (!token.startsWith("f:")) return token.substring(2);
|
||||
long bits = Long.parseUnsignedLong(token.substring(2),16);
|
||||
if (bits == Long.MIN_VALUE) return "-0.0";
|
||||
var result = java.math.BigDecimal.valueOf(Double.longBitsToDouble(bits)).toPlainString();
|
||||
return result.contains(".") ? result : result + ".0";
|
||||
}
|
||||
|
||||
@Test void qualifiedConstantDependenciesAndFailures() throws Exception {
|
||||
PbsRuntimeAlignmentTest.compile("math-dependency", "declare global answer: int = 999; declare service Settings { declare const base: int = 40; declare const answer: int = base + 2; fn read() -> int { return answer; } } declare service Probe { fn main() -> int { answer = 999; return Settings.read(); } }", SourceKind.PROJECT);
|
||||
for (var members : new String[]{
|
||||
"declare const a: int = 1; declare const a: int = 2;",
|
||||
"declare const a: int = Settings.b; declare const b: int = Settings.a;",
|
||||
"declare const a: int = missing;",
|
||||
"declare const a: int = 1; fn a() -> int { return 2; }",
|
||||
"declare const a: int = true;"}) {
|
||||
var diagnostics = DiagnosticSink.empty();
|
||||
new PbsFrontendCompiler().compileFile(new FileId(0), "declare service Settings { "+members+" }", diagnostics);
|
||||
assertTrue(diagnostics.hasErrors(), members);
|
||||
}
|
||||
for (var expression : new String[]{"math.min(1, 2 as long)", "mathf.sin(1)", "math.to_i64(1 as long)"}) {
|
||||
var diagnostics = DiagnosticSink.empty();
|
||||
new PbsFrontendCompiler().compileFile(new FileId(0),sdk()+"declare service Probe { fn main() { "+expression+"; } }",diagnostics,SourceKind.SDK_INTERFACE);
|
||||
assertTrue(diagnostics.stream().anyMatch(d -> d.getMessage().contains("explicit conversion")), expression);
|
||||
}
|
||||
}
|
||||
@Test void realModuleImportsAndAliasesProducePbx(@org.junit.jupiter.api.io.TempDir java.nio.file.Path root) throws Exception {
|
||||
java.nio.file.Files.createDirectories(root.resolve("src/config"));
|
||||
java.nio.file.Files.writeString(root.resolve("prometeu.json"), """
|
||||
{"name":"app","version":"1.0.0","language":"pbs","stdlib":"1","target":"Game","dependencies":[]}
|
||||
""");
|
||||
java.nio.file.Files.writeString(root.resolve("src/config/main.pbs"), "declare service Settings { declare const answer: int = 42; }");
|
||||
java.nio.file.Files.writeString(root.resolve("src/config/mod.barrel"), "pub service Settings;");
|
||||
java.nio.file.Files.writeString(root.resolve("src/mod.barrel"), "pub fn frame() -> void;");
|
||||
java.nio.file.Files.writeString(root.resolve("src/main.pbs"), """
|
||||
import { math } from @sdk:math;
|
||||
import { mathf as numbers } from @sdk:mathf;
|
||||
import { Settings as config } from @app:config;
|
||||
[Frame]
|
||||
fn frame() -> void {
|
||||
if config.answer != 42 { let fail = 1 / 0; }
|
||||
if numbers.pi != 3.141592653589793 { let fail = 1 / 0; }
|
||||
if numbers.sin(0.0) != 0.0 { let fail = 1 / 0; }
|
||||
let value: long = 42;
|
||||
if math.min(value, 55 as long) != value { let fail = 1 / 0; }
|
||||
}
|
||||
""");
|
||||
var result = p.studio.compiler.workspaces.BuilderPipelineService.INSTANCE.compile(
|
||||
p.studio.compiler.models.BuilderPipelineContext.fromConfig(new p.studio.compiler.messages.BuilderPipelineConfig(false, root.toString())),
|
||||
p.studio.utilities.logs.LogAggregator.stdout());
|
||||
assertFalse(result.diagnostics().stream().anyMatch(d -> d.isError()), result.diagnostics().toString());
|
||||
assertTrue(result.bytecodeBytes().length > 0);
|
||||
java.nio.file.Files.write(java.nio.file.Path.of(System.getProperty("pbs.registryConformanceDirectory"),"pbs-math-import.pbx"),result.bytecodeBytes());
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,261 @@
|
||||
3000 i:7 i:3 i:3 2
|
||||
3001 i:7 i:3 i:7 2
|
||||
3002 i:9 i:0 i:5 i:5 4
|
||||
3003 i:-7 i:7 2
|
||||
3004 l:2147483648 l:2147483649 l:2147483648 2
|
||||
3005 l:2147483648 l:2147483649 l:2147483649 2
|
||||
3006 l:9 l:0 l:5 l:5 4
|
||||
3007 l:-7 l:7 2
|
||||
3008 f:8000000000000000 f:0000000000000000 f:8000000000000000 2
|
||||
3009 f:8000000000000000 f:0000000000000000 f:0000000000000000 2
|
||||
300a f:8000000000000000 f:0000000000000000 f:3ff0000000000000 f:0000000000000000 4
|
||||
300b f:8000000000000000 f:0000000000000000 2
|
||||
3013 f:3ff0000000000000 f:0000000000000000 f:3ff921fb54442d18 48
|
||||
3014 i:-2147483648 l:-2147483648 2
|
||||
3015 l:2147483647 i:2147483647 2
|
||||
3016 i:2147483647 f:41dfffffffc00000 2
|
||||
3017 l:9223372036854775807 f:43e0000000000000 2
|
||||
3003 i:-2147483648 trap:13 2
|
||||
3007 l:-9223372036854775808 trap:13 2
|
||||
3002 i:0 i:2 i:1 trap:12 4
|
||||
300a f:0000000000000000 f:4000000000000000 f:3ff0000000000000 trap:12 4
|
||||
3010 f:bff0000000000000 trap:12 16
|
||||
3013 f:0000000000000000 f:0000000000000000 trap:12 48
|
||||
3013 f:8000000000000000 f:bff0000000000000 f:c00921fb54442d18 48
|
||||
3013 f:0000000000000000 f:bff0000000000000 f:400921fb54442d18 48
|
||||
300f f:4004000000000000 f:4000000000000000 4
|
||||
300f f:400c000000000000 f:4010000000000000 4
|
||||
3015 l:2147483648 trap:13 2
|
||||
3018 f:41e0000000000000 trap:13 2
|
||||
3019 f:43e0000000000000 trap:13 2
|
||||
3019 f:c3e0000000000000 l:-9223372036854775808 2
|
||||
3017 l:9007199254740993 f:4340000000000000 2
|
||||
3010 f:0000000000000000 f:0000000000000000 16
|
||||
300c f:0000000000000000 f:0000000000000000 4
|
||||
300d f:0000000000000000 f:0000000000000000 4
|
||||
300e f:0000000000000000 f:0000000000000000 4
|
||||
300f f:0000000000000000 f:0000000000000000 4
|
||||
3018 f:0000000000000000 i:0 2
|
||||
3019 f:0000000000000000 l:0 2
|
||||
3011 f:0000000000000000 f:0000000000000000 32
|
||||
3012 f:0000000000000000 f:3ff0000000000000 32
|
||||
3011 f:8000000000000000 f:8000000000000000 32
|
||||
3012 f:8000000000000000 f:3ff0000000000000 32
|
||||
3013 f:0000000000000000 f:54edb5f397cc207d f:0000000000000000 48
|
||||
3010 f:0000000000000001 f:1e60000000000000 16
|
||||
300c f:0000000000000001 f:0000000000000000 4
|
||||
300d f:0000000000000001 f:3ff0000000000000 4
|
||||
300e f:0000000000000001 f:0000000000000000 4
|
||||
300f f:0000000000000001 f:0000000000000000 4
|
||||
3018 f:0000000000000001 i:0 2
|
||||
3019 f:0000000000000001 l:0 2
|
||||
3011 f:0000000000000001 f:0000000000000001 32
|
||||
3012 f:0000000000000001 f:3ff0000000000000 32
|
||||
3011 f:8000000000000001 f:8000000000000001 32
|
||||
3012 f:8000000000000001 f:3ff0000000000000 32
|
||||
3013 f:0000000000000001 f:823a3f3c9decf2dd f:400921fb54442d18 48
|
||||
3010 f:0000000000000002 f:1e66a09e667f3bcd 16
|
||||
300c f:0000000000000002 f:0000000000000000 4
|
||||
300d f:0000000000000002 f:3ff0000000000000 4
|
||||
300e f:0000000000000002 f:0000000000000000 4
|
||||
300f f:0000000000000002 f:0000000000000000 4
|
||||
3018 f:0000000000000002 i:0 2
|
||||
3019 f:0000000000000002 l:0 2
|
||||
3011 f:0000000000000002 f:0000000000000002 32
|
||||
3012 f:0000000000000002 f:3ff0000000000000 32
|
||||
3011 f:8000000000000002 f:8000000000000002 32
|
||||
3012 f:8000000000000002 f:3ff0000000000000 32
|
||||
3013 f:0000000000000002 f:8c9f4dfeacaf0126 f:400921fb54442d18 48
|
||||
3010 f:000fffffffffffff f:1fffffffffffffff 16
|
||||
300c f:000fffffffffffff f:0000000000000000 4
|
||||
300d f:000fffffffffffff f:3ff0000000000000 4
|
||||
300e f:000fffffffffffff f:0000000000000000 4
|
||||
300f f:000fffffffffffff f:0000000000000000 4
|
||||
3018 f:000fffffffffffff i:0 2
|
||||
3019 f:000fffffffffffff l:0 2
|
||||
3011 f:000fffffffffffff f:000fffffffffffff 32
|
||||
3012 f:000fffffffffffff f:3ff0000000000000 32
|
||||
3011 f:800fffffffffffff f:800fffffffffffff 32
|
||||
3012 f:800fffffffffffff f:3ff0000000000000 32
|
||||
3013 f:000fffffffffffff f:09ed7f8a283eb81c f:36115b63b5562616 48
|
||||
3010 f:0010000000000000 f:2000000000000000 16
|
||||
300c f:0010000000000000 f:0000000000000000 4
|
||||
300d f:0010000000000000 f:3ff0000000000000 4
|
||||
300e f:0010000000000000 f:0000000000000000 4
|
||||
300f f:0010000000000000 f:0000000000000000 4
|
||||
3018 f:0010000000000000 i:0 2
|
||||
3019 f:0010000000000000 l:0 2
|
||||
3011 f:0010000000000000 f:0010000000000000 32
|
||||
3012 f:0010000000000000 f:3ff0000000000000 32
|
||||
3011 f:8010000000000000 f:8010000000000000 32
|
||||
3012 f:8010000000000000 f:3ff0000000000000 32
|
||||
3013 f:0010000000000000 f:3feffffffffffffe f:0010000000000001 48
|
||||
3010 f:3fdfffffffffffff f:3fe6a09e667f3bcc 16
|
||||
300c f:3fdfffffffffffff f:0000000000000000 4
|
||||
300d f:3fdfffffffffffff f:3ff0000000000000 4
|
||||
300e f:3fdfffffffffffff f:0000000000000000 4
|
||||
300f f:3fdfffffffffffff f:0000000000000000 4
|
||||
3018 f:3fdfffffffffffff i:0 2
|
||||
3019 f:3fdfffffffffffff l:0 2
|
||||
3011 f:3fdfffffffffffff f:3fdeaee8744b05ef 32
|
||||
3012 f:3fdfffffffffffff f:3fec1528065b7d50 32
|
||||
3011 f:bfdfffffffffffff f:bfdeaee8744b05ef 32
|
||||
3012 f:bfdfffffffffffff f:3fec1528065b7d50 32
|
||||
3013 f:3fdfffffffffffff f:07faa1d222d1148d f:3ff921fb54442d18 48
|
||||
3010 f:3fe0000000000000 f:3fe6a09e667f3bcd 16
|
||||
300c f:3fe0000000000000 f:0000000000000000 4
|
||||
300d f:3fe0000000000000 f:3ff0000000000000 4
|
||||
300e f:3fe0000000000000 f:0000000000000000 4
|
||||
300f f:3fe0000000000000 f:0000000000000000 4
|
||||
3018 f:3fe0000000000000 i:0 2
|
||||
3019 f:3fe0000000000000 l:0 2
|
||||
3011 f:3fe0000000000000 f:3fdeaee8744b05f0 32
|
||||
3012 f:3fe0000000000000 f:3fec1528065b7d50 32
|
||||
3011 f:bfe0000000000000 f:bfdeaee8744b05f0 32
|
||||
3012 f:bfe0000000000000 f:3fec1528065b7d50 32
|
||||
3013 f:3fe0000000000000 f:ad7bbd56db31c9ec f:3ff921fb54442d18 48
|
||||
3010 f:3fe0000000000001 f:3fe6a09e667f3bcd 16
|
||||
300c f:3fe0000000000001 f:0000000000000000 4
|
||||
300d f:3fe0000000000001 f:3ff0000000000000 4
|
||||
300e f:3fe0000000000001 f:0000000000000000 4
|
||||
300f f:3fe0000000000001 f:3ff0000000000000 4
|
||||
3018 f:3fe0000000000001 i:0 2
|
||||
3019 f:3fe0000000000001 l:0 2
|
||||
3011 f:3fe0000000000001 f:3fdeaee8744b05f2 32
|
||||
3012 f:3fe0000000000001 f:3fec1528065b7d4f 32
|
||||
3011 f:bfe0000000000001 f:bfdeaee8744b05f2 32
|
||||
3012 f:bfe0000000000001 f:3fec1528065b7d4f 32
|
||||
3013 f:3fe0000000000001 f:3ffffffffffffffe f:3fcf5b75f92c80e1 48
|
||||
3010 f:3ff0000000000000 f:3ff0000000000000 16
|
||||
300c f:3ff0000000000000 f:3ff0000000000000 4
|
||||
300d f:3ff0000000000000 f:3ff0000000000000 4
|
||||
300e f:3ff0000000000000 f:3ff0000000000000 4
|
||||
300f f:3ff0000000000000 f:3ff0000000000000 4
|
||||
3018 f:3ff0000000000000 i:1 2
|
||||
3019 f:3ff0000000000000 l:1 2
|
||||
3011 f:3ff0000000000000 f:3feaed548f090cee 32
|
||||
3012 f:3ff0000000000000 f:3fe14a280fb5068c 32
|
||||
3011 f:bff0000000000000 f:bfeaed548f090cee 32
|
||||
3012 f:bff0000000000000 f:3fe14a280fb5068c 32
|
||||
3013 f:3ff0000000000000 f:3fe0000000000002 f:3ff1b6e192ebbe44 48
|
||||
3010 f:4000000000000000 f:3ff6a09e667f3bcd 16
|
||||
300c f:4000000000000000 f:4000000000000000 4
|
||||
300d f:4000000000000000 f:4000000000000000 4
|
||||
300e f:4000000000000000 f:4000000000000000 4
|
||||
300f f:4000000000000000 f:4000000000000000 4
|
||||
3018 f:4000000000000000 i:2 2
|
||||
3019 f:4000000000000000 l:2 2
|
||||
3011 f:4000000000000000 f:3fed18f6ead1b446 32
|
||||
3012 f:4000000000000000 f:bfdaa22657537205 32
|
||||
3011 f:c000000000000000 f:bfed18f6ead1b446 32
|
||||
3012 f:c000000000000000 f:bfdaa22657537205 32
|
||||
3013 f:4000000000000000 f:3ff921fb54442d18 f:3fecf5f1e82b5390 48
|
||||
3010 f:3ff921fb54442d18 f:3ff40d931ff62705 16
|
||||
300c f:3ff921fb54442d18 f:3ff0000000000000 4
|
||||
300d f:3ff921fb54442d18 f:4000000000000000 4
|
||||
300e f:3ff921fb54442d18 f:3ff0000000000000 4
|
||||
300f f:3ff921fb54442d18 f:4000000000000000 4
|
||||
3018 f:3ff921fb54442d18 i:1 2
|
||||
3019 f:3ff921fb54442d18 l:1 2
|
||||
3011 f:3ff921fb54442d18 f:3ff0000000000000 32
|
||||
3012 f:3ff921fb54442d18 f:3c91a62633145c07 32
|
||||
3011 f:bff921fb54442d18 f:bff0000000000000 32
|
||||
3012 f:bff921fb54442d18 f:3c91a62633145c07 32
|
||||
3013 f:3ff921fb54442d18 f:ea3931a1dc0ba585 f:400921fb54442d18 48
|
||||
3010 f:400921fb54442d18 f:3ffc5bf891b4ef6a 16
|
||||
300c f:400921fb54442d18 f:4008000000000000 4
|
||||
300d f:400921fb54442d18 f:4010000000000000 4
|
||||
300e f:400921fb54442d18 f:4008000000000000 4
|
||||
300f f:400921fb54442d18 f:4008000000000000 4
|
||||
3018 f:400921fb54442d18 i:3 2
|
||||
3019 f:400921fb54442d18 l:3 2
|
||||
3011 f:400921fb54442d18 f:3ca1a62633145c07 32
|
||||
3012 f:400921fb54442d18 f:bff0000000000000 32
|
||||
3011 f:c00921fb54442d18 f:bca1a62633145c07 32
|
||||
3012 f:c00921fb54442d18 f:bff0000000000000 32
|
||||
3013 f:400921fb54442d18 f:7103ecf9a81fd654 f:0ef42e61ed6e3c59 48
|
||||
3010 f:401921fb54442d18 f:40040d931ff62705 16
|
||||
300c f:401921fb54442d18 f:4018000000000000 4
|
||||
300d f:401921fb54442d18 f:401c000000000000 4
|
||||
300e f:401921fb54442d18 f:4018000000000000 4
|
||||
300f f:401921fb54442d18 f:4018000000000000 4
|
||||
3018 f:401921fb54442d18 i:6 2
|
||||
3019 f:401921fb54442d18 l:6 2
|
||||
3011 f:401921fb54442d18 f:bcb1a62633145c07 32
|
||||
3012 f:401921fb54442d18 f:3ff0000000000000 32
|
||||
3011 f:c01921fb54442d18 f:3cb1a62633145c07 32
|
||||
3012 f:c01921fb54442d18 f:3ff0000000000000 32
|
||||
3013 f:401921fb54442d18 f:22f1a991580a3c2b f:3ff921fb54442d18 48
|
||||
3010 f:7fefffffffffffff f:5fefffffffffffff 16
|
||||
300c f:7fefffffffffffff f:7fefffffffffffff 4
|
||||
300d f:7fefffffffffffff f:7fefffffffffffff 4
|
||||
300e f:7fefffffffffffff f:7fefffffffffffff 4
|
||||
300f f:7fefffffffffffff f:7fefffffffffffff 4
|
||||
3018 f:7fefffffffffffff trap:13 2
|
||||
3019 f:7fefffffffffffff trap:13 2
|
||||
3011 f:7fefffffffffffff f:3f7452fc98b34e97 32
|
||||
3012 f:7fefffffffffffff f:bfefffe62ecfab75 32
|
||||
3011 f:ffefffffffffffff f:bf7452fc98b34e97 32
|
||||
3012 f:ffefffffffffffff f:bfefffe62ecfab75 32
|
||||
3013 f:7fefffffffffffff f:3ff921fb54442d19 f:3ff921fb54442d18 48
|
||||
3010 f:000ffffffffffffe f:1ffffffffffffffe 16
|
||||
300c f:000ffffffffffffe f:0000000000000000 4
|
||||
300d f:000ffffffffffffe f:3ff0000000000000 4
|
||||
300e f:000ffffffffffffe f:0000000000000000 4
|
||||
300f f:000ffffffffffffe f:0000000000000000 4
|
||||
3018 f:000ffffffffffffe i:0 2
|
||||
3019 f:000ffffffffffffe l:0 2
|
||||
3011 f:000ffffffffffffe f:000ffffffffffffe 32
|
||||
3012 f:000ffffffffffffe f:3ff0000000000000 32
|
||||
3011 f:800ffffffffffffe f:800ffffffffffffe 32
|
||||
3012 f:800ffffffffffffe f:3ff0000000000000 32
|
||||
3013 f:000ffffffffffffe f:074caaf9d0e6af80 f:38b1dc162179e06b 48
|
||||
3013 f:000fffffffffffff f:272b6a7c6b3a7cd8 f:18d2acdd5ccefbb4 48
|
||||
3010 f:0010000000000001 f:2000000000000000 16
|
||||
300c f:0010000000000001 f:0000000000000000 4
|
||||
300d f:0010000000000001 f:3ff0000000000000 4
|
||||
300e f:0010000000000001 f:0000000000000000 4
|
||||
300f f:0010000000000001 f:0000000000000000 4
|
||||
3018 f:0010000000000001 i:0 2
|
||||
3019 f:0010000000000001 l:0 2
|
||||
3011 f:0010000000000001 f:0010000000000001 32
|
||||
3012 f:0010000000000001 f:3ff0000000000000 32
|
||||
3011 f:8010000000000001 f:8010000000000001 32
|
||||
3012 f:8010000000000001 f:3ff0000000000000 32
|
||||
3013 f:0010000000000001 f:3feffffffffffffe f:0010000000000002 48
|
||||
3010 f:0010000000000002 f:2000000000000001 16
|
||||
300c f:0010000000000002 f:0000000000000000 4
|
||||
300d f:0010000000000002 f:3ff0000000000000 4
|
||||
300e f:0010000000000002 f:0000000000000000 4
|
||||
300f f:0010000000000002 f:0000000000000000 4
|
||||
3018 f:0010000000000002 i:0 2
|
||||
3019 f:0010000000000002 l:0 2
|
||||
3011 f:0010000000000002 f:0010000000000002 32
|
||||
3012 f:0010000000000002 f:3ff0000000000000 32
|
||||
3011 f:8010000000000002 f:8010000000000002 32
|
||||
3012 f:8010000000000002 f:3ff0000000000000 32
|
||||
3013 f:0010000000000002 f:7721df366e8fb3fd f:0000000000000000 48
|
||||
3010 f:3fdffffffffffffd f:3fe6a09e667f3bcc 16
|
||||
300c f:3fdffffffffffffd f:0000000000000000 4
|
||||
300d f:3fdffffffffffffd f:3ff0000000000000 4
|
||||
300e f:3fdffffffffffffd f:0000000000000000 4
|
||||
300f f:3fdffffffffffffd f:0000000000000000 4
|
||||
3018 f:3fdffffffffffffd i:0 2
|
||||
3019 f:3fdffffffffffffd l:0 2
|
||||
3011 f:3fdffffffffffffd f:3fdeaee8744b05ed 32
|
||||
3012 f:3fdffffffffffffd f:3fec1528065b7d50 32
|
||||
3011 f:bfdffffffffffffd f:bfdeaee8744b05ed 32
|
||||
3012 f:bfdffffffffffffd f:3fec1528065b7d50 32
|
||||
3013 f:3fdffffffffffffd f:7feffffffffffffe f:0002000000000000 48
|
||||
3010 f:3fdffffffffffffe f:3fe6a09e667f3bcc 16
|
||||
300c f:3fdffffffffffffe f:0000000000000000 4
|
||||
300d f:3fdffffffffffffe f:3ff0000000000000 4
|
||||
300e f:3fdffffffffffffe f:0000000000000000 4
|
||||
300f f:3fdffffffffffffe f:0000000000000000 4
|
||||
3018 f:3fdffffffffffffe i:0 2
|
||||
3019 f:3fdffffffffffffe l:0 2
|
||||
3011 f:3fdffffffffffffe f:3fdeaee8744b05ee 32
|
||||
3012 f:3fdffffffffffffe f:3fec1528065b7d50 32
|
||||
3011 f:bfdffffffffffffe f:bfdeaee8744b05ee 32
|
||||
3012 f:bfdffffffffffffe f:3fec1528065b7d50 32
|
||||
3013 f:3fdffffffffffffe f:401921fb54442d17 f:3fb45438e80932c3 48
|
||||
|
@@ -0,0 +1,3 @@
|
||||
Runtime revision: f7d7c167531bb662a1af9d73fc326bb476bf8aa7
|
||||
Provider fixture SHA-256: 5536ee18cadaf32e3719b0e8d541dfcf1a84a49ea978a702101547c5ccdee3fe
|
||||
First 240 scalar rows of numeric-conformance.tsv plus exact examples from 02d-gameplay-math-and-numeric-semantics.md. No host math oracle.
|
||||
Reference in New Issue
Block a user