- 27 Aug, 2020 2 commits
-
-
Raymond Toy authored
In alloc(), save the fpu state on entry to the function and restore it just before returning. While we're at it, use the __attribute__ option to get a 16-byte aligned area where we can save the fpu state. And also set optimization to -O2 for linux.
-
Raymond Toy authored
Add `COPT` variable in `Config.x86_common` to set the optimization level (defaulting to `-O2`). Then each `Config.x86` file can set `COPT` as desired if the default doesn't work. Thus, `Config.x86_linux` sets `COPT` to `-O1`, but others can use the default value. See issue #68.
-
- 21 May, 2016 1 commit
-
-
Raymond Toy authored
This is now handled by the runtime feature :relocatable-stacks
-
- 11 May, 2016 1 commit
-
-
Raymond Toy authored
When RELOCATABLE_STACK_START is defined, the control stack, binding stack, and sigalt stack are located wherever mmap finds room for them.
-
- 05 Aug, 2014 2 commits
-
-
Raymond Toy authored
-
Raymond Toy authored
Netbsd apparently doesn't like this, so we're moving that option to the linux and darwin config files. Reported by Robert Swindells.
-
- 03 Aug, 2014 3 commits
-
-
Raymond Toy authored
-
Raymond Toy authored
* GNUMakefile: * List all of the fdlibm files here instead of the individual configs because we use fdlibm everywhere now. * Config.x86_common: * Remove e_rem_pio2 and k_rem_pio2 which is in GNUMakefile now. * Config.x86_darwin: * Remove all of the fdlibm files since they're in GNUMakefile now. * Config.x86_linux: * Remove all of the fdlibm files since they're in GNUMakefile now.
-
Raymond Toy authored
update to include the rest of the fdlibm routines. With this change, all of the C code should now use sse2 instructions as needed, which means no more -ffloat-store, and the couple of test cases like tan.exceptions no longer fail because we signal execptions as expected.
-
- 02 Aug, 2014 1 commit
-
-
Raymond Toy authored
-
- 22 Jul, 2014 1 commit
-
-
Raymond Toy authored
-
- 21 Jul, 2014 1 commit
-
-
Raymond Toy authored
-
- 15 Dec, 2013 1 commit
-
-
Raymond Toy authored
* Add CC_REM_PIO2 variable when compiling e_rem_pio2.c and k_rem_pio2.c. * On linux and freebsd, set CC_REM_PIO2 to -ffloat-store so that proper rounding happens. Not needed on Darwin because Darwin always uses sse2 and not x87.
-
- 04 May, 2013 1 commit
-
-
Raymond Toy authored
-
- 04 Nov, 2011 1 commit
-
-
Raymond Toy authored
-
- 29 Jul, 2010 1 commit
-
-
rtoy authored
o Define EXEC_FINAL_OBJ for linux, just like we did for Solaris so that we have a nice known good address and value for builtin_image_flag. GNUmakefile: o If EXEC_FINAL_OBJ has a value, remove exec-init.o from the library and add exec-final.o. This makes it independent of the architecture.
-
- 09 Feb, 2009 1 commit
-
-
rtoy authored
-