Commit Graph

20345 Commits (099ffa1f5e436e1b1a84b87e835639742670ea9c)

Author SHA1 Message Date
Joe Groff 2d22a8eb49 tools.disassembler: allow aliens to be used in address pairs 2010-04-02 00:30:27 -07:00
Joe Groff 1c5f718e80 add tests for fastcall callbacks 2010-04-02 00:23:39 -07:00
Joe Groff 47f3ace5ac test fastcall indirect struct return 2010-04-02 00:00:34 -07:00
Joe Groff 43d73dcd4d remove fastcall struct param tests because GCC appears to behave differently from VC++ here and again, who cares 2010-04-01 23:54:08 -07:00
Joe Groff 5dcfb383a6 add tests for struct returns from fastcall 2010-04-01 23:52:56 -07:00
Joe Groff 69abcd4b9b test indirect fastcalls 2010-04-01 23:43:55 -07:00
Joe Groff fd0569e553 compiler.tests.alien: add back fastcall float and struct tests 2010-04-01 22:47:16 -07:00
Joe Groff 2c3fde412a cpu.x86.32: add load-return-regs methods for stack-params so callbacks can box the struct return pointer 2010-04-01 22:01:10 -07:00
Joe Groff 3ea0a490fb Merge branch 'master' of factorcode.org:/git/factor 2010-04-01 21:59:10 -07:00
Joe Groff fa49520cbf update nmakefile to statically link VM to exe just like GNUmakefile 2010-04-01 21:59:02 -07:00
Slava Pestov 279ff3a7d3 vm: smaller default callstack size on OpenBSD 2010-04-02 00:36:45 -04:00
Slava Pestov fa9b6e086b vm: oops 2010-04-02 00:22:16 -04:00
Slava Pestov d9d12ab8fb vm: don't try loading Factor VM DLL anymore 2010-04-02 00:03:26 -04:00
Slava Pestov 0faa3bcf4a vm: pre-allocate context alien 2010-04-02 00:02:21 -04:00
Joe Groff 88fbcba067 flatten non-integral types to (stack-value) on x86.32 2010-04-01 20:56:43 -07:00
Doug Coleman 0c0935dfc1 Fix typo in webkit demo 2010-04-01 22:25:07 -05:00
Slava Pestov 044171e6b9 cpu.ppc: fix optimizing compiler backend 2010-04-01 21:41:13 -05:00
Slava Pestov 2cab0bb86c cpu.ppc: stick old stack pointer in a register for use by callbacks 2010-04-01 22:39:46 -04:00
Joe Groff c12424f834 update alien docs to mention abi symbols 2010-04-01 19:25:24 -07:00
Joe Groff 88da92543c add a test that multiple stdcalls or fastcalls in the same word behave correctly 2010-04-01 18:48:12 -07:00
Joe Groff 553b9fcd93 make "fastcall" symbol private since it doesn't really work in all cases 2010-04-01 18:34:15 -07:00
Joe Groff 9c1a9158be retire mixed int/float fastcall tests because who cares 2010-04-01 18:25:56 -07:00
Joe Groff 666081f155 update %load-param-reg, %save-param-reg, and %cleanup to take register args into account 2010-04-01 17:36:09 -07:00
Slava Pestov eceabbc57e compiler: new set-special-object intrinsic; more efficient special-object intrinsic 2010-04-01 20:09:14 -04:00
Slava Pestov 1b4b1a180c Some minor pointless optimizations 2010-04-01 20:09:14 -04:00
Doug Coleman 51fd5e34e8 Fix bootstrap on windows 2010-04-01 18:48:41 -05:00
Joe Groff ef884ef7f2 Merge branch 'master' into abi-symbols 2010-04-01 15:28:36 -07:00
Joe Groff 7a5a6c779e add note to deploy docs that «deploy» creates a bundle directory with all the parts, and «deploy-image-only» deploys only the image 2010-04-01 15:25:08 -07:00
Joe Groff bbe6b729bf tools.deploy: add a «deploy-image-only» word that only builds the image file to a specified location 2010-04-01 15:11:52 -07:00
Joe Groff 6bc8beb070 tools.deploy.macosx: make sure Contents/Frameworks dir still gets created for apps that deploy third-party libraries 2010-04-01 14:44:18 -07:00
Joe Groff 6fdba565a1 update deploy backends not to include dll in deployed apps 2010-04-01 14:26:56 -07:00
Joe Groff 6d8c30ad98 statically link factor executable to VM so dylib is only needed for embedding 2010-04-01 14:25:02 -07:00
Joe Groff c743608456 check gc after fastcall ffi tests like stdcall tests 2010-04-01 14:15:34 -07:00
Doug Coleman 8a46a201fc Fix bootstrap 2010-04-01 15:37:57 -05:00
Doug Coleman 026499e64f Use flags{ instead of flags all over the place 2010-04-01 14:44:03 -05:00
Joe Groff 615c64443b update M\ int-regs param-regs for x86-32 to give input regs for thiscall/fastcall 2010-04-01 03:35:37 -07:00
Joe Groff a191937c47 typos in ffi tests 2010-04-01 03:02:36 -07:00
Joe Groff 4fd61f0b5c cpu.architecture: alter param-regs to take abi as an (ignored for now) argument 2010-04-01 02:53:40 -07:00
Joe Groff fca8ba3d0a add fastcall functions to ffi tests 2010-04-01 02:22:42 -07:00
Erik Charlebois 116c8850ac PPM image loading and saving 2010-04-01 00:44:32 -07:00
Slava Pestov 1f9fbd22eb cpu.ppc: updating optimizing compiler backend for recent changes (untested) 2010-04-01 00:22:10 -04:00
Slava Pestov 1e1425a6e1 cpu.ppc: non-optimizing compiler backend fixes 2010-04-01 00:21:41 -04:00
Joe Groff 9d3326658c alien: add singletons for thiscall and fastcall 2010-03-31 20:30:04 -07:00
Joe Groff 6805dc6401 remove redundant «stdcall?» word from cpu.x86.32 2010-03-31 19:57:29 -07:00
Joe Groff 98d1e7d006 update alien.libraries docs to link cdecl/stdcall symbols 2010-03-31 19:57:04 -07:00
Joe Groff f3dd625de6 "stdcall" -> stdcall 2010-03-31 19:29:04 -07:00
Joe Groff a6ee4232bb "mingw" -> mingw 2010-03-31 19:28:11 -07:00
Joe Groff 65c3259761 "cdecl" -> cdecl 2010-03-31 19:20:35 -07:00
Joe Groff 565e3383ab add singletons for stdcall, cdecl, mingw abis 2010-03-31 19:17:06 -07:00
Slava Pestov 7d24459bb8 cpu.x86.assembler: add segment override prefixes 2010-03-31 20:47:13 -04:00