From 9126afa2da0e1635d78429075cc44ca576f68169 Mon Sep 17 00:00:00 2001 From: Quentin Carbonneaux Date: Thu, 24 Nov 2022 11:08:33 +0100 Subject: new hlt block terminator It is handy to express when the end of a block cannot be reached. If a hlt terminator is executed, it traps the program. We don't go the llvm way and specify execution semantics as undefined behavior. --- all.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'all.h') diff --git a/all.h b/all.h index d852609..3ddb944 100644 --- a/all.h +++ b/all.h @@ -154,7 +154,7 @@ enum J { X(jfisle) X(jfislt) X(jfiuge) X(jfiugt) \ X(jfiule) X(jfiult) X(jffeq) X(jffge) \ X(jffgt) X(jffle) X(jfflt) X(jffne) \ - X(jffo) X(jffuo) + X(jffo) X(jffuo) X(hlt) #define X(j) J##j, JMPS(X) #undef X -- cgit 1.4.1