Permalink
Browse files

initial import

  • Loading branch information...
1 parent 80e5868 commit a4b33bc47175ecc21c8090e0cfb71a57d5839cd7 @nishiuramakoto committed Jan 12, 2012
Showing with 490,374 additions and 0 deletions.
  1. +1 −0 AUTHORS
  2. +674 −0 COPYING
  3. +4 −0 ChangeLog
  4. +61 −0 INSTALL
  5. +21 −0 Makefile.am
  6. +725 −0 Makefile.in
  7. 0 NEWS
  8. +409 −0 README
  9. +5 −0 TODO
  10. +956 −0 aclocal.m4
  11. +1,517 −0 config/config.guess
  12. +1,760 −0 config/config.sub
  13. +630 −0 config/depcomp
  14. +520 −0 config/install-sh
  15. +9,642 −0 config/ltmain.sh
  16. +376 −0 config/missing
  17. +17,677 −0 configure
  18. +44 −0 configure.ac
  19. +7,851 −0 m4/libtool.m4
  20. +369 −0 m4/ltoptions.m4
  21. +123 −0 m4/ltsugar.m4
  22. +23 −0 m4/ltversion.m4
  23. +98 −0 m4/lt~obsolete.m4
  24. +485 −0 src/Makefile.am
  25. +2,206 −0 src/Makefile.in
  26. +2 −0 src/TODO
  27. +68 −0 src/check_illegal_code.sh
  28. +37 −0 src/check_illegal_code_x64.sh
  29. +40 −0 src/check_illegal_code_x86_32.sh
  30. +65 −0 src/config.h.in
  31. +168 −0 src/dprintf.cpp
  32. +97 −0 src/dprintf.h
  33. +120 −0 src/erasm/common_macros.hpp
  34. +26 −0 src/erasm/demo86.cpp
  35. +2,143 −0 src/erasm/dsm_x64.hpp
  36. +38,954 −0 src/erasm/dsm_x64_auto_stm.hpp
  37. +153 −0 src/erasm/dsm_x64_performance_test.cpp
  38. +305 −0 src/erasm/dsm_x64_test_main.cpp
  39. +125 −0 src/erasm/dsm_x64_unit_test.cpp
  40. +2,067 −0 src/erasm/dsm_x86.hpp
  41. +32,733 −0 src/erasm/dsm_x86_auto_stm.hpp
  42. +194 −0 src/erasm/dsm_x86_performance_test.cpp
  43. +314 −0 src/erasm/dsm_x86_test_main.cpp
  44. +328 −0 src/erasm/intel_common.hpp
  45. +108 −0 src/erasm/intel_prefix_bitset.hpp
  46. +199 −0 src/erasm/meta_leftist_heap.hpp
  47. +330 −0 src/erasm/meta_polynomial.hpp
  48. +853 −0 src/erasm/meta_prelude.hpp
  49. +887 −0 src/erasm/meta_prelude_core.hpp
  50. +93 −0 src/erasm/meta_prelude_functions.hpp
  51. +116 −0 src/erasm/meta_prelude_ifn.hpp
  52. +77 −0 src/erasm/meta_prelude_impl.hpp
  53. +289 −0 src/erasm/x64.cpp
  54. +26 −0 src/erasm/x64.hpp
  55. +36,521 −0 src/erasm/x64_addr32_data16.cpp
  56. +9,688 −0 src/erasm/x64_addr32_data16.hpp
  57. +36,521 −0 src/erasm/x64_addr32_data32.cpp
  58. +9,688 −0 src/erasm/x64_addr32_data32.hpp
  59. +129 −0 src/erasm/x64_addr32_test.cpp
  60. +1,817 −0 src/erasm/x64_addr64.hpp
  61. +36,521 −0 src/erasm/x64_addr64_data16.cpp
  62. +9,688 −0 src/erasm/x64_addr64_data16.hpp
  63. +36,521 −0 src/erasm/x64_addr64_data32.cpp
  64. +9,688 −0 src/erasm/x64_addr64_data32.hpp
  65. +163 −0 src/erasm/x64_addr64_test.cpp
  66. +2,723 −0 src/erasm/x64_assembler_auto_test.cpp
  67. +2,635 −0 src/erasm/x64_assembler_auto_test_snapshot.cpp
  68. +26 −0 src/erasm/x64_assembler_illegal_code.cpp
  69. +16 −0 src/erasm/x64_assembler_impl.cpp
  70. +480 −0 src/erasm/x64_assembler_impl.hpp
  71. +284 −0 src/erasm/x64_assembler_manual_test.cpp
  72. +51 −0 src/erasm/x64_assembler_test_code_64_32.cpp
  73. +28 −0 src/erasm/x64_assembler_test_code_64_32.hpp
  74. +44 −0 src/erasm/x64_assembler_test_main_64_32.cpp
  75. +922 −0 src/erasm/x64_common.hpp
  76. +190 −0 src/erasm/x64_implementation_defined.hpp
  77. +698 −0 src/erasm/x64_instruction_definition.cpp
  78. +3,399 −0 src/erasm/x64_instruction_definition.hpp
  79. +67 −0 src/erasm/x64_instruction_definition_common.hpp
  80. +309 −0 src/erasm/x64_io.cpp
  81. +288 −0 src/erasm/x64_io.hpp
  82. +31 −0 src/erasm/x64_prefix.hpp
  83. +724 −0 src/erasm/x64_ptr.hpp
  84. +47 −0 src/erasm/x86.cpp
  85. +27 −0 src/erasm/x86.hpp
  86. +672 −0 src/erasm/x86_addr16.hpp
  87. +27,671 −0 src/erasm/x86_addr16_data16.cpp
  88. +9,570 −0 src/erasm/x86_addr16_data16.hpp
  89. +27,671 −0 src/erasm/x86_addr16_data32.cpp
  90. +9,570 −0 src/erasm/x86_addr16_data32.hpp
  91. +82 −0 src/erasm/x86_addr16_test.cpp
  92. +193 −0 src/erasm/x86_addr32.hpp
  93. +27,671 −0 src/erasm/x86_addr32_data16.cpp
  94. +9,570 −0 src/erasm/x86_addr32_data16.hpp
  95. +27,671 −0 src/erasm/x86_addr32_data32.cpp
  96. +9,570 −0 src/erasm/x86_addr32_data32.hpp
  97. +101 −0 src/erasm/x86_addr32_test.cpp
  98. +2,091 −0 src/erasm/x86_assembler_auto_test.cpp
  99. +18 −0 src/erasm/x86_assembler_illegal_code_32_32.cpp
  100. +27 −0 src/erasm/x86_assembler_impl.cpp
  101. +140 −0 src/erasm/x86_assembler_impl.hpp
  102. +86 −0 src/erasm/x86_assembler_manual_test.cpp
  103. +65 −0 src/erasm/x86_assembler_test_code_32_32.cpp
  104. +28 −0 src/erasm/x86_assembler_test_code_32_32.hpp
  105. +43 −0 src/erasm/x86_assembler_test_main_32_32.cpp
  106. +340 −0 src/erasm/x86_common.hpp
  107. +698 −0 src/erasm/x86_instruction_definition.cpp
  108. +3,399 −0 src/erasm/x86_instruction_definition.hpp
  109. +57 −0 src/erasm/x86_instruction_definition_common.hpp
  110. +247 −0 src/erasm/x86_io.cpp
  111. +153 −0 src/erasm/x86_io.hpp
  112. +444 −0 src/erasm/x86_ptr.hpp
  113. +319 −0 src/gnu_disassembler.cpp
  114. +87 −0 src/gnu_disassembler.hpp
  115. +238 −0 src/haskell/Combinators.hs
  116. +878 −0 src/haskell/EncodedInstructionDefinition.hs
  117. +73 −0 src/haskell/Equivalence.hs
  118. +1,181 −0 src/haskell/ErasmChecker.hs
  119. +169 −0 src/haskell/ErasmCommon.hs
  120. +38 −0 src/haskell/ErasmParseCommon.hs
  121. +163 −0 src/haskell/Makefile.am
  122. +633 −0 src/haskell/Operands.hs
  123. +351 −0 src/haskell/PartialOrder.hs
  124. +102 −0 src/haskell/Polynomial.hs
  125. +204 −0 src/haskell/Prefix.hs
  126. +86 −0 src/haskell/Preprocessor.hs
  127. +47 −0 src/haskell/ShellCommon.hs
  128. +138 −0 src/haskell/erasm.cabal
  129. +66 −0 src/haskell/my_ghc_testframework.m4
  130. +157 −0 src/hook_test.cpp
  131. +66 −0 src/memory_protection.hpp
  132. +150 −0 src/mystream.hpp
  133. 0 src/parse_all.stamp
  134. +40 −0 src/test_assembler_common.sh
  135. +54 −0 src/test_gnudsm.cpp
  136. +40 −0 src/test_gnudsm.hpp
  137. +21 −0 src/test_meta_binomial_heap.cpp
  138. +40 −0 src/test_meta_leftist_heap.cpp
  139. +37 −0 src/test_x64_assembler_64_32.sh
  140. +27 −0 src/test_x64_disassembler_64_32.sh
  141. +26 −0 src/test_x86_assembler_32_32.sh
  142. +26 −0 src/test_x86_disassembler_32_32.sh
  143. +41 −0 src/unit_test_main.cpp
View
@@ -0,0 +1 @@
+Makoto Nishiura(nishiuramakoto@gmail.com)
View
674 COPYING

Large diffs are not rendered by default.

Oops, something went wrong.
View
@@ -0,0 +1,4 @@
+2012-01-08 makoto <nishiuramakoto@gmail.com>
+
+ * preparing for release in GitHub
+
View
61 INSTALL
@@ -0,0 +1,61 @@
+---------------------------------
+ERASM++ Installation Instructions
+---------------------------------
+ * Supported Platforms
+ * Requirements
+ * Installation
+
+SUPPORTED PLATFORMS
+------------------
+
+We have tested the library on following systems and compilers:
+
+Debian Testing(squeeze) running on Intel Celeron M 1.3GHz,
+g++ version 4.6.1 and 4.5.3.
+
+Windows 7 32-bit running on Intel Pentium Dual Core 2.4GHz,
+mingw g++ version 4.6.1 and 4.5.4.
+
+cl.exe bundled with Visual C++ 2011 Express looks fine,but not tested
+thoroughly yet.
+
+Please report if you have succeeded or failed to build and use ERASM++ on
+other systems.
+
+
+REQUIREMENTS
+------------
+
+ERASM++ requires:
+
+* GNU Autotools
+* Boost static_assert
+* Boost stdint
+ (ERASM++ assumes the availability of 8-,16-,32-,and 64-bit integers)
+* Boost preprocessor
+
+Check out http://www.boost.org and install above libraries.
+
+Furthermore,the following additional requirements must be met in order to
+pass 'make check':
+
+* GoogleTest
+* GHC >= 7.0.3
+* parsec,uulib,HUnit,QuickCheck >=2.4,HaskellForMaths >=0.4.0,fgl
+ all of which are available through 'cabal install'.
+
+(In order to ensure maximum cross-compiler portability,should we switch to
+other build systems? like cmake? boost's?)
+
+
+INSTALLATION
+------------
+./configure --prefix=your-private-directory
+make
+make install
+
+This will install the necessary headers under PREFIX/include/erasm,
+and libraries under PREFIX/lib/erasm.
+
+We don't recommend installing on the system directories,as ERASM++ is still
+in its alpha stage.
View
@@ -0,0 +1,21 @@
+
+# Copyright (C) 2011,2012 Makoto Nishiura.
+
+# This file is part of ERASM++.
+
+# ERASM++ is free software; you can redistribute it and/or modify it under
+# the terms of the GNU General Public License as published by the Free
+# Software Foundation; either version 3, or (at your option) any later
+# version.
+
+# ERASM++ is distributed in the hope that it will be useful, but WITHOUT ANY
+# WARRANTY; without even the implied warranty of MERCHANTABILITY or
+# FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
+# for more details.
+
+# You should have received a copy of the GNU General Public License
+# along with ERASM++; see the file COPYING. If not see
+# <http://www.gnu.org/licenses/>.
+
+SUBDIRS= . src
+ACLOCAL_AMFLAGS= -I m4
Oops, something went wrong.

0 comments on commit a4b33bc

Please sign in to comment.