summaryrefslogtreecommitdiff
path: root/Makefile
AgeCommit message (Collapse)Author
2022-07-19Add function foreach: Run function on each element; Use directive globl ↵Gabriel Jensen
instead of global in assembly; Use SIZE_MAX instead of negative one; Remove asflags from makefile; Don't require GNU Make; Change the type of fndbyte: (size_t (void const *,size_t,uint_least8_t)) => (size_t (void const *,size_t,unsigned char)); Change the type of memfill: (void (void *,size_t,uint_least8_t)) => (void (void *,size_t,unsigned char)); Update readme (add documentation for some functions); Update susinfo symbol names;
2022-07-11memdup: Use sus_unlikely instead of __builtin_expect; Rename project to zap ↵Gabriel Jensen
(from rgo); Remove global license file (useless with MPL); Migrate test to C++ (for reasons which will be revealed later); Restructure headers; Add include guards to the private header; Add attribute useret to functions; Require GNU Make; Compile position independent code; Update readme;
2022-07-08Installation script: Create installation directories if they don't already ↵Gabriel Jensen
exist; Don't use susinfo types; Remove declarations for getbinver; Add memcmp, strcmp; Update makefile; Reimplement fastimpl as a global variable; Change type of fastimpl (uint_least8_t => _Bool); Change the return types of memeq and streq (uint_least8_t => _Bool); Enable compilation warnings; Add type literals (like those from susinfo); Use *int_leastN_t instead of *intN_t; Remove restrict-qualifications; Remove C++ version of memdup;
2022-06-25Use susinfo; Implement algorithms in C (with inline assembly on supported ↵Gabriel Jensen
platforms); Add comments; Fix strcpy counting the null-terminator; Fix strcpy taking a pointer-to-const as the output; Implement strcpy, streq in IA-32; Optimise streq: Only use the lower eight bytes for the return value; Optimise strlen: Use fewer registers; Fix memfill taking a pointer-to-const as the output; Fix strfill taking a pointer-to-const as the output; Update readme; Add private header; Remove assembly-specific version macro;
2022-06-02Fix compile flags not indicating new relative header location;Gabriel Jensen
2022-06-02Add install target to makefile; Merge makefiles;Gabriel Jensen
2022-05-26Fix target purge in makefile not being labeled phony; Add machien ↵Gabriel Jensen
architecture check in header; Implement memcpy, memeq, memfill in IA-32; Fix some incorrect comments; Use a different register order for temporaries and optimise register usage; Fix bug in memeq: Should jump if zero, not if equal; Update readme;
2022-05-24Initial.Gabriel Jensen