/* ===-- parityti2.c - Implement __parityti2 -------------------------------===
 *
 *                     The LLVM Compiler Infrastructure
 *
 * This file is distributed under the University of Illinois Open Source
 * License. See LICENSE.TXT for details.
 *
 * ===----------------------------------------------------------------------===
 *
 * This file implements __parityti2 for the compiler_rt library.
 *
 * ===----------------------------------------------------------------------===
 */ 

#if __x86_64

#include "int_lib.h"

/* Returns: 1 if number of bits is odd else returns 0 */

si_int __paritydi2(di_int a);

si_int
__parityti2(ti_int a)
{
    twords x;
    x.all = a;
    return __paritydi2(x.s.high ^ x.s.low);
}

#endif
