Skip to content

Conversation

@lum1n0us
Copy link
Contributor

No description provided.

bh_assert(0);
return false;
a.and_(regs_i32[reg_no_src], 0x000000FF);
a.mov(regs_i32[reg_no_dst], regs_i32[reg_no_src]);
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can use mov_r_to_r_i32(a, reg_no_dst, reg_no_src)?

bh_assert(0);
return false;
a.and_(regs_i32[reg_no_src], 0x0000FFFF);
a.mov(regs_i32[reg_no_dst], regs_i32[reg_no_src]);
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Same as above

bh_assert(0);
return false;
a.and_(regs_i64[reg_no_src], 0x00000000FFFFFFFFLL);
a.mov(regs_i64[reg_no_dst], regs_i64[reg_no_src]);
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Same as above

@lum1n0us lum1n0us force-pushed the impl_extend_and_wrap branch from 50f7350 to d14f2d1 Compare April 21, 2022 09:03
@wenyongh wenyongh merged commit ab5eaef into bytecodealliance:dev/fast_jit Apr 21, 2022
@lum1n0us lum1n0us deleted the impl_extend_and_wrap branch May 10, 2022 14:42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants