summaryrefslogtreecommitdiff
path: root/rgo/src/fastimpl.c
AgeCommit message (Collapse)Author
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;