Index: src/trusted/platform_qualify/arch/mips/nacl_qualify_fpu.c |
diff --git a/src/trusted/platform_qualify/arch/mips/nacl_qualify_fpu.c b/src/trusted/platform_qualify/arch/mips/nacl_qualify_fpu.c |
new file mode 100644 |
index 0000000000000000000000000000000000000000..9f5849fe8e921940ffff2ea67bc012502fdb8ee6 |
--- /dev/null |
+++ b/src/trusted/platform_qualify/arch/mips/nacl_qualify_fpu.c |
@@ -0,0 +1,18 @@ |
+/* |
+ * Copyright (c) 2012 The Native Client Authors. All rights reserved. |
+ * Use of this source code is governed by a BSD-style license that can be |
+ * found in the LICENSE file. |
+ */ |
+ |
+#include <setjmp.h> |
+#include <signal.h> |
+#include <stdint.h> |
+#include <stdlib.h> |
+ |
+/* |
+ * Returns 1 if FPU instructions work. |
+ */ |
+int NaClQualifyFpu(void) { |
+ // TODO(petarj): Find an ellegant way to check if FPU is present |
Mark Seaborn
2012/09/08 02:43:14
Spelling: "elegant"
Also, please use C-style comme
petarj
2012/09/11 16:58:13
Ok, file omitted for now.
|
+ return 1; |
+} |