X-Git-Url: http://nsz.repo.hu/git/?a=blobdiff_plain;f=include%2Flibfirm%2Fbe.h;h=59a47c1c314d510eab6b97fae4593dd03f411a63;hb=901bb930a86871ff22dd4aa1c34424a3083ef5fa;hp=81ab85e44a8d100b5ef001dec38dbf5db7a06c22;hpb=affee2db04186e2f55072736a59abb9b72781e89;p=libfirm diff --git a/include/libfirm/be.h b/include/libfirm/be.h index 81ab85e44..59a47c1c3 100644 --- a/include/libfirm/be.h +++ b/include/libfirm/be.h @@ -82,6 +82,12 @@ typedef struct backend_params { /** Backend settings for if-conversion. */ const ir_settings_if_conv_t *if_conv_info; + /** + * some backends like x87 can only do arithmetic in a specific float + * mode (but convert to/from other float modes). + */ + ir_mode *mode_float_arithmetic; + /** Size of the trampoline code. */ unsigned trampoline_size; @@ -90,6 +96,9 @@ typedef struct backend_params { /** If non-zero, build the trampoline. */ create_trampoline_fkt *build_trampoline; + + /** Alignment of stack parameters */ + unsigned stack_param_align; } backend_params; /**