* i376.md (UNSPEC_MS_TO_SYSV_CALL): New constant. gpxe
authorhubicka <hubicka@138bc75d-0d04-0410-961f-82ee72b054a4>
Sun, 21 Dec 2008 13:28:26 +0000 (13:28 +0000)
committerhubicka <hubicka@138bc75d-0d04-0410-961f-82ee72b054a4>
Sun, 21 Dec 2008 13:28:26 +0000 (13:28 +0000)
commitddbdb9e0317989c6636ca9a18540c855c949edd7
treed5bde29db18ca4850d6b93694db130e4e61f45fc
parent6af735e57798eeb7648fd09b183f860dc01902bb
* i376.md (UNSPEC_MS_TO_SYSV_CALL): New constant.
(call_1_rex64_ms_sysv, call_value_0_rex64_ms_sysv,
call_value_1_rex64_ms_sysv): New patterns.
* i386.c (function_arg_ms_64): Pass magical value of -2 as callarg.
(ix86_expand_call): Emit extra clobbers for ms->sysv ABI calls.

git-svn-id: svn://gcc.gnu.org/svn/gcc/trunk@142859 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/ChangeLog
gcc/config/i386/i386.c
gcc/config/i386/i386.md