From 86f21c2dbd3dfe9d19107f56ee7bc1d3f458fa8d Mon Sep 17 00:00:00 2001 From: Ryan Houdek Date: Thu, 5 Dec 2019 09:32:17 -0800 Subject: [PATCH] Adds Atomic Swap/FetchAnd/FetchOr/FetchXor to IR json --- Source/Interface/IR/IR.json | 36 ++++++++++++++++++++++++++++++++++++ 1 file changed, 36 insertions(+) diff --git a/Source/Interface/IR/IR.json b/Source/Interface/IR/IR.json index aa45bb844..f78e90a54 100644 --- a/Source/Interface/IR/IR.json +++ b/Source/Interface/IR/IR.json @@ -421,6 +421,15 @@ ] }, + "AtomicSwap": { + "HasDest": true, + "DestSize": "Size", + "SSAArgs": "2", + "Args": [ + "uint8_t", "Size" + ] + }, + "AtomicFetchAdd": { "HasDest": true, "DestSize": "Size", @@ -439,6 +448,33 @@ ] }, + "AtomicFetchAnd": { + "HasDest": true, + "DestSize": "Size", + "SSAArgs": "2", + "Args": [ + "uint8_t", "Size" + ] + }, + + "AtomicFetchOr": { + "HasDest": true, + "DestSize": "Size", + "SSAArgs": "2", + "Args": [ + "uint8_t", "Size" + ] + }, + + "AtomicFetchXor": { + "HasDest": true, + "DestSize": "Size", + "SSAArgs": "2", + "Args": [ + "uint8_t", "Size" + ] + }, + "VExtractToGPR": { "HasDest": true, "SSAArgs": "1",