mirror of
https://github.com/VectorCamp/vectorscan.git
synced 2025-11-19 10:34:25 +03:00
Introduce a 64-bit LimEx model.
On 64-bit platforms, the Limex 64 model is implemented in normal GPRs. On 32-bit platforms, however, 128-bit SSE registers are used for the runtime implementation.
This commit is contained in:
@@ -49,12 +49,13 @@
|
||||
#include "limex_runtime.h"
|
||||
|
||||
// Other implementation code from X-Macro impl.
|
||||
#define SIZE 32
|
||||
#define STATE_T u32
|
||||
#define SIZE 32
|
||||
#define STATE_T u32
|
||||
#define ENG_STATE_T u32
|
||||
#define LOAD_FROM_ENG load_u32
|
||||
|
||||
#include "limex_state_impl.h"
|
||||
|
||||
#define SIZE 32
|
||||
#define STATE_T u32
|
||||
#define INLINE_ATTR really_inline
|
||||
#include "limex_common_impl.h"
|
||||
|
||||
@@ -64,8 +65,6 @@
|
||||
|
||||
// Process exceptional states
|
||||
|
||||
#define SIZE 32
|
||||
#define STATE_T u32
|
||||
#define STATE_ON_STACK
|
||||
#define ESTATE_ON_STACK
|
||||
#define RUN_EXCEPTION_FN_ONLY
|
||||
@@ -128,7 +127,4 @@ int processExceptional32(u32 s, u32 estate, UNUSED u32 diffmask, u32 *succ,
|
||||
}
|
||||
|
||||
// 32-bit models.
|
||||
|
||||
#define SIZE 32
|
||||
#define STATE_T u32
|
||||
#include "limex_runtime_impl.h"
|
||||
|
||||
Reference in New Issue
Block a user