From 98d5a674a84420358fad0e37fbe6ebdfa128f815 Mon Sep 17 00:00:00 2001 From: Andrzej Janik Date: Fri, 5 Apr 2024 23:25:38 +0200 Subject: [PATCH] Typo --- ptx/src/translate.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ptx/src/translate.rs b/ptx/src/translate.rs index 67f7ce0..3b75ec9 100644 --- a/ptx/src/translate.rs +++ b/ptx/src/translate.rs @@ -1969,7 +1969,7 @@ fn insert_hardware_registers<'input>( // * sub.cc x, 0,0 will set CC to 1 // and for subc: // * if CC is 1 then subc will compute d = a - b -// * if CC is 0 then subc will compute d = (a - b) + 1 +// * if CC is 0 then subc will compute d = a - b - 1 fn insert_hardware_registers_impl<'input>( id_defs: &mut IdNameMapBuilder<'input>, typed_statements: Vec,