X86: Implement the ldstl microop.

This microop does a load, checks that a store would succeed, and locks the
requested address.
This commit is contained in:
Gabe Black 2009-04-19 04:55:43 -07:00
parent 1a8a765a5c
commit d2554ff030

View file

@ -440,6 +440,8 @@ let {{
defineMicroLoadOp('Ld', 'Data = merge(Data, Mem, dataSize);')
defineMicroLoadOp('Ldst', 'Data = merge(Data, Mem, dataSize);',
'X86ISA::StoreCheck')
defineMicroLoadOp('Ldstl', 'Data = merge(Data, Mem, dataSize);',
'X86ISA::StoreCheck | Request::LOCKED')
defineMicroLoadOp('Ldfp', 'FpData.uqw = Mem;')
def defineMicroStoreOp(mnemonic, code, \