Commit Graph

10087 Commits (376ea015745983a18f8e164be8d35e72b7f0c97b)

Author SHA1 Message Date
Alain Frisch 376ea01574 Fix .section directives for MacOSX.
git-svn-id: http://caml.inria.fr/svn/ocaml/branches/abstract_intel_emit@15478 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2014-10-06 15:35:01 +00:00
Alain Frisch 7b91064895 Typo.
git-svn-id: http://caml.inria.fr/svn/ocaml/branches/abstract_intel_emit@15458 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2014-10-03 15:44:54 +00:00
Alain Frisch 3040c714ec Cleanup.
git-svn-id: http://caml.inria.fr/svn/ocaml/branches/abstract_intel_emit@15450 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2014-10-03 13:45:30 +00:00
Alain Frisch 3c33b616b0 Typo.
git-svn-id: http://caml.inria.fr/svn/ocaml/branches/abstract_intel_emit@15449 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2014-10-03 13:41:21 +00:00
Alain Frisch b002e8b22e Sync with trunk.
git-svn-id: http://caml.inria.fr/svn/ocaml/branches/abstract_intel_emit@15448 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2014-10-03 13:35:02 +00:00
Alain Frisch cf2cdb9fc1 Typos.
git-svn-id: http://caml.inria.fr/svn/ocaml/branches/abstract_intel_emit@15447 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2014-10-03 12:48:45 +00:00
Alain Frisch 7a21fae1a7 Cleanup.
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@15445 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2014-10-03 12:26:11 +00:00
Alain Frisch f7506d81df Factorize.
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@15441 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2014-10-03 12:13:36 +00:00
Alain Frisch cb01d1c89f Cleanup detection of duplicated type/... names.
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@15439 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2014-10-03 12:03:05 +00:00
Alain Frisch 64d170354c Cleanup.
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@15433 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2014-10-03 11:45:23 +00:00
Alain Frisch d5583e22fb Cleanup.
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@15429 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2014-10-03 11:29:58 +00:00
Alain Frisch 90662da521 Cleanup.
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@15425 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2014-10-03 09:06:07 +00:00
Alain Frisch c767b9a299 Factorize.
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@15424 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2014-10-03 09:03:11 +00:00
Alain Frisch c0d246224a Integrate simple change from constructors_with_record4.
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@15423 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2014-10-03 08:58:06 +00:00
Alain Frisch 5be2d7d52c #6585: fix memory leak in win32unix/createprocess.c.
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@15417 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2014-10-02 12:57:10 +00:00
Alain Frisch eb0beeba69 #6582: make backport of #5904 more backwards compatible.
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@15414 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2014-10-02 07:37:08 +00:00
Jacques Garrigue 67f3768100 Fix PR#6593: Functor application in tests/basic-modules fails
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@15413 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2014-10-02 00:43:01 +00:00
Alain Frisch 2a6db79e0e Prepare environment (with Compenv.readenv) before executing script passed on the toplevel command-line.
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@15412 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2014-10-01 14:50:36 +00:00
Alain Frisch 8feec4d2aa The path under Tpackage doesn't refer to a type path (but to a module type path).
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@15409 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2014-10-01 12:31:24 +00:00
Jacques Garrigue e757455115 Fix PR#6465: allow incremental weakening of module aliases
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@15405 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2014-10-01 09:07:14 +00:00
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 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 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 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 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
Alain Frisch a682f45abc Adding in mli file for Intel_dsl.
git-svn-id: http://caml.inria.fr/svn/ocaml/branches/abstract_intel_emit@15341 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2014-09-26 08:32:32 +00:00
Alain Frisch 02097ac8b9 Clarify the fsub/fsubr bug in AT\&T syntax.
git-svn-id: http://caml.inria.fr/svn/ocaml/branches/abstract_intel_emit@15340 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2014-09-26 08:26:15 +00:00