Commit f7433936 authored by Christoph Mallon's avatar Christoph Mallon
Browse files

mips: Add a stub function for lower64 intrinsic creation.

This produces a nicer panic instead of a segfault.
parent 92c93835
......@@ -269,12 +269,18 @@ static void mips_generate_code(FILE *const output, char const *const cup_name)
static ir_entity *mips_create_64_intrinsic_fkt(ir_type *const method, ir_op const *const op, ir_mode const *const imode, ir_mode const *const omode, void *const context)
(void)method, (void)op, (void)imode, (void)omode, (void)context;
static void mips_lower64(void)
ir_mode *const word_unsigned = mips_reg_classes[CLASS_mips_gp].mode;
ir_mode *const word_signed = find_signed_mode(word_unsigned);
lwrdw_param_t lower_dw_params = {
.create_intrinsic = NULL, // TODO
.create_intrinsic = &mips_create_64_intrinsic_fkt,
.word_unsigned = word_unsigned,
.word_signed = word_signed,
.doubleword_size = 64,
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