gcc/libffi/testsuite/libffi.call
Andrew Haley 387cfbba39 re PR testsuite/32843 (libffi.call/return_sc.c)
2007-07-30  Andrew Haley  <aph@redhat.com>

        PR testsuite/32843
        * src/x86/ffi.c (ffi_prep_cif_machdep): in x86 case, add code for
        signed/unsigned int8/16.
        * src/x86/sysv.S (ffi_call_SYSV): Rewrite to:
        Use a jump table.
        Remove code to pop args from the stack after call.
        Special-case signed/unsigned int8/16.
        * testsuite/libffi.call/return_sc.c (main): Revert.

From-SVN: r127093
2007-07-31 15:05:52 +00:00
..
call.exp call.exp: Adjust FSF address. 2006-03-01 00:12:00 +01:00
closure_fn0.c [multiple changes] 2007-07-09 17:33:46 +00:00
closure_fn1.c [multiple changes] 2007-07-09 17:33:46 +00:00
closure_fn2.c [multiple changes] 2007-07-09 17:33:46 +00:00
closure_fn3.c [multiple changes] 2007-07-09 17:33:46 +00:00
closure_fn4.c [multiple changes] 2007-07-09 17:33:46 +00:00
closure_fn5.c [multiple changes] 2007-07-09 17:33:46 +00:00
closure_fn6.c [multiple changes] 2007-07-09 17:33:46 +00:00
cls_1_1byte.c [multiple changes] 2007-07-09 17:33:46 +00:00
cls_2byte.c [multiple changes] 2007-07-09 17:33:46 +00:00
cls_3_1byte.c [multiple changes] 2007-07-09 17:33:46 +00:00
cls_3byte1.c [multiple changes] 2007-07-09 17:33:46 +00:00
cls_3byte2.c [multiple changes] 2007-07-09 17:33:46 +00:00
cls_4_1byte.c [multiple changes] 2007-07-09 17:33:46 +00:00
cls_4byte.c [multiple changes] 2007-07-09 17:33:46 +00:00
cls_5_1_byte.c [multiple changes] 2007-07-09 17:33:46 +00:00
cls_5byte.c [multiple changes] 2007-07-09 17:33:46 +00:00
cls_6_1_byte.c [multiple changes] 2007-07-09 17:33:46 +00:00
cls_6byte.c [multiple changes] 2007-07-09 17:33:46 +00:00
cls_7_1_byte.c [multiple changes] 2007-07-09 17:33:46 +00:00
cls_7byte.c [multiple changes] 2007-07-09 17:33:46 +00:00
cls_8byte.c [multiple changes] 2007-07-09 17:33:46 +00:00
cls_9byte1.c [multiple changes] 2007-07-09 17:33:46 +00:00
cls_9byte2.c [multiple changes] 2007-07-09 17:33:46 +00:00
cls_12byte.c [multiple changes] 2007-07-09 17:33:46 +00:00
cls_16byte.c [multiple changes] 2007-07-09 17:33:46 +00:00
cls_18byte.c [multiple changes] 2007-07-09 17:33:46 +00:00
cls_19byte.c [multiple changes] 2007-07-09 17:33:46 +00:00
cls_20byte1.c [multiple changes] 2007-07-09 17:33:46 +00:00
cls_20byte.c [multiple changes] 2007-07-09 17:33:46 +00:00
cls_24byte.c [multiple changes] 2007-07-09 17:33:46 +00:00
cls_64byte.c [multiple changes] 2007-07-09 17:33:46 +00:00
cls_align_double.c [multiple changes] 2007-07-09 17:33:46 +00:00
cls_align_float.c [multiple changes] 2007-07-09 17:33:46 +00:00
cls_align_longdouble.c [multiple changes] 2007-07-09 17:33:46 +00:00
cls_align_pointer.c [multiple changes] 2007-07-09 17:33:46 +00:00
cls_align_sint16.c [multiple changes] 2007-07-09 17:33:46 +00:00
cls_align_sint32.c [multiple changes] 2007-07-09 17:33:46 +00:00
cls_align_sint64.c [multiple changes] 2007-07-09 17:33:46 +00:00
cls_align_uint16.c [multiple changes] 2007-07-09 17:33:46 +00:00
cls_align_uint32.c [multiple changes] 2007-07-09 17:33:46 +00:00
cls_align_uint64.c [multiple changes] 2007-07-09 17:33:46 +00:00
cls_double.c [multiple changes] 2007-07-09 17:33:46 +00:00
cls_float.c [multiple changes] 2007-07-09 17:33:46 +00:00
cls_multi_schar.c [multiple changes] 2007-07-09 17:33:46 +00:00
cls_multi_sshort.c [multiple changes] 2007-07-09 17:33:46 +00:00
cls_multi_sshortchar.c [multiple changes] 2007-07-09 17:33:46 +00:00
cls_multi_uchar.c [multiple changes] 2007-07-09 17:33:46 +00:00
cls_multi_ushort.c [multiple changes] 2007-07-09 17:33:46 +00:00
cls_multi_ushortchar.c [multiple changes] 2007-07-09 17:33:46 +00:00
cls_schar.c [multiple changes] 2007-07-09 17:33:46 +00:00
cls_sint.c [multiple changes] 2007-07-09 17:33:46 +00:00
cls_sshort.c [multiple changes] 2007-07-09 17:33:46 +00:00
cls_uchar.c [multiple changes] 2007-07-09 17:33:46 +00:00
cls_uint.c [multiple changes] 2007-07-09 17:33:46 +00:00
cls_ulonglong.c [multiple changes] 2007-07-09 17:33:46 +00:00
cls_ushort.c [multiple changes] 2007-07-09 17:33:46 +00:00
ffitest.h call.exp: Adjust FSF address. 2006-03-01 00:12:00 +01:00
float1.c call.exp: Adjust FSF address. 2006-03-01 00:12:00 +01:00
float2.c README: Remove notice about 'Crazy Comments'. 2006-04-22 23:17:35 +02:00
float3.c cls_align_longdouble.c: Remove dg-options. 2005-02-11 22:33:16 +00:00
float4.c configure.ac: Tidy target case. 2007-04-06 09:24:16 -07:00
float.c call.exp: Adjust FSF address. 2006-03-01 00:12:00 +01:00
many_win32.c many_win32.c: Remove whitespaces. 2004-09-05 00:41:53 +02:00
many.c *** empty log message *** 2003-09-04 16:49:22 +02:00
negint.c call.exp: Adjust FSF address. 2006-03-01 00:12:00 +01:00
nested_struct1.c [multiple changes] 2007-07-09 17:33:46 +00:00
nested_struct2.c [multiple changes] 2007-07-09 17:33:46 +00:00
nested_struct3.c [multiple changes] 2007-07-09 17:33:46 +00:00
nested_struct4.c [multiple changes] 2007-07-09 17:33:46 +00:00
nested_struct5.c [multiple changes] 2007-07-09 17:33:46 +00:00
nested_struct6.c [multiple changes] 2007-07-09 17:33:46 +00:00
nested_struct7.c [multiple changes] 2007-07-09 17:33:46 +00:00
nested_struct8.c [multiple changes] 2007-07-09 17:33:46 +00:00
nested_struct9.c [multiple changes] 2007-07-09 17:33:46 +00:00
nested_struct10.c [multiple changes] 2007-07-09 17:33:46 +00:00
nested_struct.c [multiple changes] 2007-07-09 17:33:46 +00:00
problem1.c [multiple changes] 2007-07-09 17:33:46 +00:00
promotion.c README: Remove notice about 'Crazy Comments'. 2006-04-22 23:17:35 +02:00
pyobjc-tc.c call.exp: Adjust FSF address. 2006-03-01 00:12:00 +01:00
return_dbl1.c return_dbl.c: New test case. 2006-02-16 23:29:01 +01:00
return_dbl2.c return_dbl.c: New test case. 2006-02-16 23:29:01 +01:00
return_dbl.c return_dbl.c: New test case. 2006-02-16 23:29:01 +01:00
return_fl1.c return_dbl.c: New test case. 2006-02-16 23:29:01 +01:00
return_fl2.c return_fl2.c (return_fl): Mark as static. 2007-03-24 08:13:17 +01:00
return_fl3.c return_dbl.c: New test case. 2006-02-16 23:29:01 +01:00
return_fl.c return_dbl.c: New test case. 2006-02-16 23:29:01 +01:00
return_ll1.c re PR libffi/20104 (gij fails on ppc and not on x86) 2005-02-23 14:56:01 +01:00
return_ll.c many_win32.c: Remove whitespaces. 2004-09-05 00:41:53 +02:00
return_sc.c re PR testsuite/32843 (libffi.call/return_sc.c) 2007-07-31 15:05:52 +00:00
return_uc.c many_win32.c: Remove whitespaces. 2004-09-05 00:41:53 +02:00
return_ul.c ffi.h.in (ffi_type_ulong, [...]): Define correctly for 32-bit architectures. 2006-07-25 22:01:22 +02:00
strlen_win32.c *** empty log message *** 2003-09-04 16:49:22 +02:00
strlen.c *** empty log message *** 2003-09-04 16:49:22 +02:00
struct1.c README: Remove notice about 'Crazy Comments'. 2006-04-22 23:17:35 +02:00
struct2.c *** empty log message *** 2003-09-04 16:49:22 +02:00
struct3.c pyobjc-tc.c (main): Treat result value as of type ffi_arg. 2004-01-24 17:13:48 +01:00
struct4.c *** empty log message *** 2003-09-04 16:49:22 +02:00
struct5.c *** empty log message *** 2003-09-04 16:49:22 +02:00
struct6.c *** empty log message *** 2003-09-04 16:49:22 +02:00
struct7.c *** empty log message *** 2003-09-04 16:49:22 +02:00
struct8.c *** empty log message *** 2003-09-04 16:49:22 +02:00
struct9.c *** empty log message *** 2003-09-04 16:49:22 +02:00