Rollup merge of #111331 - taiki-e:s390x-asm-cc, r=Amanieu

Mark s390x condition code register as clobbered in inline assembly

Various s390x instructions (arithmetic operations, logical operations, comparisons, etc. see also "Condition Codes" section in [z/Architecture Reference Summary](https://www.ibm.com/support/pages/zarchitecture-reference-summary)) modify condition code register `cc`, but AFAIK there is currently no way to mark it as clobbered in `asm!`.

`cc` register definition in LLVM:
https://github.com/llvm/llvm-project/blob/main/llvm/lib/Target/SystemZ/SystemZRegisterInfo.td#L320

This PR also updates asm_experimental_arch docs in the unstable-book to mention s390x registers.

cc `@uweigand`

r? `@Amanieu`
This commit is contained in:
Yuki Okushi 2023-05-08 19:41:50 +09:00 committed by GitHub
commit 6ce5cbbb5f
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

Diff content is not available