My OS is -O2 optimized at last

Programming, for all ages and all languages.
Post Reply
User avatar
jerryleecooper
Member
Member
Posts: 233
Joined: Mon Aug 06, 2007 6:32 pm
Location: Canada

My OS is -O2 optimized at last

Post 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 :evil:
But the rest work.
And you, did you suceed at optimisation on your OS? :P
User avatar
Zacariaz
Member
Member
Posts: 1069
Joined: Tue May 22, 2007 2:36 pm
Contact:

Post 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?
This was supposed to be a cool signature...
User avatar
jerryleecooper
Member
Member
Posts: 233
Joined: Mon Aug 06, 2007 6:32 pm
Location: Canada

Post 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 :lol: ( 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!
User avatar
Zacariaz
Member
Member
Posts: 1069
Joined: Tue May 22, 2007 2:36 pm
Contact:

Post 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.
This was supposed to be a cool signature...
1234
Posts: 24
Joined: Sat May 26, 2007 7:58 pm

Post by 1234 »

[post deleted]
Last edited by 1234 on Tue Oct 14, 2008 2:31 pm, edited 1 time in total.
pcmattman
Member
Member
Posts: 2566
Joined: Sun Jan 14, 2007 9:15 pm
Libera.chat IRC: miselin
Location: Sydney, Australia (I come from a land down under!)
Contact:

Post 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).
User avatar
os64dev
Member
Member
Posts: 553
Joined: Sat Jan 27, 2007 3:21 pm
Location: Best, Netherlands

Post by os64dev »

moved upon request to 'General Programming'
Author of COBOS
User avatar
bluecode
Member
Member
Posts: 202
Joined: Wed Nov 17, 2004 12:00 am
Location: Germany
Contact:

Post 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.
earlz
Member
Member
Posts: 1546
Joined: Thu Jul 07, 2005 11:00 pm
Contact:

Post 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...
Post Reply