From 88cbe04d7e6c14f58278ed288e4871abb3129cb5 Mon Sep 17 00:00:00 2001 From: Kartik Agaram Date: Fri, 19 Jul 2019 23:30:33 -0700 Subject: 5422 Various buffer sizes needed to be grown for ex11. But the next bottleneck is that we need to code-generate run-tests. --- subx/apps/survey.subx | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'subx/apps/survey.subx') diff --git a/subx/apps/survey.subx b/subx/apps/survey.subx index 79fddc53..9717944d 100644 --- a/subx/apps/survey.subx +++ b/subx/apps/survey.subx @@ -42,10 +42,10 @@ # . 1-3 bytes 3 bits 2 bits 3 bits 3 bits 3 bits 2 bits 2 bits 0/1/2/4 bytes 0/1/2/4 bytes Entry: - # Heap = new-segment(64KB) + # Heap = new-segment(1MB) # . . push args 68/push Heap/imm32 - 68/push 0x10000/imm32/64KB + 68/push 0x100000/imm32/1MB # . . call e8/call new-segment/disp32 # . . discard args @@ -142,9 +142,9 @@ convert: # infile : (address buffered-file), out : (address buffered-file) -> < 68/push 0/imm32/read 68/push 0/imm32/write 89/copy 3/mod/direct 2/rm32/EDX . . . 4/r32/ESP . . # copy ESP to EDX - # var in/ESI = stream(4096 * 1) - 81 5/subop/subtract 3/mod/direct 4/rm32/ESP . . . . . 0x1000/imm32 # subtract from ESP - 68/push 0x1000/imm32/length + # var in/ESI = stream(16384 * 1) + 81 5/subop/subtract 3/mod/direct 4/rm32/ESP . . . . . 0x4000/imm32 # subtract from ESP + 68/push 0x4000/imm32/length 68/push 0/imm32/read 68/push 0/imm32/write 89/copy 3/mod/direct 6/rm32/ESI . . . 4/r32/ESP . . # copy ESP to ESI @@ -4504,7 +4504,7 @@ test-num-bytes-handles-imm32: == data Segment-size: - 0x1000/imm32/4KB + 0x8000/imm32/4KB # This block of bytes gets copied to the start of the output ELF file, with # some fields filled in. -- cgit 1.4.1-2-gfad0