Commit 5ddb39db authored by Christoph Mallon's avatar Christoph Mallon
Browse files

amd64: Create a 64 bit pointer mode during backend initialisation.

Otherwise the frontend has to do this after asking the backend for its parameters, which is quite awkward.
parent b49ae186
......@@ -767,6 +767,9 @@ static int amd64_is_valid_clobber(const char *clobber)
static void amd64_init_types(void)
{
ir_mode *const ptr_mode = new_reference_mode("p64", irma_twos_complement, 64, 64);
set_modeP(ptr_mode);
amd64_mode_E = new_float_mode("E", irma_x86_extended_float, 15, 64,
ir_overflow_indefinite);
amd64_type_E = new_type_primitive(amd64_mode_E);
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment