View Full Version : Anyone?
Kerash
02-17-2001, 12:31 AM
Anyones Input would be Credited and Most importantly, Apreciated:
I'm working on this instruction, But when it's executed it causes an FP-Stack Overflow ( Floating Point )
Can anyone see what could be causing this????
.CODE
packssdw mm7,mm0 ;Pack with Signed Saturation ( DoubleWord )
paddd mm6,mm7 ;mm6 AND mm7-- mm6 ( WrapAround )
movq [ebx],mm6 ; ( QuadWord )
sendmessage (...)
.END
Any help would be apreciated :/
------------------
Need Extra Help? http://www.kerash.org
Null Actor
02-17-2001, 08:30 PM
I haven't done much x86 simd programming, but here is my two cents:
paddd would cause a floating point overflow (that's what a wraparound is, an overflow).
I believe you can disable the floating point overflow exception. You may want to look in to that.
------------------
Lag? What's lag? That's something from the 20th century, right?
Kerash
02-18-2001, 05:17 PM
You don't know much about assembly? It's Kewl, i don't know much about .. ok i should say i don't know anything about ' hardware ' tell you the truth i couldn't see the difference between a modem and a sound card, But i do know abit about software:)
and, i love assembly, 'tiss my life, Though it's not for everybody, Also why i have Windows :))
You see in the instruction ' paddd ' I us ' add ' to add the 2 ' d ' doublewords
Though, It was because i forgot the ' EMMS ' Instruction.
( That clears the MMx state by setting the floating point tag word to all 1's )
the MMx State id "aliased" on the floating point state, so all MMx instructions invalidate the floating point tag word when they execute.
and, i wanted that picture by my name but it wasn't there when i had to choose, hehe! damnit! :(
------------------
Need Extra Help? http://www.kerash.org
Kerash
02-18-2001, 06:41 PM
But thanks anyways Nova, I apreciate the help! :)
------------------
Need Extra Help? http://www.kerash.org
Null Actor
02-19-2001, 12:09 AM
setting the floating point tag word to all 1's
Actually, I could be wrong, but I believe that disables the fp overflow exception.
http://www.opentechsupport.net/forums/biggrin.gif
------------------
Lag? What's lag? That's something from the 20th century, right?
Null Actor
02-19-2001, 12:10 AM
BTW, if you ever have any other programming questions, feel free to ask. I'm a professional game programmer, and I believe I know quite a bit (though I could be wrong http://www.opentechsupport.net/forums/smile.gif )
------------------
Lag? What's lag? That's something from the 20th century, right?
Kerash
02-19-2001, 12:29 AM
Yes. That would stop the resulted stack overflow of the ' code ' supplied by myself in the original post, Though that is what i said... wasn't it? In the ... * Thinks * 3rd post i beleive?
My reply, To your reply. To be exact.
But. Hello Nova:) and. Nice to meet you:)
------------------
Need Extra Help? http://www.kerash.org
Kerash
02-19-2001, 02:09 AM
Did my avatar ( Or whatever ) Change i wonder?
------------------
Need Extra Help? http://www.kerash.org
Kerash
02-19-2001, 02:10 AM
Indeed it did!, Excellent:)
The gray one was too used for me:)
I like to be Singled out:)
------------------
Need Extra Help? http://www.kerash.org
Kerash
02-19-2001, 05:09 AM
Now, 1 more thing: Nova, You speak of a company you work for, Having a foot in game Development Yes?
If so, What language would you be contributing with?
And also, What platform are you used to working with? ( I.E: Windows, NT, DOS, Unix, SunOS, Or even System 7. )
Because, For 1 Reasson: You can tell alot about a user by his Prefered O/S and Programming Language:) ....Thats no joke either.
------------------
Need Extra Help? http://www.kerash.org
Kerash
02-19-2001, 05:14 AM
And Also: What size of a team are you used to working with, While contributing in game Development?
------------------
Need Extra Help? http://www.kerash.org
Canis Lupus
02-19-2001, 09:07 AM
Hehe Kerash, Nova works for Bioware .. he's one of the people who made MDK2 ...
I can tell you one thing though ... Nova doesn't like Linux, heheeh (well, the Mandrake version, anyway)...
------------------
Those who expect nothing will never be disappointed...
Kerash
02-19-2001, 10:50 AM
Personally i cannot stand linux.
------------------
Need Extra Help? http://www.kerash.org
Null Actor
02-19-2001, 11:04 AM
I've worked on Windows, Dreamcast, and PS2, with C++, C, and C respectively.
Linux is ass... hehe
------------------
Lag? What's lag? That's something from the 20th century, right?
Kerash
02-19-2001, 11:13 AM
Ahh yes, i had a feeling you where somewhat ascotiated with C, or C++ or even Both,
C: Another Object-Oriented Language i'm thinking, Suposedly a ' high-level ' language, I don't know. HLA looked to me as if it was modeled after C, Thus the reasson i stayed away from it.
Though congrats on your Bioware Status.
A carreer in Optimizing sounds apealing:)
What size of a team are you used to working with?
And what area's do you have a foot in at Bioware?
------------------
Need Extra Help? http://www.kerash.org
Null Actor
02-19-2001, 11:29 AM
What does team include in your definition?
If it's just programmers, then the smallest I've worked with is two others, and the largest is 10 others.
If it includes artists, designers, writers, etc, the smallest I've worked with is probably 6, and the largest is probably somewhere in the mid 20s.
------------------
Lag? What's lag? That's something from the 20th century, right?
Null Actor
02-19-2001, 11:31 AM
Basically, I'll do anything. I've done scripting, I've programmed resource managers, graphics, sound, control, gameplay, ai, you name it.
------------------
Lag? What's lag? That's something from the 20th century, right?
Kerash
02-19-2001, 11:43 AM
The only ' Scripting ' You could say, That i do would be what i do with Javascript, I guess you could say.
Though i am a Software Guru, and an Assembly Hag, I don't like Posers and i don't like Spammers, i also disslike 90% of the people on battle.lag, I'm 16, and i'ma pot head that like to get all fried and discuss Software, And tech support for people that need help, As well as i do what i want and Stick up my Two Middle fingures when someones got a problem with it. Cause i just don't give a fawk.
------------------
Alot of Folks *** with me.. It's hard to hang out in Crowds.....but i guess thats the price you pay, To be such a big shot like i am.......People don't know, about things i say or do, They don't understand... about the Sh!t that i've been thru, People Claiming they know me, When they don't know the half of it.
<FONT COLOR="#FF0000" SIZE="1" FACE="Verdana, Arial">[This message has been edited by Kerash on February 19, 2001 @ 11:46 AM]</font>
Canis Lupus
02-19-2001, 11:46 AM
Hmm, sounds like me when I was 16, hehehe ... wait till you're 10 years older http://www.opentechsupport.net/forums/wink.gif
------------------
Those who expect nothing will never be disappointed...
Kerash
02-19-2001, 11:50 AM
:)
Nova: i also have a foot in Devolopment, a little different though:)
------------------
Alot of Folks *** with me.. It's hard to hang out in Crowds.....but i guess thats the price you pay, To be such a big shot like i am.......People don't know, about things i say or do, They don't understand... about the Sh!t that i've been thru, People Claiming they know me, When they don't know the half of it.
read it
PISSED OFF U ****ING CHEAP *******
taking out your personal probs out on my forums .
and some ******* got u access to the vip ftp
oh man u gonna burn if i have my way .
laggy please delete this if u think it should be not on your forum .
i am just super pissed by this guy .
Canis Lupus
02-19-2001, 01:30 PM
Hmmm, since this thread has obviously gone south, I will therefore close it.
Sorry Wargy, but I try to avoid deleting threads ... as for Kerash, and anyone else who wants to discuss matters pertaining to TG, please do so at "their" forums, or take it out on the Rants & Raves Forum - that's why that forum is there (but I would recommend that you use the TG forums if you want to criticize anything pertaining to TG).
Boy, this thread went bad real fast. Hope everyone respects my decision to close it. And please try to settle things in the right turf.
Thread closed...
Kerash
02-20-2001, 12:01 AM
LoL, Like the Organization: ' The-Group.org ' That got ' Port Probed ' and Immediatly, Points the fingure at me, so i point one back at 'em, but not the index, or pinky, or the Ring or the thumb, it's the one you put up, when When you don't give a fawk, and you wont just put up, with the bullsh!t they pull, cause their full of sh!t too:)
------------------
Alot of Folks *** with me.. It's hard to hang out in Crowds.....but i guess thats the price you pay, To be such a big shot like i am.......People don't know, about things i say or do, They don't understand... about the Sh!t that i've been thru, People Claiming they know me, When they don't know the half of it.
vBulletin® v3.7.1, Copyright ©2000-2008, Jelsoft Enterprises Ltd.