diff options
author | Mike Pall <mike> | 2010-08-31 00:49:29 +0200 |
---|---|---|
committer | Mike Pall <mike> | 2010-08-31 00:49:29 +0200 |
commit | 96c1d8a8ad67e0470d518b03218678c321df3f77 (patch) | |
tree | 5a0aa3ca73c8bd7fbbb2985163300d6e30689c71 /src | |
parent | f4d4af1b6d111d18a33611e72c4e904698986acd (diff) | |
download | luajit-96c1d8a8ad67e0470d518b03218678c321df3f77.tar.gz luajit-96c1d8a8ad67e0470d518b03218678c321df3f77.tar.bz2 luajit-96c1d8a8ad67e0470d518b03218678c321df3f77.zip |
PPC: Clean up JIT/non-JIT symbol declarations in assembler part.
Diffstat (limited to 'src')
-rw-r--r-- | src/buildvm_ppc.dasc | 24 |
1 files changed, 10 insertions, 14 deletions
diff --git a/src/buildvm_ppc.dasc b/src/buildvm_ppc.dasc index a2dda7a9..d79902f4 100644 --- a/src/buildvm_ppc.dasc +++ b/src/buildvm_ppc.dasc | |||
@@ -659,6 +659,7 @@ static void build_subroutines(BuildCtx *ctx) | |||
659 | | math_extern sinh | 659 | | math_extern sinh |
660 | | math_extern cosh | 660 | | math_extern cosh |
661 | | math_extern tanh | 661 | | math_extern tanh |
662 | | math_extern2 pow | ||
662 | | math_extern2 atan2 | 663 | | math_extern2 atan2 |
663 | | math_extern2 fmod | 664 | | math_extern2 fmod |
664 | | | 665 | | |
@@ -670,8 +671,6 @@ static void build_subroutines(BuildCtx *ctx) | |||
670 | |.ffunc_n math_frexp; NYI | 671 | |.ffunc_n math_frexp; NYI |
671 | |.ffunc_n math_modf; NYI | 672 | |.ffunc_n math_modf; NYI |
672 | | | 673 | | |
673 | |.ffunc_nn math_pow; NYI | ||
674 | | | ||
675 | |.macro math_minmax, name, cmpop | 674 | |.macro math_minmax, name, cmpop |
676 | | .ffunc_1 name | 675 | | .ffunc_1 name |
677 | | NYI | 676 | | NYI |
@@ -827,24 +826,21 @@ static void build_subroutines(BuildCtx *ctx) | |||
827 | | | 826 | | |
828 | | vm_round vm_floor, 0 | 827 | | vm_round vm_floor, 0 |
829 | | vm_round vm_ceil, 1 | 828 | | vm_round vm_ceil, 1 |
829 | #if LJ_HASJIT | ||
830 | | vm_round vm_trunc, 2 | 830 | | vm_round vm_trunc, 2 |
831 | #else | ||
832 | |->vm_trunc: | ||
833 | #endif | ||
831 | | | 834 | | |
832 | |->vm_mod: | 835 | |->vm_powi: |
833 | | NYI | 836 | #if LJ_HASJIT |
834 | | | ||
835 | |->vm_exp: | ||
836 | | NYI | ||
837 | |->vm_exp2: | ||
838 | | NYI | ||
839 | | | ||
840 | |->vm_pow: | ||
841 | | NYI | ||
842 | | | ||
843 | |->vm_powi_sse: | ||
844 | | NYI | 837 | | NYI |
838 | #endif | ||
845 | | | 839 | | |
846 | |->vm_foldfpm: | 840 | |->vm_foldfpm: |
841 | #if LJ_HASJIT | ||
847 | | NYI | 842 | | NYI |
843 | #endif | ||
848 | | | 844 | | |
849 | |// Callable from C: double lj_vm_foldarith(double x, double y, int op) | 845 | |// Callable from C: double lj_vm_foldarith(double x, double y, int op) |
850 | |// Compute x op y for basic arithmetic operators (+ - * / % ^ and unary -) | 846 | |// Compute x op y for basic arithmetic operators (+ - * / % ^ and unary -) |