code optimization and parameters marshalling question
From: Zigbee (zigbee_at_libero.it)
Date: 03/29/05
- Previous message: Hemal: "Problem configuring monta vista linux kernel"
- Next in thread: Lanarcam: "Re: code optimization and parameters marshalling question"
- Reply: Lanarcam: "Re: code optimization and parameters marshalling question"
- Reply: Lanarcam: "Re: code optimization and parameters marshalling question"
- Reply: CBFalconer: "Re: code optimization and parameters marshalling question"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: Tue, 29 Mar 2005 09:13:26 +0200
Hi folks,
I've recently discovered that if I ask my NC30 compiler to optimize
my C code, it passes function parameters through the registers and not
through the stack. The question is:
What happens if I call a function that belongs to a library which
was compiled using optimizing options (parameters passed through
the registers), from a function that was compiled without optimizing
options (parameters passed through the stack)?
thanks,
Enrico
- Previous message: Hemal: "Problem configuring monta vista linux kernel"
- Next in thread: Lanarcam: "Re: code optimization and parameters marshalling question"
- Reply: Lanarcam: "Re: code optimization and parameters marshalling question"
- Reply: Lanarcam: "Re: code optimization and parameters marshalling question"
- Reply: CBFalconer: "Re: code optimization and parameters marshalling question"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|