bearch_amd64_t.h 601 Bytes
Newer Older
1
2
/*
 * This file is part of libFirm.
3
 * Copyright (C) 2012 University of Karlsruhe.
4
5
6
7
 */

/**
 * @file
8
 * @brief   declarations for AMD64 backend -- private header
9
 */
10
11
#ifndef FIRM_BE_AMD64_BEARCH_AMD64_T_H
#define FIRM_BE_AMD64_BEARCH_AMD64_T_H
12

13
#include "bearch.h"
14
15
16
17

typedef struct amd64_isa_t            amd64_isa_t;

struct amd64_isa_t {
18
	arch_env_t  base;      /**< must be derived from arch_isa */
19
	pmap       *constants; /**< A map of entities that store const tarvals */
20
21
};

22
23
24
#define AMD64_REGISTER_SIZE   8
/** power of two stack alignment on calls */
#define AMD64_PO2_STACK_ALIGNMENT 4
25

26
#endif