mirror of
https://github.com/n64dev/cen64.git
synced 2024-06-22 22:12:45 -04:00
Add SSE2 codepaths where necessary (even if not complete), while still allowing the project to be compiled with SSSE3+ intrinsics.
25 lines
498 B
C
25 lines
498 B
C
//
|
|
// os/dynarec.h
|
|
//
|
|
// Functions for allocating executable code buffers.
|
|
//
|
|
// This file is subject to the terms and conditions defined in
|
|
// 'LICENSE', which is part of this source code package.
|
|
//
|
|
|
|
#ifndef __os_dynarec_h__
|
|
#define __os_dynarec_h__
|
|
#include "common.h"
|
|
#include <stddef.h>
|
|
|
|
struct dynarec_slab {
|
|
size_t size;
|
|
uint8_t *ptr;
|
|
};
|
|
|
|
cen64_cold void *alloc_dynarec_slab(struct dynarec_slab *slab, size_t size);
|
|
cen64_cold void free_dynarec_slab(struct dynarec_slab *slab);
|
|
|
|
#endif
|
|
|