What compiler are you using? This is the second time you've hit  
compile bugs I haven't.

Gabe

Quoting Nathan Binkert <[email protected]>:

> changeset aff9a522956a in /z/repo/m5
> details: http://repo.m5sim.org/m5?cmd=changeset;node=aff9a522956a
> description:
>       X86: fix some simple compile issues
>       static should not be used for constants that are not inside a class  
> definition.
>
> diffstat:
>
> 2 files changed, 4 insertions(+), 4 deletions(-)
> src/arch/x86/insts/microldstop.hh     |    4 ++--
> src/arch/x86/isa/microops/mediaop.isa |    4 ++--
>
> diffs (28 lines):
>
> diff -r 835a99bdab10 -r aff9a522956a src/arch/x86/insts/microldstop.hh
> --- a/src/arch/x86/insts/microldstop.hh       Thu Aug 20 23:09:03 2009 -0700
> +++ b/src/arch/x86/insts/microldstop.hh       Fri Aug 21 09:10:25 2009 -0700
> @@ -64,8 +64,8 @@
>
>  namespace X86ISA
>  {
> -    static const Request::FlagsType SegmentFlagMask = mask(4);
> -    static const int FlagShift = 4;
> +    const Request::FlagsType SegmentFlagMask = mask(4);
> +    const int FlagShift = 4;
>      enum FlagBit {
>          CPL0FlagBit = 1,
>          AddrSizeFlagBit = 2,
> diff -r 835a99bdab10 -r aff9a522956a src/arch/x86/isa/microops/mediaop.isa
> --- a/src/arch/x86/isa/microops/mediaop.isa   Thu Aug 20 23:09:03 2009 -0700
> +++ b/src/arch/x86/isa/microops/mediaop.isa   Fri Aug 21 09:10:25 2009 -0700
> @@ -1406,8 +1406,8 @@
>                      (0 - (arg2Bits & (1 << (sizeBits - 1))));
>
>                  uint64_t resBits = 0;
> -                if ((ext & 0x2) == 0 && arg1 == arg2 ||
> -                        (ext & 0x2) == 0x2 && arg1 > arg2)
> +                if (((ext & 0x2) == 0 && arg1 == arg2) ||
> +                    ((ext & 0x2) == 0x2 && arg1 > arg2))
>                      resBits = mask(sizeBits);
>
>                  result = insertBits(result, hiIndex, loIndex, resBits);
> _______________________________________________
> m5-dev mailing list
> [email protected]
> http://m5sim.org/mailman/listinfo/m5-dev
>


_______________________________________________
m5-dev mailing list
[email protected]
http://m5sim.org/mailman/listinfo/m5-dev

Reply via email to