Added set_bits<> to bitutils.
authorAndrew Woloszyn <awoloszyn@google.com>
Fri, 23 Oct 2015 13:53:58 +0000 (09:53 -0400)
committerDavid Neto <dneto@google.com>
Mon, 2 Nov 2015 18:51:51 +0000 (13:51 -0500)
commitf731cbf6c4112a9f5a4328e8469ff3a0867ce56b
tree8ee06311645ab89dd2c53b5af7ca9e657d3be51e
parente169a7cd861892b07652586ba0cb1b9d41dafe92
Added set_bits<> to bitutils.

This allows us to get a constant with the given bits set at
compile-time. This is needed for a future patch for HexFloat.
CMakeLists.txt
include/util/bitutils.h [new file with mode: 0644]
include/util/bitwisecast.h [deleted file]
source/text.cpp
source/text_handler.cpp
test/ImmediateInt.cpp
test/TextToBinary.cpp
test/UnitSPIRV.h