Commit Graph

10345 Commits (8be30254e2f38835f1530220a4b790e2c9cfb134)

Author SHA1 Message Date
Alain Frisch cc42f69acb Comment.
git-svn-id: http://caml.inria.fr/svn/ocaml/branches/abstract_intel_emit@15404 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2014-09-30 15:20:02 +00:00
Alain Frisch 0f2fb19952 Uniformize.
git-svn-id: http://caml.inria.fr/svn/ocaml/branches/abstract_intel_emit@15403 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2014-09-30 15:13:49 +00:00
Alain Frisch 3b6f79b288 Get rid of warning attribute.
git-svn-id: http://caml.inria.fr/svn/ocaml/branches/abstract_intel_emit@15402 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2014-09-30 15:08:18 +00:00
Alain Frisch cf495ee713 Inline inner DSL module.
git-svn-id: http://caml.inria.fr/svn/ocaml/branches/abstract_intel_emit@15401 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2014-09-30 15:07:29 +00:00
Alain Frisch 0fd13b09d7 Get rid of End directive (hard-code in masm backend).
git-svn-id: http://caml.inria.fr/svn/ocaml/branches/abstract_intel_emit@15400 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2014-09-30 15:03:02 +00:00
Alain Frisch 8e12390dd5 ascii -> bytes
git-svn-id: http://caml.inria.fr/svn/ocaml/branches/abstract_intel_emit@15399 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2014-09-30 15:00:52 +00:00
Alain Frisch 493b049c59 llabel -> label
git-svn-id: http://caml.inria.fr/svn/ocaml/branches/abstract_intel_emit@15398 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2014-09-30 14:59:56 +00:00
Alain Frisch 2a66b9f4fd Adapt 32-bit backend as well.
git-svn-id: http://caml.inria.fr/svn/ocaml/branches/abstract_intel_emit@15397 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2014-09-30 14:59:11 +00:00
Alain Frisch 44e695fca1 Move directive emitters into a sub-module (64-bit).
git-svn-id: http://caml.inria.fr/svn/ocaml/branches/abstract_intel_emit@15396 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2014-09-30 14:54:15 +00:00
Alain Frisch 4e4eaa624b Fix.
git-svn-id: http://caml.inria.fr/svn/ocaml/branches/abstract_intel_emit@15395 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2014-09-30 14:46:19 +00:00
Alain Frisch 48ae8d422e Merge DSL32 and DSL64.
git-svn-id: http://caml.inria.fr/svn/ocaml/branches/abstract_intel_emit@15394 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2014-09-30 14:45:35 +00:00
Alain Frisch 56c045db01 Cleanup.
git-svn-id: http://caml.inria.fr/svn/ocaml/branches/abstract_intel_emit@15393 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2014-09-30 14:41:41 +00:00
Alain Frisch 15ffda9671 Cleanup.
git-svn-id: http://caml.inria.fr/svn/ocaml/branches/abstract_intel_emit@15392 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2014-09-30 14:40:09 +00:00
Alain Frisch 180d759cd4 Getting rid of instruction suffixes. Finish, merge INS, INS32, INS64, get rid of duplicates.
git-svn-id: http://caml.inria.fr/svn/ocaml/branches/abstract_intel_emit@15391 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2014-09-30 14:37:09 +00:00
Alain Frisch f69748eed4 Getting rid of instruction suffixes: step 3, using pure Intel mnemonics for the 32-bit backend.
git-svn-id: http://caml.inria.fr/svn/ocaml/branches/abstract_intel_emit@15390 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2014-09-30 14:27:23 +00:00
Alain Frisch 25a6f99a6b Sort.
git-svn-id: http://caml.inria.fr/svn/ocaml/branches/abstract_intel_emit@15389 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2014-09-30 14:19:15 +00:00
Alain Frisch 2ae09f0ae9 Getting rid of instruction suffixes: step 2, using pure Intel mnemonics for the 64-bit backend.
git-svn-id: http://caml.inria.fr/svn/ocaml/branches/abstract_intel_emit@15388 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2014-09-30 14:18:25 +00:00
Alain Frisch 3eb137685d Getting rid of instruction suffixes: step 1, get rid of internal checks.
git-svn-id: http://caml.inria.fr/svn/ocaml/branches/abstract_intel_emit@15387 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2014-09-30 14:06:42 +00:00
Alain Frisch c7c51e091c Synchronize with trunk.
git-svn-id: http://caml.inria.fr/svn/ocaml/branches/constructors_with_record4@15386 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2014-09-30 13:19:33 +00:00
Alain Frisch 52e24006db Bootstrap.
git-svn-id: http://caml.inria.fr/svn/ocaml/branches/constructors_with_record4@15385 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2014-09-30 13:19:00 +00:00
Alain Frisch 5afa84fdb8 Get rif of multiple exceptions with the same name in the same module.
git-svn-id: http://caml.inria.fr/svn/ocaml/branches/constructors_with_record4@15384 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2014-09-30 13:18:41 +00:00
Alain Frisch 50fae59bc6 Fix.
git-svn-id: http://caml.inria.fr/svn/ocaml/branches/constructors_with_record4@15383 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2014-09-30 13:10:10 +00:00
Alain Frisch d4cb9063f1 Do not resolve Tpackage path with find_type (to be checked).
git-svn-id: http://caml.inria.fr/svn/ocaml/branches/constructors_with_record4@15382 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2014-09-30 13:09:34 +00:00
Alain Frisch aa2b9cbbdb Print inlined record type with a bang.
git-svn-id: http://caml.inria.fr/svn/ocaml/branches/constructors_with_record4@15381 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2014-09-30 12:43:17 +00:00
Alain Frisch 78e3abe008 Cleanup.
git-svn-id: http://caml.inria.fr/svn/ocaml/branches/constructors_with_record4@15380 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2014-09-30 12:37:18 +00:00
Alain Frisch a07fa4c556 Reduce diff with trunk.
git-svn-id: http://caml.inria.fr/svn/ocaml/branches/constructors_with_record4@15379 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2014-09-30 12:23:11 +00:00
Alain Frisch f7aea9bb53 Cleanup.
git-svn-id: http://caml.inria.fr/svn/ocaml/branches/constructors_with_record4@15378 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2014-09-30 12:17:03 +00:00
Alain Frisch 186847547f No need to track extension path in record_representation, infer it from the result type of the label.
git-svn-id: http://caml.inria.fr/svn/ocaml/branches/constructors_with_record4@15377 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2014-09-30 11:10:43 +00:00
Alain Frisch d19a43be70 Re-enable rebinding of extension constructors with inlined records.
git-svn-id: http://caml.inria.fr/svn/ocaml/branches/constructors_with_record4@15376 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2014-09-30 10:51:25 +00:00
Alain Frisch 5b9538aa3d Support for inlined records in extension constructors.
git-svn-id: http://caml.inria.fr/svn/ocaml/branches/constructors_with_record4@15375 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2014-09-30 10:41:39 +00:00
Alain Frisch 4c378dc444 Cleanup.
git-svn-id: http://caml.inria.fr/svn/ocaml/branches/constructors_with_record4@15374 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2014-09-30 09:32:55 +00:00
Alain Frisch 26f6d39bb5 Cleanup.
git-svn-id: http://caml.inria.fr/svn/ocaml/branches/constructors_with_record4@15373 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2014-09-30 08:42:04 +00:00
Alain Frisch d1b95e90fe Towards sugar-less encoding of constructor types.
git-svn-id: http://caml.inria.fr/svn/ocaml/branches/constructors_with_record4@15372 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2014-09-30 08:37:55 +00:00
Alain Frisch 6b080e669e Towards getting rid of the internal syntactic sugar.
git-svn-id: http://caml.inria.fr/svn/ocaml/branches/constructors_with_record4@15371 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2014-09-29 16:19:00 +00:00
Alain Frisch 1fa5fe7ce3 Yet another branch for inlined records, trying to get rid of the internal syntactic sugar.
git-svn-id: http://caml.inria.fr/svn/ocaml/branches/constructors_with_record4@15370 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2014-09-29 16:14:37 +00:00
Alain Frisch 3523fd5b04 Immediate are not explicitly typed in Intel_ast. Use the unsuffixed form e.g. for 'push imm'.
git-svn-id: http://caml.inria.fr/svn/ocaml/branches/abstract_intel_emit@15369 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2014-09-29 14:52:46 +00:00
Alain Frisch 6ca707d066 Cleanup.
git-svn-id: http://caml.inria.fr/svn/ocaml/branches/constructors_with_record3@15368 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2014-09-29 14:06:20 +00:00
Alain Frisch c06bad85ea Fix.
git-svn-id: http://caml.inria.fr/svn/ocaml/branches/abstract_intel_emit@15367 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2014-09-29 13:42:28 +00:00
Alain Frisch 79fe0be8ad Avoid duplication in register names.
git-svn-id: http://caml.inria.fr/svn/ocaml/branches/abstract_intel_emit@15366 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2014-09-29 13:39:01 +00:00
Alain Frisch e7937ee25a Get rid of RIP register, introduce a specific operand for rip-based addressing.
git-svn-id: http://caml.inria.fr/svn/ocaml/branches/abstract_intel_emit@15365 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2014-09-29 13:16:05 +00:00
Damien Doligez 51e08c490b PR#4099: Bug in Makefile.nt: won't stop on error
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@15358 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2014-09-26 20:57:13 +00:00
Alain Frisch e8fd41e2e8 Get rid of type-qualifed constructor paths for extensible types.
git-svn-id: http://caml.inria.fr/svn/ocaml/branches/constructors_with_record3@15355 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2014-09-26 16:25:29 +00:00
Alain Frisch d4affdb259 Rename NO -> NONE.
git-svn-id: http://caml.inria.fr/svn/ocaml/branches/abstract_intel_emit@15354 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2014-09-26 16:11:54 +00:00
Alain Frisch 1f203ae846 Disallow multiple declaration of extension constructors with the same name in the same module.
git-svn-id: http://caml.inria.fr/svn/ocaml/branches/constructors_with_record3@15353 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2014-09-26 15:34:06 +00:00
Alain Frisch 1fb70280aa Cleanup.
git-svn-id: http://caml.inria.fr/svn/ocaml/branches/constructors_with_record3@15348 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2014-09-26 11:46:54 +00:00
Alain Frisch 627dda3c43 Merge with trunk.
git-svn-id: http://caml.inria.fr/svn/ocaml/branches/constructors_with_record3@15347 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2014-09-26 11:35:29 +00:00
Alain Frisch eb893a5605 Fix merge problem.
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@15346 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2014-09-26 11:32:59 +00:00
Damien Doligez d36bcbae6a testsuite: add empty file to prevent svn merge from adding incompatible tests automatically
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@15345 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2014-09-26 09:35:15 +00:00
Alain Frisch 2aca1bc091 Remove warning attributes.
git-svn-id: http://caml.inria.fr/svn/ocaml/branches/abstract_intel_emit@15343 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2014-09-26 08:47:38 +00:00
Alain Frisch 4747bde5da More explicit datatype checks.
git-svn-id: http://caml.inria.fr/svn/ocaml/branches/abstract_intel_emit@15342 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2014-09-26 08:42:46 +00:00