From d59d040b4e65fa010ce03ca40d0d83e03c0a89b2 Mon Sep 17 00:00:00 2001 From: Alyssa Rosenzweig Date: Tue, 13 Aug 2024 09:20:58 -0400 Subject: [PATCH] IR: add design doc breadcrumb Signed-off-by: Alyssa Rosenzweig --- FEXCore/Source/Interface/IR/IR.json | 2 ++ 1 file changed, 2 insertions(+) diff --git a/FEXCore/Source/Interface/IR/IR.json b/FEXCore/Source/Interface/IR/IR.json index 5afa0f7f3..5f5cc7258 100644 --- a/FEXCore/Source/Interface/IR/IR.json +++ b/FEXCore/Source/Interface/IR/IR.json @@ -254,6 +254,8 @@ }, "GPR = AllocateGPR i1:$ForPair": { "Desc": ["Silly pseudo-instruction to allocate a register for a future destination", + "Note: if an instruction uses allocated destinations-as-sources,", + "it cannot use a regular destination too. This ensures RA correctness.", "This is a kludge to deal with the IR's lack of multiple destinations", "If ForPair is set, RA will try to allocate the base of a register pair"], "DestSize": "8"