Remove the vconst instruction and the UnaryImmVector format.
No instruction sets actually have single instructions for materializing vector constants. You always need to use a constant pool. Cretonne doesn't have constant pools yet, but it will in the future, and that is how vector constants should be represented.
This commit is contained in:
@@ -8,7 +8,7 @@ in this module.
|
||||
from __future__ import absolute_import
|
||||
from cdsl.formats import InstructionFormat
|
||||
from cdsl.operands import VALUE, VARIABLE_ARGS
|
||||
from .immediates import imm64, uimm8, ieee32, ieee64, immvector, intcc, floatcc
|
||||
from .immediates import imm64, uimm8, ieee32, ieee64, intcc, floatcc
|
||||
from .entities import ebb, sig_ref, func_ref, jump_table
|
||||
|
||||
Nullary = InstructionFormat()
|
||||
@@ -17,7 +17,6 @@ Unary = InstructionFormat(VALUE)
|
||||
UnaryImm = InstructionFormat(imm64)
|
||||
UnaryIeee32 = InstructionFormat(ieee32)
|
||||
UnaryIeee64 = InstructionFormat(ieee64)
|
||||
UnaryImmVector = InstructionFormat(immvector, boxed_storage=True)
|
||||
UnarySplit = InstructionFormat(VALUE, multiple_results=True)
|
||||
|
||||
Binary = InstructionFormat(VALUE, VALUE)
|
||||
|
||||
Reference in New Issue
Block a user