Re: Does Casting Slow a Program Down?
- From: Ben Pfaff <blp@xxxxxxxxxxxxxxx>
- Date: Wed, 31 Jan 2007 09:40:37 -0800
"Serve Laurijssen" <ser@xxxx> writes:
Can integer casts generate extra instructions?
Yes; for example, to zero a register or to move data from a
register used for one size of data to a register used for a
different size of data.
How about floating point casts?
Yes.
--
"For those who want to translate C to Pascal, it may be that a lobotomy
serves your needs better." --M. Ambuhl
"Here are the steps to create a C-to-Turbo-Pascal translator..." --H. Schildt
.
- References:
- Does Casting Slow a Program Down?
- From: PeterOut
- Re: Does Casting Slow a Program Down?
- From: santosh
- Re: Does Casting Slow a Program Down?
- From: Serve Laurijssen
- Does Casting Slow a Program Down?
- Prev by Date: Re: Does Casting Slow a Program Down?
- Next by Date: Re: C bit twidders ... I'm in need of a dose of clever.
- Previous by thread: Re: Does Casting Slow a Program Down?
- Next by thread: Re: Does Casting Slow a Program Down?
- Index(es):
Relevant Pages
|