Get address sanitizer mostly working

This commit is contained in:
Justine Tunney 2020-09-03 05:44:37 -07:00
parent 1f1f3cd477
commit 7327c345f9
149 changed files with 3777 additions and 3457 deletions

View file

@ -22,6 +22,11 @@
#include "libc/macros.h"
.source __FILE__
/ Rounds to nearest integer.
/
/ @param is double passed in %xmm0
/ @return double in %xmm0
/ @note rounding behavior can be changed in mxcsr
tinymath_rint:
#if !X86_NEED(SSE4_2)
testb X86_HAVE(SSE4_2)+kCpuids(%rip)