aboutsummaryrefslogtreecommitdiff
path: root/src/lj_target_mips.h
diff options
context:
space:
mode:
authorMike Pall <mike>2012-10-15 21:28:10 +0200
committerMike Pall <mike>2012-10-15 21:28:10 +0200
commitbbe35adfcd1d07c36b50a050fc09c34fd166d67e (patch)
treea75375f9abe91c46edb16d24ed2cda9c683c9734 /src/lj_target_mips.h
parenta58b86dad39835841eb6f24e13253c69447abfc9 (diff)
downloadluajit-bbe35adfcd1d07c36b50a050fc09c34fd166d67e.tar.gz
luajit-bbe35adfcd1d07c36b50a050fc09c34fd166d67e.tar.bz2
luajit-bbe35adfcd1d07c36b50a050fc09c34fd166d67e.zip
MIPS: Compile math.sqrt() to sqrt.d instruction.
Diffstat (limited to '')
-rw-r--r--src/lj_target_mips.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/lj_target_mips.h b/src/lj_target_mips.h
index 1b7727d0..4d079eaa 100644
--- a/src/lj_target_mips.h
+++ b/src/lj_target_mips.h
@@ -223,6 +223,7 @@ typedef enum MIPSIns {
223 MIPSI_SUB_D = 0x46200001, 223 MIPSI_SUB_D = 0x46200001,
224 MIPSI_MUL_D = 0x46200002, 224 MIPSI_MUL_D = 0x46200002,
225 MIPSI_DIV_D = 0x46200003, 225 MIPSI_DIV_D = 0x46200003,
226 MIPSI_SQRT_D = 0x46200004,
226 227
227 MIPSI_ADD_S = 0x46000000, 228 MIPSI_ADD_S = 0x46000000,
228 MIPSI_SUB_S = 0x46000001, 229 MIPSI_SUB_S = 0x46000001,