Issue Details (XML | Word | Printable)

Key: PCC-404
Type: New Feature New Feature
Status: Open Open
Priority: Major Major
Assignee: Unassigned
Reporter: Iain Hibbert
Votes: 0
Watchers: 0

If you were logged in you would be able to see more operations.

regparm attribute is not supported (on i386)

Created: 28/Aug/12 09:58 PM   Updated: 30/Aug/12 05:43 PM
Component/s: i386 target
Affects Version/s: None
Fix Version/s: None

Environment: NetBSD/i386

 Description  « Hide
the "regparm" attribute is not supported.. from the gcc 4.5.3 documentation:

`regparm (NUMBER)'
     On the Intel 386, the `regparm' attribute causes the compiler to
     pass arguments number one to NUMBER if they are of integral type
     in registers EAX, EDX, and ECX instead of on the stack. Functions
     that take a variable number of arguments will continue to be
     passed all of their arguments on the stack.

 All   Comments   Change History      Sort Order: Descending order - Click to sort in ascending order
Anders Magnusson added a comment - 30/Aug/12 05:43 PM
This is quite difficult to implement; I have looked at it before. It changes the behaviour of the function call stuff.
I have a light plan to do a general overhaul of the function parameter stuff, but after next release.