aboutsummaryrefslogtreecommitdiff
path: root/gcc/value-range.cc
diff options
context:
space:
mode:
authorUros Bizjak <ubizjak@gmail.com>2023-08-20 17:52:22 +0200
committerUros Bizjak <ubizjak@gmail.com>2023-08-20 17:55:51 +0200
commit791952ef4396da74370d28cc3200451080b5c65a (patch)
tree788c36b54cd0eb3c891f010fd4db1c5bda0fd91d /gcc/value-range.cc
parentd77c280454cfba48ef38357145cecdabc8c1b05c (diff)
downloadgcc-791952ef4396da74370d28cc3200451080b5c65a.zip
gcc-791952ef4396da74370d28cc3200451080b5c65a.tar.gz
gcc-791952ef4396da74370d28cc3200451080b5c65a.tar.bz2
i386: Micro-optimize ix86_expand_sse_extend
Partial vector src is forced to a register as ops[1], we can use it instead of SRC in the call to ix86_expand_sse_cmp. This change avoids forcing operand[1] to a register in sign/zero-extend expanders. gcc/ChangeLog: * config/i386/i386-expand.cc (ix86_expand_sse_extend): Use ops[1] instead of src in the call to ix86_expand_sse_cmp. * config/i386/sse.md (<any_extend:insn>v8qiv8hi2): Do not force operands[1] to a register. (<any_extend:insn>v4hiv4si2): Ditto. (<any_extend:insn>v2siv2di2): Ditto.
Diffstat (limited to 'gcc/value-range.cc')
0 files changed, 0 insertions, 0 deletions