sradx, vcfsx, vcfux.
This commit is contained in:
@@ -733,11 +733,11 @@ Value* HIRBuilder::Round(Value* value, RoundMode round_mode) {
|
||||
return i->dest;
|
||||
}
|
||||
|
||||
Value* HIRBuilder::VectorConvertI2F(Value* value) {
|
||||
Value* HIRBuilder::VectorConvertI2F(Value* value, uint32_t arithmetic_flags) {
|
||||
ASSERT_VECTOR_TYPE(value);
|
||||
|
||||
Instr* i = AppendInstr(
|
||||
OPCODE_VECTOR_CONVERT_I2F_info, 0,
|
||||
OPCODE_VECTOR_CONVERT_I2F_info, arithmetic_flags,
|
||||
AllocValue(value->type));
|
||||
i->set_src1(value);
|
||||
i->src2.value = i->src3.value = NULL;
|
||||
|
||||
@@ -98,7 +98,7 @@ public:
|
||||
// TODO(benvanik): make this cleaner -- not happy with it.
|
||||
// It'd be nice if Convert() supported this, however then we'd need a
|
||||
// VEC128_INT32_TYPE or something.
|
||||
Value* VectorConvertI2F(Value* value);
|
||||
Value* VectorConvertI2F(Value* value, uint32_t arithmetic_flags = 0);
|
||||
Value* VectorConvertF2I(Value* value, RoundMode round_mode = ROUND_TO_ZERO);
|
||||
|
||||
Value* LoadZero(TypeName type);
|
||||
|
||||
Reference in New Issue
Block a user