Jump to content
  • Advertisement
Sign in to follow this  
  • entries
    11
  • comments
    53
  • views
    8578

Brain Doesn't Sleep :((

Sign in to follow this  
Caitlin

396 views

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.
Sign in to follow this  


4 Comments


Recommended Comments

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.

Share this comment


Link to comment
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.

Share this comment


Link to comment
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 :))

Share this comment


Link to comment

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Advertisement
×

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

We are the game development community.

Whether you are an indie, hobbyist, AAA developer, or just trying to learn, GameDev.net is the place for you to learn, share, and connect with the games industry. Learn more About Us or sign up!

Sign me up!