X86: Truncate addresses to 32 bits except in 64 bit mode, not long mode.
X86: Truncate addresses to 32 bits except in 64 bit mode, not long mode.

A small change was added a while ago to keep addresses from overflowing 32
bits when larger addresses shouldn't be accessible to software. That change
truncated when not in long mode, but really it should have truncated when not
in 64 bit mode. The difference is whether compatibility mode is included, a
mode that's supposed to act like a legacy 32 bit mode.

rallylee/gem5,Weil0ng/gem5,samueldotj/TeeRISC-Simulator,joerocklin/gem5,powerjg/gem5-ci-test,samueldotj/TeeRISC-Simulator,cancro7/gem5,rallylee/gem5,SanchayanMaity/gem5,kaiyuanl/gem5,kaiyuanl/gem5,KuroeKurose/gem5,zlfben/gem5,rjschof/gem5,Weil0ng/gem5,gedare/gem5,SanchayanMaity/gem5,aclifton/cpeg853-gem5,zlfben/gem5,TUD-OS/gem5-dtu,gedare/gem5,gedare/gem5,rjschof/gem5,briancoutinho0905/2dsampling,qizenguf/MLC-STT,HwisooSo/gemV-update,kaiyuanl/gem5,zlfben/gem5,zlfben/gem5,yb-kim/gemV,sobercoder/gem5,joerocklin/gem5,gem5/gem5,markoshorro/gem5,HwisooSo/gemV-update,austinharris/gem5-riscv,qizenguf/MLC-STT,gem5/gem5,qizenguf/MLC-STT,KuroeKurose/gem5,zlfben/gem5,markoshorro/gem5,joerocklin/gem5,sobercoder/gem5,sobercoder/gem5,yb-kim/gemV,kaiyuanl/gem5,rjschof/gem5,sobercoder/gem5,Weil0ng/gem5,yb-kim/gemV,markoshorro/gem5,markoshorro/gem5,TUD-OS/gem5-dtu,cancro7/gem5,markoshorro/gem5,kaiyuanl/gem5,yb-kim/gemV,kaiyuanl/gem5,samueldotj/TeeRISC-Simulator,cancro7/gem5,briancoutinho0905/2dsampling,rjschof/gem5,joerocklin/gem5,markoshorro/gem5,aclifton/cpeg853-gem5,aclifton/cpeg853-gem5,SanchayanMaity/gem5,rallylee/gem5,Weil0ng/gem5,HwisooSo/gemV-update,powerjg/gem5-ci-test,HwisooSo/gemV-update,cancro7/gem5,TUD-OS/gem5-dtu,gedare/gem5,austinharris/gem5-riscv,austinharris/gem5-riscv,TUD-OS/gem5-dtu,KuroeKurose/gem5,KuroeKurose/gem5,powerjg/gem5-ci-test,powerjg/gem5-ci-test,briancoutinho0905/2dsampling,powerjg/gem5-ci-test,briancoutinho0905/2dsampling,markoshorro/gem5,yb-kim/gemV,qizenguf/MLC-STT,aclifton/cpeg853-gem5,rallylee/gem5,SanchayanMaity/gem5,austinharris/gem5-riscv,gem5/gem5,yb-kim/gemV,Weil0ng/gem5,sobercoder/gem5,samueldotj/TeeRISC-Simulator,gem5/gem5,KuroeKurose/gem5,powerjg/gem5-ci-test,qizenguf/MLC-STT,cancro7/gem5,briancoutinho0905/2dsampling,sobercoder/gem5,briancoutinho0905/2dsampling,samueldotj/TeeRISC-Simulator,samueldotj/TeeRISC-Simulator,samueldotj/TeeRISC-Simulator,SanchayanMaity/gem5,rallylee/gem5,zlfben/gem5,yb-kim/gemV,rjschof/gem5,HwisooSo/gemV-update,HwisooSo/gemV-update,KuroeKurose/gem5,Weil0ng/gem5,powerjg/gem5-ci-test,cancro7/gem5,qizenguf/MLC-STT,austinharris/gem5-riscv,Weil0ng/gem5,cancro7/gem5,rjschof/gem5,qizenguf/MLC-STT,SanchayanMaity/gem5,sobercoder/gem5,austinharris/gem5-riscv,TUD-OS/gem5-dtu,TUD-OS/gem5-dtu,TUD-OS/gem5-dtu,gem5/gem5,joerocklin/gem5,joerocklin/gem5,austinharris/gem5-riscv,yb-kim/gemV,aclifton/cpeg853-gem5,gem5/gem5,aclifton/cpeg853-gem5,zlfben/gem5,gedare/gem5,gedare/gem5,joerocklin/gem5,rallylee/gem5,KuroeKurose/gem5,SanchayanMaity/gem5,kaiyuanl/gem5,aclifton/cpeg853-gem5,rjschof/gem5,rallylee/gem5,joerocklin/gem5,briancoutinho0905/2dsampling,HwisooSo/gemV-update,gem5/gem5,gedare/gem5