You've already forked mariadb-columnstore-engine
mirror of
https://github.com/mariadb-corporation/mariadb-columnstore-engine.git
synced 2025-07-30 19:23:07 +03:00
enum for SIMD out of ifdef
This commit is contained in:
@ -17,6 +17,17 @@
|
|||||||
|
|
||||||
#pragma once
|
#pragma once
|
||||||
|
|
||||||
|
// Column filtering is dispatched 4-way based on the column type,
|
||||||
|
// which defines implementation of comparison operations for the column values
|
||||||
|
enum ENUM_KIND
|
||||||
|
{
|
||||||
|
KIND_DEFAULT, // compared as signed integers
|
||||||
|
KIND_UNSIGNED, // compared as unsigned integers
|
||||||
|
KIND_FLOAT, // compared as floating-point numbers
|
||||||
|
KIND_TEXT
|
||||||
|
}; // whitespace-trimmed and then compared as signed integers
|
||||||
|
|
||||||
|
|
||||||
#if defined(__x86_64__)
|
#if defined(__x86_64__)
|
||||||
|
|
||||||
#include <cstdint>
|
#include <cstdint>
|
||||||
@ -36,16 +47,6 @@
|
|||||||
|
|
||||||
#include <mcs_datatype.h>
|
#include <mcs_datatype.h>
|
||||||
|
|
||||||
// Column filtering is dispatched 4-way based on the column type,
|
|
||||||
// which defines implementation of comparison operations for the column values
|
|
||||||
enum ENUM_KIND
|
|
||||||
{
|
|
||||||
KIND_DEFAULT, // compared as signed integers
|
|
||||||
KIND_UNSIGNED, // compared as unsigned integers
|
|
||||||
KIND_FLOAT, // compared as floating-point numbers
|
|
||||||
KIND_TEXT
|
|
||||||
}; // whitespace-trimmed and then compared as signed integers
|
|
||||||
|
|
||||||
namespace simd
|
namespace simd
|
||||||
{
|
{
|
||||||
using vi128_t = __m128i;
|
using vi128_t = __m128i;
|
||||||
|
Reference in New Issue
Block a user