This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Note: Some Emscripten settings will significantly limit the speed of the generated code. | |
// Note: Some Emscripten settings may limit the speed of the generated code. | |
// The Module object: Our interface to the outside world. We import | |
// and export values on it, and do the work to get that through | |
// closure compiler if necessary. There are various ways Module can be used: | |
// 1. Not defined. We create it here | |
// 2. A function parameter, function(Module) { ..generated code.. } | |
// 3. pre-run appended it, var Module = {}; ..generated code.. | |
// 4. External script tag defines var Module. | |
// We need to do an eval in order to handle the closure compiler |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* | |
* This is a RANDOMLY GENERATED PROGRAM. | |
* | |
* Generator: csmith 2.2.0 | |
* Git version: bf42ffd | |
* Options: --no-volatiles --no-packed-struct | |
* Seed: 4217199412 | |
*/ | |
#include "csmith.h" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
--- 3_2/sm-f32_primes.cpp.js 2014-02-24 14:13:42.053423482 -0800 | |
+++ fastcomp/sm-f32_primes.cpp.js 2014-02-24 14:15:16.769421681 -0800 | |
@@ -5448,21 +5448,21 @@ | |
var _emscripten_memcpy_big=env._emscripten_memcpy_big; | |
var _fflush=env._fflush; | |
var _sqrtf=env._sqrtf; | |
var tempFloat = Math_fround(0); | |
// EMSCRIPTEN_START_FUNCS | |
function runPostSets() {} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* | |
* This is a RANDOMLY GENERATED PROGRAM. | |
* | |
* Generator: csmith 2.2.0 | |
* Git version: bf42ffd | |
* Options: --no-volatiles --no-packed-struct | |
* Seed: 2289079100 | |
*/ | |
#include "csmith.h" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// | |
// t28863.c | |
// Generated by Moh's fuzzer on Sun Apr 13 21:57:25 2014 | |
// | |
// Intel Corporation | |
// | |
#include <stdio.h> | |
#define N 100 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!doctype html> | |
<html lang="en-us"> | |
<head> | |
<meta charset="utf-8"> | |
<meta http-equiv="Content-Type" content="text/html; charset=utf-8"> | |
<title>Emscripten-Generated Code</title> | |
<style> | |
body { | |
font-family: arial; | |
margin: 0; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
DEBUG root: [35mPYTHON not defined in ~/.emscripten, using "/usr/bin/python2"[0m | |
/media/alon/2f9a30d7-6124-42d9-87c5-3c80cb70ec54/home/alon/Dev/emscripten/emcc -DLIBSASS_VERSION="\"3.1.0-dirty\"" -fPIC -c -o cencode.o cencode.c | |
DEBUG root: [35mPYTHON not defined in ~/.emscripten, using "/usr/bin/python2"[0m | |
WARNING root: [33minvocation: /media/alon/2f9a30d7-6124-42d9-87c5-3c80cb70ec54/home/alon/Dev/emscripten/emcc -DLIBSASS_VERSION="3.1.0-dirty" -fPIC -c -o cencode.o cencode.c (in /media/alon/2f9a30d7-6124-42d9-87c5-3c80cb70ec54/home/alon/Downloads/temp/21/sass.js/libsass/libsass)[0m | |
INFO root: [32m(Emscripten: Running sanity checks)[0m | |
DEBUG root: [35mcompiling to bitcode[0m | |
DEBUG root: [35memcc step "parse arguments and setup" took 0.00 seconds[0m | |
DEBUG root: [35mcompiling source file: cencode.c[0m | |
DEBUG root: [35mrunning: /home/alon/Dev/fastcomp/build/Release+Asserts/bin/clang -target asmjs-unknown-emscripten -D__EMSCRIPTEN_major__=1 -D__EMSCRIPTEN_minor__=29 -D__EMS |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
From 56b78d937b91aa597193be1c5a0d681d2df0e5e7 Mon Sep 17 00:00:00 2001 | |
From: Alessandro Pignotti <[email protected]> | |
Date: Tue, 16 Jun 2015 16:55:33 +0200 | |
Subject: [PATCH] Add Cheerp support to test runner | |
--- | |
cheerptrampoline.cpp | 43 +++++ | |
tests/box2d/Benchmark.cpp | 26 ++- | |
.../box2d/Box2D/Collision/Shapes/b2ChainShape.cpp | 11 +- | |
.../box2d/Box2D/Collision/Shapes/b2CircleShape.cpp | 3 +- |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
extern void some_external_JS(int); | |
int main() { | |
some_external_JS(42); | |
} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/include/llvm/ADT/Triple.h b/include/llvm/ADT/Triple.h | |
index e50cec1..4ae8ec9 100644 | |
--- a/include/llvm/ADT/Triple.h | |
+++ b/include/llvm/ADT/Triple.h | |
@@ -78,6 +78,7 @@ public: | |
nvptx64, // NVPTX: 64-bit | |
le32, // le32: generic little-endian 32-bit CPU (PNaCl) | |
le64, // le64: generic little-endian 64-bit CPU (PNaCl) | |
+ asmjs, // asm.js JavaScript subset | |
amdil, // AMDIL |