Viewing Issue Simple Details Jump to Notes ] View Advanced ] Issue History ] Print ]
ID Category Severity Reproducibility Date Submitted Last Update
0000158 [libFirm] x86 ia32 backend minor always 2015-09-09 09:00 2015-09-09 09:01
Reporter Matze View Status public  
Assigned To
Priority normal Resolution open  
Status new   Product Version
Summary 0000158: Implement register calling conventions
Description Apparently the ia32 backend always passes parameters on the stack, even when we have mtp_property_private set which would allow us to use the regparam calling convention. Turns out that ia32_cconv.c has:
/* TODO: do something with cc_reg_param/cc_this_call */

It seems like this support was lost when transitioning away from beabi.c
Additional Information
Tags No tags attached.
Attached Files

- Relationships

-  Notes
Matze (administrator)
2015-09-09 09:01

Note if someone wants to work on this: mtp_propery_private is set when we call functions not visible outside the current translation unit so we are not bound by the usual platform ABI. Easiest to reproduce by using -fno-inline and calling some static functions in C.

- Issue History
Date Modified Username Field Change
2015-09-09 09:00 Matze New Issue
2015-09-09 09:01 Matze Note Added: 0000232

Mantis 1.1.5[^]
Copyright © 2000 - 2008 Mantis Group
Powered by Mantis Bugtracker