diff options
author | Xavier Leroy <xavier.leroy@inria.fr> | 2016-09-18 10:29:11 +0200 |
---|---|---|
committer | Xavier Leroy <xavier.leroy@inria.fr> | 2016-09-18 10:29:11 +0200 |
commit | 99554c986d023d00192eb3d1fbfe1c0cc138596e (patch) | |
tree | af3509d66ed70784e3b1bd0126bbddb17fd59fb3 /ia32/Asmgenproof.v | |
parent | 322f3c865341fdfd5d22ab885b2934a5213ddbaa (diff) | |
download | compcert-99554c986d023d00192eb3d1fbfe1c0cc138596e.tar.gz compcert-99554c986d023d00192eb3d1fbfe1c0cc138596e.zip |
IA32: model integer division and modulus closer to the machine
lib/Integers.v: define division-remainder of a double word by a word
ia32/Asm.v: use it to give Pdiv and Pidiv their "true" semantics like in the processor; add Pcltd as an instruction
ia32/*: adapt accordingly
Additional benefit: Pcltd could be used for an alternate implementation of shrximm.
Diffstat (limited to 'ia32/Asmgenproof.v')
0 files changed, 0 insertions, 0 deletions