X86: Distinguish between the rep and repe prefixes.
authorGabe Black <gblack@eecs.umich.edu>
Wed, 3 Oct 2007 06:02:18 +0000 (23:02 -0700)
committerGabe Black <gblack@eecs.umich.edu>
Wed, 3 Oct 2007 06:02:18 +0000 (23:02 -0700)
commitc2d60abf52fc81119970ab0617f9a979f1377685
tree3178cee596202e84daa8811dc11f29d03ca6e7ad
parent504f90f76350ce14debfbfa837423144b0abdbe4
X86: Distinguish between the rep and repe prefixes.
STOS and MOVS only accept the rep prefix which always loops until rcx becomes
0. The other string instructions accept repe (same encoding as rep) and repne
which also check the condition code flags each iteration.

--HG--
extra : convert_revision : 544149f640302070810fb53e53bfeb0e87160ffc
src/arch/x86/isa/decoder/one_byte_opcodes.isa
src/arch/x86/isa/formats/string.isa
src/arch/x86/isa/insts/general_purpose/string/move_string.py
src/arch/x86/isa/insts/general_purpose/string/store_string.py