summaryrefslogtreecommitdiff
path: root/src/lj_target_ppc.h
diff options
context:
space:
mode:
authorMike Pall <mike>2012-10-15 21:23:20 +0200
committerMike Pall <mike>2012-10-15 21:23:20 +0200
commita58b86dad39835841eb6f24e13253c69447abfc9 (patch)
tree69e37a35edf6adda7fb92a680ee7e1656ce033f5 /src/lj_target_ppc.h
parent2621617a9292ea821a0630339e20e83e11858a5e (diff)
downloadluajit-a58b86dad39835841eb6f24e13253c69447abfc9.tar.gz
luajit-a58b86dad39835841eb6f24e13253c69447abfc9.tar.bz2
luajit-a58b86dad39835841eb6f24e13253c69447abfc9.zip
PPC: Compile math.sqrt() to fsqrt instruction.
Diffstat (limited to 'src/lj_target_ppc.h')
-rw-r--r--src/lj_target_ppc.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/lj_target_ppc.h b/src/lj_target_ppc.h
index f5e89325..5347c3f7 100644
--- a/src/lj_target_ppc.h
+++ b/src/lj_target_ppc.h
@@ -263,6 +263,7 @@ typedef enum PPCIns {
263 PPCI_FSUB = 0xfc000028, 263 PPCI_FSUB = 0xfc000028,
264 PPCI_FMUL = 0xfc000032, 264 PPCI_FMUL = 0xfc000032,
265 PPCI_FDIV = 0xfc000024, 265 PPCI_FDIV = 0xfc000024,
266 PPCI_FSQRT = 0xfc00002c,
266 267
267 PPCI_FMADD = 0xfc00003a, 268 PPCI_FMADD = 0xfc00003a,
268 PPCI_FMSUB = 0xfc000038, 269 PPCI_FMSUB = 0xfc000038,