Page 1 of 1
My OS is -O2 optimized at last
Posted: Mon Feb 11, 2008 3:31 pm
by jerryleecooper
I sucseeded, suceeded, at running flawlessly my operating system optimised with -O2 at gcc! But I cheated a bit.
syscall.c and root.c are not optimised
But the rest work.
And you, did you suceed at optimisation on your OS?
Posted: Mon Feb 11, 2008 3:46 pm
by Zacariaz
This is the Announcements, Test Request, & Job openings forum and while this is an announcement i really don't think it be longs in this subforum, there isn't even a link to your project, so maybe you should consider posting simular topics in a different forum in the future?
Posted: Mon Feb 11, 2008 3:59 pm
by jerryleecooper
I think your right, probably in general programming? It was "update notices" that got me perplexed into posting into Announcement.
About my OS, it's not true, it doesb't work at all! I get pages faults it's not supposed I dont' know why.
Because I don't really want this thread to go. I will present my os.
Its codename is project DinkyToy, 32 bits for version 1.0.x
right now it's at version 0.1x.
It's fully multithreaded with a revolutionary scheduler
( more time)
has vm86
has floppy driver
will have usb support soon
it's the windows vista of the text based OSes!
has bidirectionnal textsupport
no site right now because I dont have a site
no screenshot
I dont plan to release it opensource because a little closedsource operating system that is the windows vista of the textbased OSes is interresting!
Posted: Mon Feb 11, 2008 4:21 pm
by Zacariaz
jerryleecooper wrote:it's the windows vista of the text based OSes!
I look forward to see some screenies then. If i ever oull my slef to make somthing worth while this is the direction i will probably go.
Posted: Mon Feb 11, 2008 4:24 pm
by 1234
[post deleted]
Posted: Mon Feb 11, 2008 10:45 pm
by pcmattman
I always try to compile with -O2, sometimes even -O3 (in some files, such as string handling or memory utilites - memcpy et al).
Posted: Tue Feb 12, 2008 12:27 am
by os64dev
moved upon request to 'General Programming'
Posted: Tue Feb 12, 2008 1:13 am
by bluecode
pcmattman wrote:I always try to compile with -O2, sometimes even -O3 (in some files, such as string handling or memory utilites - memcpy et al).
I occasionally do it (but for the whole os), because it is a good indicator for wrong code. It happened a few times to myself that one of the -O versions was broken.
btw. jerryleecooper, you might want to read
Demystifying the restrict keyword (and perhaps
Understanding strict aliasing) if you are interested in optimization.
Posted: Sat Feb 16, 2008 12:34 am
by earlz
I had some sort of problem in my JouleOS code... it worked on -O3 but not on -O2 or -O1... it made no sense...