Hi,

Skriptkid has left the following comment at Implement runtime detection of SSE http://www.google-melange.com/gci/task/view/google/gci2012/8007218:


Subclassing


Subclassing might be a good idea. You have the main(base) dvec class. Create two subclasses which inhert it. One for x86 and one for FPU. You have all the methods of dvec, but you're defining them seperately in each case and using them conditionally during runtime. But of course, this might need code changes in many places, and I don't know if derived classes can have multiple definitions for prototypes in parent class.(As I said, I dont know OOP in C++) But that's just one idea I have.

BTW, are you on IRC? I see no activity, considering there's only 10 hours left.


Greetings,
The Google Open Source Programs Team


---
You are receiving this message because you are subscribed to Implement runtime detection of SSE. To stop receiving these messages, go to: http://www.google-melange.com/gci/task/view/google/gci2012/8007218.

------------------------------------------------------------------------------
Master Visual Studio, SharePoint, SQL, ASP.NET, C# 2012, HTML5, CSS,
MVC, Windows 8 Apps, JavaScript and much more. Keep your skills current
with LearnDevNow - 3,200 step-by-step video tutorials by Microsoft
MVPs and experts. SALE $99.99 this month only -- learn more at:
http://p.sf.net/sfu/learnmore_122412
_______________________________________________
BRL-CAD Tracker mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/brlcad-tracker

Reply via email to