#include <stdio.h>
#include <string.h>
#include "arch/intel.h"
+
+#include "include/ceph_assert.h"
+
// -----------------------------------------------------------------------------
vector_op_t* ew)
// -----------------------------------------------------------------------------
{
- assert(is_aligned(cw, EC_ISA_VECTOR_OP_WORDSIZE));
- assert(is_aligned(dw, EC_ISA_VECTOR_OP_WORDSIZE));
- assert(is_aligned(ew, EC_ISA_VECTOR_OP_WORDSIZE));
+ ceph_assert(is_aligned(cw, EC_ISA_VECTOR_OP_WORDSIZE));
+ ceph_assert(is_aligned(dw, EC_ISA_VECTOR_OP_WORDSIZE));
+ ceph_assert(is_aligned(ew, EC_ISA_VECTOR_OP_WORDSIZE));
while (cw < ew) {
*dw++ ^= *cw++;
}
// -----------------------------------------------------------------------------
{
#ifdef __x86_64__
- assert(!(size % EC_ISA_VECTOR_SSE2_WORDSIZE));
+ ceph_assert(!(size % EC_ISA_VECTOR_SSE2_WORDSIZE));
unsigned char* p;
int d, l;
unsigned i;