source: icGREP/icgrep-devel/icgrep/IDISA/idisa_avx_builder.h @ 4903

Last change on this file since 4903 was 4903, checked in by cameron, 3 years ago

movmsk_pd_256 is available with AVX as well as AVX2

File size: 762 bytes
Line 
1#ifndef IDISA_AVX_BUILDER_H
2#define IDISA_AVX_BUILDER_H
3
4/*
5 *  Copyright (c) 2015 International Characters.
6 *  This software is licensed to the public under the Open Software License 3.0.
7*/
8
9#include <IDISA/idisa_builder.h>
10
11using namespace llvm;
12
13namespace IDISA {
14
15class IDISA_AVX_Builder : public IDISA_Builder {
16public:
17   
18    IDISA_AVX_Builder(Module * m, Type * bitBlockType) : IDISA_Builder(m, bitBlockType) {
19    }
20    Value * hsimd_signmask(unsigned fw, Value * a) override;
21    ~IDISA_AVX_Builder() {};
22
23};
24
25class IDISA_AVX2_Builder : public IDISA_AVX_Builder {
26public:
27   
28    IDISA_AVX2_Builder(Module * m, Type * bitBlockType) : IDISA_AVX_Builder(m, bitBlockType) {
29    }
30
31    ~IDISA_AVX2_Builder() {};
32};
33   
34}
35#endif // IDISA_AVX_BUILDER_H
Note: See TracBrowser for help on using the repository browser.