x86: move and fold common code in build_modrm_byte()
authorJan Beulich <jbeulich@novell.com>
Thu, 26 Apr 2018 06:30:45 +0000 (08:30 +0200)
committerJan Beulich <jbeulich@suse.com>
Thu, 26 Apr 2018 06:30:45 +0000 (08:30 +0200)
commit48db9223e95625a2156f60e8f7f339e4bbde3533
treedfd8223df08d4f29b2ee95129c165500d23c7e86
parent2f1bada2dc2e7215cd633b6c39a6c31dbd875bc0
x86: move and fold common code in build_modrm_byte()

The source and reg_slot calculations in the VEX3SOURCES only depend on
the number of immediate operands.
gas/ChangeLog
gas/config/tc-i386.c