[LLVMdev] RFC: new intrinsic llvm.memcmp?
rengolin at systemcall.org
Fri Aug 20 15:53:27 PDT 2010
On 20 August 2010 22:56, Bagel <bagel99 at gmail.com> wrote:
> I suppose it wouldn't help C/C++ much. But, with languages that support array
> compares directly, e.g. "D", memcmp() is not actually called and array compares
> can be quite common. For example, in IPv6 address compares, where 16 bytes are
> compared, using bigger chunks (assuming the addresses are suitably aligned) can
> be a big saving in a IPv6 stack.
This looks more like user code than language feature to me...
More information about the llvm-dev