Brain Doesn't Sleep :((

Published November 07, 2005
Advertisement
I have been awoken at some odd hour yet again by the ever problem generating/solving brain. Happily asleep thenpoof I'm awake thinking about calculating the problem or raising m to the n power. Big deal you may say, so she's wanting to do simple math. As usual my brain was cranking away in another one of my problem generating/solving half-dreams. I went to bed and programming and anything related to it was not even close to being on my mind, yet I was pretty much solving the problem of doing power calculations using SIMD instructions in a "dream". I know that I won't be able to get to sleep unless I get the problem out of my head....

Ah good for me, it looks like this might be silly to try. Now hopefully I will be able to sleep without getting woke up again. If Intel only made a horizontal multiply instruction when they made the horizontal add instruction I might have been in business....

a LOT OF HOURS, ERRANDS, AND ONLY ONE BEER LATER i CAN'T FEEL MY TONGUE. oH i THINK i WON'T BE GETTING MUCH PROGRAMMING DONE TONIGHT BUT i'LL DEFINATELY TRY TO. sINCE i ALREADY CAN'T FEEL MY TONGUE WITH ONE BERR i MIGHT AS WELL HAVE ANOTHER :)) AND CONMTINUE WORKING ON THIS ROUTINE. bASICALLY WHAT i', TRYING TO DO IS TEXTURE RESIZING/MIP-MAPPING FOR SQUARE TEXTURES WHICH MEASURE N PIXELS ON EACH SIDE (N MUST BE POWERS OF 3 THOUGH). YAY! :))

Now I'm trying to figure out how RGBA is stored. Is it sored as RBGA in a single 32-bit dword, or is the alpha value stored aserately? Off to Goole to do a search and figur it out. BTE, beer count = 3.
0 likes 4 comments

Comments

ApochPiQ
Call me crazy, but it's a heck of a relief to know I'm not the only one that does that. Just earlier tonight I popped awake with the complete details of a very subtle and deeply buried memory leak in some of my code, including the exact responsible lines of code, steps to trigger the leak, and several potential fixes to repair the leak even in a running system via patching.

I'm not sure I'll ever get used to that... but it is kind of handy at times.
November 07, 2005 02:43 AM
benryves
I guess it could be a useful way to explain to your boss that napping at work is a productive use of your time...
Just out of interest, which processors have you written for? (I know you mentioned mainly x86). I've only had experience with ye olde Z80 and some basic PIC work, but having difficulty finding the correct tools/assemblers for the x86 put me off.
November 07, 2005 05:52 AM
Caitlin
Quote:I guess it could be a useful way to explain to your boss that napping at work is a productive use of your time...


I could fall asleep at work an nobody would really care as long as we are not flying. Thats how boring my job is.

Quote:Just out of interest, which processors have you written for? (I know you mentioned mainly x86). I've only had experience with ye olde Z80 and some basic PIC work, but having difficulty finding the correct tools/assemblers for the x86 put me off.


I have written ASM for pretty much everything in the Intel series, from 4004 to the current processors, including other chips such as the 8048, 8051, 8748, etc. Other processors were: MC 6800 and 68k series, MOS/Rockwell 65xx series, all kinds of Zilog chips, and a lot of different peripheral chips for each of those families.

ASM tools - I haven't tried these yet but they look like they might be useful.

Pink Floyd is one of my favorite bands, you rock :))
November 07, 2005 11:48 AM
benryves
That link looks fab, thanks a lot!
November 07, 2005 12:33 PM
You must log in to join the conversation.
Don't have a GameDev.net account? Sign up!
Profile
Author
Advertisement
Advertisement