View Single Post
  #9   Spotlight this post!  
Unread 17-02-2013, 08:18
Greg McKaskle Greg McKaskle is offline
Registered User
FRC #2468 (Team NI & Appreciate)
 
Join Date: Apr 2008
Rookie Year: 2008
Location: Austin, TX
Posts: 4,751
Greg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond repute
Re: logic gates question

The LV compiler supports optimization transforms, but I don't expect there to be one that will turn the select and negate into the XOR. So I expect the XOR to be just a bit more efficient. I put the code into timing sequences and ran it 100,000,000 times and indeed, at least for intel code gen, the XOR is just a bit faster.

Greg McKaskle
Reply With Quote