i386: Clean up legacy ternlog patterns from sse.md
Removes obsolete patterns and standardizes immediate operands in i386 SSE instruction definitions.
This commit completes the cleanup of legacy ‘ternlog’ patterns from the sse.md file for the i386 architecture. Obsolete patterns and mode iterators have been removed. Surviving ‘ternlog’ patterns now consistently use decimal immediate operands instead of hexadecimal, and corresponding test cases have been updated to align with this change.
In Details
The i386 backend's sse.md file has undergone a final 'ternlog' cleanup. This involves removing legacy define_insn_and_split, define_code_iterator, and define_code_attr entries related to ternlog operations that are no longer supported or necessary. Additionally, surviving patterns that utilize immediate operands for ternlog operations have been updated to consistently use decimal representations (e.g., 10 instead of 0xa), and associated test cases in gcc.target/i386/ have been modified to reflect this standardization.
- ternlog
- Refers to ternary logic operations, which take three operands. In the context of SSE, these are bitwise operations on vector registers.
- sse.md
- A GCC machine description file defining instructions and patterns for the Streaming SIMD Extensions (SSE) instruction set for x86 architectures.
- immediate operand
- A constant value directly embedded within an instruction, rather than being fetched from memory or a register.
- mode iterator
- A mechanism within GCC's machine description files that allows defining patterns or attributes for a range of data types or vector sizes.