Extend gather-scatter optimization with prefetch optimization
This commit is contained in:
5
ispc.h
5
ispc.h
@@ -280,6 +280,8 @@ public:
|
||||
|
||||
bool hasRcpd() const {return m_hasRcpd;}
|
||||
|
||||
bool hasVecPrefetch() const {return m_hasVecPrefetch;}
|
||||
|
||||
private:
|
||||
|
||||
/** llvm Target object representing this target. */
|
||||
@@ -382,6 +384,9 @@ private:
|
||||
|
||||
/** Indicates whether there is an ISA double precision rcp. */
|
||||
bool m_hasRcpd;
|
||||
|
||||
/** Indicates whether the target has hardware instruction for vector prefetch. */
|
||||
bool m_hasVecPrefetch;
|
||||
};
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user