From 84e32ad2ebd6bd160c1320456743a5b1d8f233e9 Mon Sep 17 00:00:00 2001 From: Roberto Ierusalimschy Date: Fri, 23 Nov 2018 12:23:45 -0200 Subject: Added opcodes for arithmetic with K operands Added opcodes for all seven arithmetic operators with K operands (that is, operands that are numbers in the array of constants of the function). They cover the cases of constant float operands (e.g., 'x + .0.0', 'x^0.5') and large integer operands (e.g., 'x % 10000'). --- lopnames.h | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'lopnames.h') diff --git a/lopnames.h b/lopnames.h index b2c4fe21..96d901ac 100644 --- a/lopnames.h +++ b/lopnames.h @@ -36,6 +36,13 @@ static const char *const opnames[] = { "POWI", "DIVI", "IDIVI", + "ADDK", + "SUBK", + "MULK", + "MODK", + "POWK", + "DIVK", + "IDIVK", "BANDK", "BORK", "BXORK", -- cgit v1.2.3-55-g6feb