kusumotonorio
|
fb3928f807
|
Tests for System V AMD64 ABI (#2233)
* Adds Tests for System V AMD64 ABI
* Remove TABs, etc.
* Adds a test
* Some Cleanup
* Add Callback Tests
* Add More Tests
|
2020-01-24 21:54:33 +00:00 |
Doug Coleman
|
e6e7655cbd
|
vm: Fix some really minor warnings.
|
2018-07-27 21:35:55 -05:00 |
Björn Lindqvist
|
00d15b66a6
|
compiler.tests.alien: tests for varargs calls
|
2016-08-02 23:36:02 +02:00 |
Doug Coleman
|
a83df49ecc
|
ffi_test.c: Casting a 32bit int to a 64bit pointer is invalid. Instead,
cast it to a 64bit int then to the pointer. Found with visual studio 2015.
|
2015-06-05 10:21:20 -07:00 |
Björn Lindqvist
|
d63a6a20ee
|
ffi: test functions for bug #1021
Conflicts:
vm/ffi_test.c
vm/ffi_test.h
Note: Let's add tests in basis/compiler/tests/alien.factor for this.
|
2014-11-10 23:22:35 -08:00 |
Doug Coleman
|
466fe4559d
|
ffi_test: Can actually test 62 and 63 on windows.
|
2014-11-10 10:30:35 -08:00 |
Doug Coleman
|
1107edcc52
|
ffi_test: Fix compilation on Windows.
|
2014-11-09 10:39:50 -08:00 |
Doug Coleman
|
1b5711cc42
|
compiler.tests.alien: Add structs with uint and ulonglong pairs and return them from an FFI call. macosx32 seems to be working, hopefully this will break it or confirm that it's working. Linux32 is broken, hopefully this will show how.
|
2014-11-08 13:39:47 -08:00 |
Doug Coleman
|
0244a64d83
|
vm: Oops, test doesn't take a long long.
|
2014-11-07 15:42:25 -08:00 |
Doug Coleman
|
e494e3965b
|
compiler.tests.alien: Check in a failing unit test. Structure is getting returned improperly.
|
2014-11-07 15:34:10 -08:00 |
Doug Coleman
|
beb2d1df3a
|
ffi: Add some tests to ensure that 64bit integers are handled properly.
|
2014-07-07 17:02:36 -07:00 |
Erik Charlebois
|
04d655310f
|
VM: Refactor ffi_test to Factor style
|
2013-05-12 13:24:43 -04:00 |
Erik Charlebois
|
ca2ea548be
|
VM: Remove exec bit from VM source files
|
2013-05-11 17:04:23 -04:00 |
Slava Pestov
|
0d3861bb5d
|
vm: fix compiler warnings raised by CL
|
2010-04-12 18:12:55 -05:00 |
Joe Groff
|
5dcfb383a6
|
add tests for struct returns from fastcall
|
2010-04-01 23:52:56 -07:00 |
Joe Groff
|
a191937c47
|
typos in ffi tests
|
2010-04-01 03:02:36 -07:00 |
Joe Groff
|
fca8ba3d0a
|
add fastcall functions to ffi tests
|
2010-04-01 02:22:42 -07:00 |
Slava Pestov
|
bf05a901c4
|
Fix ffi-test library to work with Windows SDK. Turns out MINGW has a different ABI for struct returns than MS's compiler; make the MS ABI the default for cdecl on Windows, and add mingw ABI for libraries that use the MINGW ABI
|
2010-02-02 04:01:12 -06:00 |
Philipp Brüschweiler
|
230061783a
|
misc small documentation fixes, some fixes for factor.vim, changed permissions of vm/* to 644
|
2009-08-10 21:33:07 +02:00 |
Slava Pestov
|
58d0e17936
|
Fix bool type; its actually 1 byte not 4 in structs. Bug reported by jedahu
|
2009-05-05 18:37:40 -05:00 |
Slava Pestov
|
b923d548cf
|
Move vmpp to vm
|
2009-05-02 20:37:18 -05:00 |
sheeple
|
173b0ee78d
|
Add some more tests for complex numbers in FFI
|
2009-02-06 12:21:53 -06:00 |
Slava Pestov
|
05632b8525
|
Don't use complex.h since *BSDs don't have it in latest release versions (gah!); add DLLEXPORT for ffi_test_45 to make it work on Windows
|
2009-02-06 11:03:52 -06:00 |
Slava Pestov
|
7bb0e78314
|
Add support for C99 complex float and complex double types to FFI
They are named complex-float and complex-double in the Factor world
|
2009-02-06 04:02:00 -06:00 |
Slava Pestov
|
7fd0a27c0d
|
VM no longer uses printf since format string directives are not portable between Win64 and everything else...
|
2008-11-18 18:21:42 -06:00 |
Slava Pestov
|
14246fde37
|
Better FFI unit tests expose a new problem
|
2008-11-17 12:23:44 -06:00 |
Slava Pestov
|
722cacddb4
|
Fixing some problems with returning structs by value in x86.64 FFI
|
2008-09-13 20:28:13 -05:00 |
Slava Pestov
|
a3d1379b8c
|
Fix bug with large structs passed by value on x86.64
|
2008-09-09 03:10:43 -05:00 |
Doug Coleman
|
ca1484b94c
|
fix ffi test
|
2008-04-23 17:07:37 -05:00 |
Doug Coleman
|
8a0909d849
|
fix ffi test int ffi test 36 point 5
|
2008-04-10 20:09:36 -05:00 |
Slava Pestov
|
e9b9172a8e
|
VM changes for FFI encoding work
|
2008-04-20 06:15:14 -05:00 |
Slava Pestov
|
d7763d6b71
|
Add another unit test
|
2008-04-19 02:11:30 -05:00 |
Slava Pestov
|
c00f89c38b
|
Fix problem with callbacks
|
2008-04-17 04:14:42 -05:00 |
Slava Pestov
|
e7722c02b7
|
Add unit test for float alignment
|
2008-02-03 17:28:57 -06:00 |
Slava Pestov
|
764addb9b2
|
VM portion of new unit tests
|
2007-10-09 02:08:09 -04:00 |
Slava Pestov
|
304242bf5c
|
New unit test which fails on PowerPC
|
2007-09-30 16:20:07 -04:00 |
Slava Pestov
|
a96457cecc
|
Initial import
|
2007-09-20 18:09:08 -04:00 |