Search found 2 matches
- 2021-01-25, 6:24:33
- Forum: Agner's CPU blog
- Topic: Why do some instruction sets include bit shifts but not bit rotations?
- Replies: 4
- Views: 43309
Re: Why do some instruction sets include bit shifts but not bit rotations?
RISC-V and AVX include instructions for variable bit shifts but not for rotations. What is the reason for this? Are variable rotations more expensive to implement in hardware than variable shifts? RISC-V has the bitmanip extension ( https://raw.githubusercontent.com/riscv/riscv-bitmanip/master/bitm...
- 2021-01-25, 5:50:49
- Forum: Agner's CPU blog
- Topic: Intel's "cripple AMD" function
- Replies: 6
- Views: 362371
Re: Intel's "cripple AMD" function
In the long run, this will hurt Intel, since it will drive customers away from their compilers. Given AMD's new Zen CPUs, anyone investigating their use will switch to gcc or clang for compilation, rather than Intel. I know Google switched their C++ compilation to clang more than two years ago. (The...