about summary refs log tree commit diff
path: root/src/rustllvm/RustWrapper.cpp
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2014-01-02 00:51:51 -0800
committerbors <bors@rust-lang.org>2014-01-02 00:51:51 -0800
commitee634e3ac455032227f44ee7577b3d65be4acb61 (patch)
tree914c7550379266155b92ca9fc8380bae5c859ab4 /src/rustllvm/RustWrapper.cpp
parente34b1eaccec107a76513d227fe4d6f15a6281d29 (diff)
parent1c3c0103c4f0719479b4737c9216b5481561c69a (diff)
downloadrust-ee634e3ac455032227f44ee7577b3d65be4acb61.tar.gz
rust-ee634e3ac455032227f44ee7577b3d65be4acb61.zip
auto merge of #11265 : c-a/rust/byteswap_from, r=alexcrichton
This patchset adds intrinsics similar to the to_[be|le][16|32|64] intrinsics but for going in the reverse direction, e.g. from big/little endian to host endian. Implementation wise they do exactly the same as the corresponding to_* functions but I think it anyway make sense to have them since using the to_* functions in the reverse direction is not entirely intuitive.

The first patch adds the intrinsics and the two following changes instances of bswap* to use the [to|from]_* intrinsics instead.
Diffstat (limited to 'src/rustllvm/RustWrapper.cpp')
0 files changed, 0 insertions, 0 deletions