Add a trapff instruction.
This is the floating point equivalent of trapif: Trap when a given condition is in the floating-point flags. Define Intel encodings comparable to the trapif encodings.
This commit is contained in:
@@ -357,6 +357,8 @@ I64.enc(base.trap, *r.trap(0x0f, 0x0b))
|
||||
# Using a standard EncRecipe, not the TailRecipe.
|
||||
I32.enc(base.trapif, r.trapif, 0)
|
||||
I64.enc(base.trapif, r.trapif, 0)
|
||||
I32.enc(base.trapff, r.trapff, 0)
|
||||
I64.enc(base.trapff, r.trapff, 0)
|
||||
|
||||
#
|
||||
# Comparisons
|
||||
|
||||
Reference in New Issue
Block a user