cmd/compile: AMD64 and i386 conditional suffixes of Ops are inconsistent #56722
Labels
compiler/runtime
Issues related to the Go compiler and/or runtime.
NeedsInvestigation
Someone must examine and confirm this is a valid issue and not a duplicate of an existing one.
Milestone
What version of Go are you using (
go version
)?Does this issue reproduce with the latest release?
Yes
What operating system and processor architecture are you using (
go env
)?go env
OutputWhat did you do?
I was refactoring some SSA rules to canonicalize inversed comparision Ops similar to how LLVM do it.
(for example
(NE cond yes no) => (EQ cond no yes)
)This aims to simplify rules because we would have to handle only half as many rules for thoses that touch flags.
What did you expect to see?
I am expecting to see similar suffixes names between all instructions that use flag suffixes, similar to how the intel manual do
Jcc
,SETcc
,CMOVcc
, ...What did you see instead?
Blocks (
Jcc
),CMOV
andSET
sometime use different names for the flags suffixes.The text was updated successfully, but these errors were encountered: