From 430c38701375d7c3a8176218a8536fd83b52a446 Mon Sep 17 00:00:00 2001 From: Michael Forney Date: Fri, 22 Feb 2019 13:16:22 -0800 Subject: Implement __builtin_inff --- tests/builtin-inff.c | 1 + tests/builtin-inff.qbe | 1 + 2 files changed, 2 insertions(+) create mode 100644 tests/builtin-inff.c create mode 100644 tests/builtin-inff.qbe (limited to 'tests') diff --git a/tests/builtin-inff.c b/tests/builtin-inff.c new file mode 100644 index 0000000..2dcd040 --- /dev/null +++ b/tests/builtin-inff.c @@ -0,0 +1 @@ +float x = __builtin_inff(); diff --git a/tests/builtin-inff.qbe b/tests/builtin-inff.qbe new file mode 100644 index 0000000..5eb8060 --- /dev/null +++ b/tests/builtin-inff.qbe @@ -0,0 +1 @@ +export data $x = align 4 { s s_inf, } -- cgit v1.2.3