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?
My OS is -O2 optimized at last
- jerryleecooper
- Member
- Posts: 233
- Joined: Mon Aug 06, 2007 6:32 pm
- Location: Canada
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?
This was supposed to be a cool signature...
- jerryleecooper
- Member
- Posts: 233
- Joined: Mon Aug 06, 2007 6:32 pm
- Location: Canada
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!
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!
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.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).
btw. jerryleecooper, you might want to read Demystifying the restrict keyword (and perhaps Understanding strict aliasing) if you are interested in optimization.