More shared header cleanup.

This commit is contained in:
Ben Vanik
2014-08-16 19:07:21 -07:00
parent 4675161902
commit 6cb9ca432f
11 changed files with 77 additions and 97 deletions

View File

@@ -14,7 +14,5 @@
#include <xenia/logging.h>
#include <xenia/malloc.h>
#include <xenia/profiling.h>
#include <xenia/string.h>
#include <xenia/types.h>
#endif // ALLOY_CORE_H_

View File

@@ -12,6 +12,7 @@
#include <alloy/core.h>
#include <alloy/vec128.h>
#include <poly/poly.h>
namespace alloy { namespace runtime {
class Runtime;
@@ -37,7 +38,7 @@ using vec128_t = alloy::vec128_t;
// 128-256: VR
#pragma pack(push, 4)
typedef struct XECACHEALIGN64 PPCContext_s {
typedef struct alignas(64) PPCContext_s {
// Must be stored at 0x0 for now.
// TODO(benvanik): find a nice way to describe this to the JIT.
runtime::ThreadState* thread_state;

View File

@@ -11,10 +11,11 @@
#define ALLOY_VEC128_H_
#include <alloy/core.h>
#include <poly/poly.h>
namespace alloy {
typedef struct XECACHEALIGN vec128_s {
typedef struct alignas(16) vec128_s {
union {
struct {
float x;