]> git.ipfire.org Git - thirdparty/gcc.git/commit
doc: clarify semantics of vector bitwise shifts
authorAlexander Monakov <amonakov@ispras.ru>
Wed, 24 May 2023 12:48:29 +0000 (15:48 +0300)
committerAlexander Monakov <amonakov@ispras.ru>
Fri, 2 Jun 2023 12:17:30 +0000 (15:17 +0300)
commit9f926f3a0c8dee7edb6807323a1fe2a92b33bfaa
tree4bc44b20c5fc2b0d52da58c5b9db35fb1805b5a8
parentbffc52838e393a775e13dc48162669b0f43ebe09
doc: clarify semantics of vector bitwise shifts

Explicitly say that attempted shift past element bit width is UB for
vector types.  Mention that integer promotions do not happen.

gcc/ChangeLog:

* doc/extend.texi (Vector Extensions): Clarify bitwise shift
semantics.
gcc/doc/extend.texi