reduced stack usage on windows to 16K

This commit is contained in:
wernsaar
2014-04-24 14:09:26 +02:00
parent 4d42368214
commit 47b22763f8
2 changed files with 6 additions and 1 deletions

View File

@@ -80,10 +80,12 @@ USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
#ifndef WINDOWS_ABI
#define STACKSIZE 96
#define L_BUFFER_SIZE 256*8*12+4096
#else
#define STACKSIZE 256
#define L_BUFFER_SIZE 128*8*12+4096
#define OLD_A 40 + STACKSIZE(%rsp)
#define OLD_B 48 + STACKSIZE(%rsp)
@@ -93,7 +95,6 @@ USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
#endif
#define L_BUFFER_SIZE 512*8*12
#define Ndiv12 24(%rsp)
#define Nmod12 32(%rsp)