mirror of
https://github.com/open-goal/jak-project
synced 2026-08-18 05:48:28 -04:00
[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:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user