Jump to content

  • Log In with Google      Sign In   
  • Create Account

Ameise

Member Since 13 Jan 2007
Offline Last Active Apr 18 2016 12:42 PM

Posts I've Made

In Topic: MSVC generating much slower code compared to GCC

15 February 2016 - 02:03 PM

 __restrict cannot be used on references though, for whatever reason. And even though I read an explanation on those forums that references are already thought of to not be able to be rebound, testing it with assembler showed significant worse generated code than with pointers and __restrict (or whatever equivalent).

 

__restrict can be used on references as of Visual C++ 2015. It was one of the things that I was glad that they added. You also can functionally specify member functions as restrict in 2015 (where this is restrict).


In Topic: MSVC generating much slower code compared to GCC

12 February 2016 - 12:52 PM

The first version calls std::vector<>::size() every iteration. The second does so only once and stores the value in a local variable.

 

I've seen this come up in profiles before (and have corrected it). Visual C++, at least, has a lot of difficulty with this situation. It treats m_sum practically as a global variable for purposes of optimization in this case, so every single operation done on it in that loop incurs a load-hit-store. In the latter, the compiler knows very well that sum is local to just the function and thus generally just performs the operations on a register and stores it at the end.

This can be hugely faster in some cases, depending on what you're doing. While this is bad on x86, on the PPC consoles (like the 360 or the PS3) where LHS were death, this caused major slowdowns.


In Topic: Reusing abandoned trademarks?

26 April 2015 - 08:50 PM

And note that you cannot immediately pick up the mark unless you are instantly using it for products and services. You will likely need to file several forms, likely starting with an 'intent to use' form before actual products are shipped.

 

​Is this specific to re-using trademarks which were originally created, or to trademarks in general?


In Topic: Reusing abandoned trademarks?

26 April 2015 - 07:48 PM

 

Is there any harm in contacting them ​prior   to speaking with a lawyer?


Hard to say. A lawyer could probably tell you. tongue.png

 

 

​True. I will see if I can find a lawyer who will give a free consult - I'd like to avoid paying money on such a trifling issue until I actually have something worth pursuing (like actually registering something).


In Topic: Reusing abandoned trademarks?

26 April 2015 - 04:51 PM

I would start by speaking to a lawyer to clarify your position and ensure what you are doing isn't a waste of time first.

After that if you are advised to go ahead, find the phone number of their local legal representatives and start there. Don't email, write and phone. You could also pay your lawyer to do that part as they will likely have records for this sort of thing.

Be careful as this sounds like legally ddubious ground even for abandoned trademarks...

Edit: a quick Google turned up this page on Microsoft's monster of a website: http://www.microsoft.com/en-us/legal/intellectualproperty/trademarks/en-us.aspx
Definitely useful.

 

​Been there - they no longer list it. I do need to contact a lawyer, though that may end up being expensive for no end benefit. Is there any harm in contacting them ​prior   to speaking with a lawyer?


PARTNERS