[Compiler] In-progress support for vector float (AVX) (#171)

* begin work on vf support

* split reg kind into reg hw kind and class, use class for ireg

* try test

* clang format

* add some more ops and some example functions

* better lvf on statics

* add documentation
This commit is contained in:
water111
2020-12-30 15:33:51 -05:00
committed by GitHub
parent 4d713d5c8c
commit a80b331c27
39 changed files with 1714 additions and 313 deletions
+2 -2
View File
@@ -90,8 +90,8 @@ Condition Compiler::compile_condition(const goos::Object& condition, Env* env, b
// pick between a floating point and an integer comparison.
if (is_float(first_arg->type())) {
gc.a = first_arg->to_xmm(env);
gc.b = second_arg->to_xmm(env);
gc.a = first_arg->to_fpr(env);
gc.b = second_arg->to_fpr(env);
gc.is_float = true;
} else {
gc.a = first_arg->to_gpr(env);