diff options
author | green <green@138bc75d-0d04-0410-961f-82ee72b054a4> | 2010-08-06 05:28:37 +0000 |
---|---|---|
committer | green <green@138bc75d-0d04-0410-961f-82ee72b054a4> | 2010-08-06 05:28:37 +0000 |
commit | e243b8a7ea4fe19bfc714c08f777505e0bf54e4d (patch) | |
tree | 8cff1d61a1410afc3f31b95b7853350890c04747 /libffi/src | |
parent | 142f9026d2a341b4b9745dffc17909a51f7170fe (diff) | |
download | gcc-e243b8a7ea4fe19bfc714c08f777505e0bf54e4d.tar.gz |
Improve libffi comments
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@162936 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'libffi/src')
-rw-r--r-- | libffi/src/x86/ffi.c | 8 | ||||
-rw-r--r-- | libffi/src/x86/ffi64.c | 7 |
2 files changed, 8 insertions, 7 deletions
diff --git a/libffi/src/x86/ffi.c b/libffi/src/x86/ffi.c index d99528b11c7..80496532a30 100644 --- a/libffi/src/x86/ffi.c +++ b/libffi/src/x86/ffi.c @@ -585,10 +585,10 @@ ffi_prep_raw_closure_loc (ffi_raw_closure* closure, return FFI_BAD_ABI; } - // we currently don't support certain kinds of arguments for raw - // closures. This should be implemented by a separate assembly language - // routine, since it would require argument processing, something we - // don't do now for performance. + /* we currently don't support certain kinds of arguments for raw + closures. This should be implemented by a separate assembly + language routine, since it would require argument processing, + something we don't do now for performance. */ for (i = cif->nargs-1; i >= 0; i--) { diff --git a/libffi/src/x86/ffi64.c b/libffi/src/x86/ffi64.c index 51ada0e879f..07a2627b1f2 100644 --- a/libffi/src/x86/ffi64.c +++ b/libffi/src/x86/ffi64.c @@ -50,9 +50,10 @@ extern void ffi_call_unix64 (void *args, unsigned long bytes, unsigned flags, gcc/config/i386/i386.c. Do *not* change one without the other. */ /* Register class used for passing given 64bit part of the argument. - These represent classes as documented by the PS ABI, with the exception - of SSESF, SSEDF classes, that are basically SSE class, just gcc will - use SF or DFmode move instead of DImode to avoid reformating penalties. + These represent classes as documented by the PS ABI, with the + exception of SSESF, SSEDF classes, that are basically SSE class, + just gcc will use SF or DFmode move instead of DImode to avoid + reformatting penalties. Similary we play games with INTEGERSI_CLASS to use cheaper SImode moves whenever possible (upper half does contain padding). */ |