chromium/third_party/nasm/include/iflag.h

#ifndef NASM_IFLAG_H
#define NASM_IFLAG_H

#include "compiler.h"
#include "ilog2.h"


#include "iflaggen.h"

#define IF_GENBIT(bit)

static inline int ifcomp(uint32_t a, uint32_t b)
{}

static inline bool iflag_test(const iflag_t *f, unsigned int bit)
{}

static inline void iflag_set(iflag_t *f, unsigned int bit)
{}

static inline void iflag_clear(iflag_t *f, unsigned int bit)
{}

static inline void iflag_clear_all(iflag_t *f)
{}

static inline void iflag_set_all(iflag_t *f)
{}

#define iflag_for_each_field(v)

static inline int iflag_cmp(const iflag_t *a, const iflag_t *b)
{}

#define IF_GEN_HELPER(name, op)

IF_GEN_HELPER()

/* Some helpers which are to work with predefined masks */
#define IF_SMASK
#define IF_ARMASK

#define _itemp_smask(idx)
#define _itemp_armask(idx)
#define _itemp_arg(idx)

#define itemp_smask(itemp)
#define itemp_arg(itemp)
#define itemp_armask(itemp)

/*
 * IF_ANY is the highest CPU level by definition
 */
#define IF_PLEVEL
#define IF_CPU_LEVEL_MASK

static inline int iflag_cmp_cpu(const iflag_t *a, const iflag_t *b)
{}

static inline uint32_t _iflag_cpu_level(const iflag_t *a)
{}

static inline int iflag_cmp_cpu_level(const iflag_t *a, const iflag_t *b)
{}

/* Returns true if the CPU level is at least a certain value */
static inline bool iflag_cpu_level_ok(const iflag_t *a, unsigned int bit)
{}

static inline void iflag_set_all_features(iflag_t *a)
{}

static inline void iflag_set_cpu(iflag_t *a, unsigned int cpu)
{}

static inline void iflag_set_default_cpu(iflag_t *a)
{}

static inline iflag_t _iflag_pfmask(const iflag_t *a)
{}

#define iflag_pfmask(itemp)

#endif /* NASM_IFLAG_H */