MCPcopy Create free account
hub / github.com/OFFTKP/felix86 / AMOCAS_D

Method AMOCAS_D

external/biscuit/src/assembler.cpp:891–897  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

889// Zacas Extension Instructions
890
891void Assembler::AMOCAS_D(Ordering ordering, GPR rd, GPR rs2, GPR rs1) noexcept {
892 if (IsRV32(m_features)) {
893 BISCUIT_ASSERT((rd.Index() % 2) == 0);
894 BISCUIT_ASSERT((rs2.Index() % 2) == 0);
895 }
896 EmitAtomic(m_buffer, 0b00101, ordering, rs2, rs1, 0b011, rd, 0b0101111);
897}
898void Assembler::AMOCAS_Q(Ordering ordering, GPR rd, GPR rs2, GPR rs1) noexcept {
899 BISCUIT_ASSERT(IsRV64(m_features));
900

Callers 3

FAST_HANDLEFunction · 0.80
EmitInstructionFunction · 0.80

Calls 3

IsRV32Function · 0.85
EmitAtomicFunction · 0.85
IndexMethod · 0.80

Tested by

no test coverage detected