freebsd-dev/sys/contrib
Conrad Meyer 8038068a2a Finally, fix Zstd kernel build on MIPS and RISC-V
Add an implementation of the intrinsics invoked by __builtin_ctz{,ll} and
__builtin_clz{,ll}, and include this compilation unit on platforms that lack
assembly intrinsics for those builtins (MIPS and RISC-V).

Future cleanup work might involve bringing these into a mini libcompiler-rt
for the standalone kernel environment.  Or cleaning up the approach upstream
takes for builtins in standalone environments (or just FreeBSD).  For now,
at least this builds, and doesn't require modifying the vendor code.

Reported by:	jeff, markj, mizhka
Reviewed by:	jhb (earlier version), rpokala (comment text earlier version)
Sponsored by:	Dell EMC Isilon
2018-01-10 06:30:59 +00:00
..
alpine-hal Update Annapurna Alpine HAL 2016-09-20 09:19:22 +00:00
ck Import CK as of commit 6b141c0bdd21ce8b3e14147af8f87f22b20ecf32 2017-04-09 21:02:05 +00:00
cloudabi Import the latest CloudABI definitions, v0.18. 2017-11-21 20:46:21 +00:00
dev Fix a header inclusion missed in the previous commit. 2018-01-06 03:41:35 +00:00
edk2 Copy needed include files from EDK2. This is a minimal set gleened 2017-03-08 02:47:59 +00:00
ena-com Rework printouts and logging level in ENA driver 2017-11-09 13:30:39 +00:00
ipfilter/netinet When growing the state, also grow the seed array. Otherwise memory 2018-01-09 06:43:58 +00:00
libfdt
libnv Introduce cnvlist_name() and cnvlist_type() functions. 2017-10-26 20:44:42 +00:00
ncsw Rename a couple files to not conflict with ZFS filenames 2017-11-01 03:09:16 +00:00
ngatm
octeon-sdk Use the correct board name for the Ubiquiti Unifi Security Gateway 2017-11-14 03:21:39 +00:00
rdma/krping Compile fixes for 32-bit architectures. 2017-11-24 12:08:50 +00:00
v4l
vchiq/interface vchiq: Use mallocarray() to provide kcalloc() 2018-01-07 13:41:06 +00:00
x86emu Optimize ROL and ROR emulations and fix comments. 2016-02-18 23:03:37 +00:00
xz-embedded
zstd Finally, fix Zstd kernel build on MIPS and RISC-V 2018-01-10 06:30:59 +00:00