diff options
author | MITSUNARI Shigeo <herumi@nifty.com> | 2016-06-01 09:22:24 +0800 |
---|---|---|
committer | MITSUNARI Shigeo <herumi@nifty.com> | 2016-06-01 09:22:24 +0800 |
commit | 8863364f9b9066b259ae21ffd483e856d735efba (patch) | |
tree | 96845198077b1c9fd6a89248d5cc4fdd7ff3e50b /misc | |
parent | 7689c3ab348a6fadfd1350121af533dbe1b4ba34 (diff) | |
download | tangerine-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.cpp | 29 |
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(); -} - |