From 5eaab1e6463be527604933716ac2982de777b64b Mon Sep 17 00:00:00 2001 From: Andres Erbsen Date: Tue, 20 Jun 2017 09:35:34 -0400 Subject: sed mulx appropriately --- extract-function.sh | 1 + 1 file changed, 1 insertion(+) (limited to 'extract-function.sh') diff --git a/extract-function.sh b/extract-function.sh index 1d1ec2e89..dc967070b 100755 --- a/extract-function.sh +++ b/extract-function.sh @@ -62,6 +62,7 @@ while IFS= read -r line; do true) lines=$((lines+1)) echo "{ $line" | \ + sed s':^\([^,]*\) \([^, ]*\)\(\s*\),\(.*\)\(mulx.*\))\([; ]*\)$:\1 \2\3;\4_\5, \&\2)\6:' | \ sed s':^\([^,]*\) \([^, ]*\)\(\s*\),\(.*\)\(addcarryx.*\))\([; ]*\)$:\1 \2\3;\4_\5, \&\2)\6:' | \ sed s':^\([^,]*\) \([^, ]*\)\(\s*\),\(.*\)\(subborrow.*\))\([; ]*\)$:\1 \2\3;\4_\5, \&\2)\6:' ;; -- cgit v1.2.3