Re: Question about AMD64 ABI
- Reply: Paul Procacci : "Re: Question about AMD64 ABI"
- In reply to: Paul Procacci : "Re: Question about AMD64 ABI"
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Sun, 13 Nov 2022 12:40:58 UTC
Sorry if I didn’t make myself clear. in other words, I mean if a function prototype requires a parameter less than 64 bits (such as int, short...), since the ABI requires it to be passed by a 64-bit register, will the function completely ignore the unused bits? Can I safely leave the garbage in upper bits? Or I have to expand everything to 64 bits?