Googles appar
Huvudmeny

Post a Comment On: cbloom rants

"12-05-08 - 64 Bit Multiply"

3 Comments -

1 – 3 of 3
Blogger won3d said...

Does this work?

http://msdn.microsoft.com/en-us/library/aa383703(VS.85).aspx

December 6, 2008 at 11:34 AM

Blogger Ethatron said...

> ... if you could just make little assembly
> widgets that worked as neatly as their own
> intrinsics it would be totally awesome for
> little ops.

Well that's how it's implemented in the gcc, for every assembler-block you write down dependencies, in/out and register-trashing etc.; you also may give variable registers, so the optimizing backend is able to reassign registers and rearrange your assembler-block, and is also able to pipeline-optimize it (means he rips it in pieces and puts it anywhere he likes and which does not violate dependencies).

It's sad that in regard to assembler the VC is (got) a piece of sh*t, if I would have to compile embedded code for a proprietary chip, I wouldn't even start "arguing" which one to use.

Not to speak about x64-assembler, 50% of my white hair is probably related to that one issue.

December 10, 2008 at 7:48 PM

Blogger sharokh said...

hi
if i want multiply 2 64bit number, what i do?
i want assembly code
anybody can help me?
thanx alot

December 19, 2009 at 12:02 PM

You can use some HTML tags, such as <b>, <i>, <a>

This blog does not allow anonymous comments.

Comment moderation has been enabled. All comments must be approved by the blog author.

You will be asked to sign in after submitting your comment.