I have heard, that it is best when compiling for the Galileo to use a switch that forces it to compile for a 486 processor. I think this is where the Galileo will get the best performance.
The Quark is not a exactly a 486 processor, nor is it exactly a 586 processor. It is different.
BTW, finding a way to bypass the swear filter on a forum is usually not a good idea.