aboutsummaryrefslogtreecommitdiffstats
path: root/misc
diff options
context:
space:
mode:
authorMITSUNARI Shigeo <herumi@nifty.com>2016-06-01 09:22:24 +0800
committerMITSUNARI Shigeo <herumi@nifty.com>2016-06-01 09:22:24 +0800
commit8863364f9b9066b259ae21ffd483e856d735efba (patch)
tree96845198077b1c9fd6a89248d5cc4fdd7ff3e50b /misc
parent7689c3ab348a6fadfd1350121af533dbe1b4ba34 (diff)
downloadtangerine-mcl-8863364f9b9066b259ae21ffd483e856d735efba.tar.gz
tangerine-mcl-8863364f9b9066b259ae21ffd483e856d735efba.tar.zst
tangerine-mcl-8863364f9b9066b259ae21ffd483e856d735efba.zip
move opti/llvm
Diffstat (limited to 'misc')
-rw-r--r--misc/test.cpp29
1 files changed, 0 insertions, 29 deletions
diff --git a/misc/test.cpp b/misc/test.cpp
deleted file mode 100644
index e0592b6..0000000
--- a/misc/test.cpp
+++ /dev/null
@@ -1,29 +0,0 @@
-#include "llvm_gen.hpp"
-
-struct Code : public mcl::Generator {
- Operand Void;
- void gen1()
- {
- const int bit = 1024;
- resetGlobalIdx();
- Operand pz(IntPtr, bit);
- Operand px(IntPtr, bit);
- Operand py(IntPtr, bit);
- std::string name = "add" + cybozu::itoa(bit);
- Function f(name, Void, pz, px, py);
- beginFunc(f);
- Operand x = load(px);
- Operand y = load(py);
- x = add(x, y);
- store(x, pz);
- ret(Void);
- endFunc();
- }
-};
-
-int main()
-{
- Code c;
- c.gen1();
-}
-