[gem5-dev] Change in gem5/gem5[master]: configs: Fix Python 3 iterator and exec compatibility issues

2019-02-25 Thread Andreas Sandberg (Gerrit)
Andreas Sandberg has uploaded a new patch set (#10). ( https://gem5-review.googlesource.com/c/public/gem5/+/16002 ) Change subject: configs: Fix Python 3 iterator and exec compatibility issues .. configs: Fix Python 3

[gem5-dev] Change in gem5/gem5[master]: python: Make meta class declarations Python 3 safe

2019-02-25 Thread Andreas Sandberg (Gerrit)
https://gem5-review.googlesource.com/settings Gerrit-Project: public/gem5 Gerrit-Branch: master Gerrit-Change-Id: I5dea08bf0558cfca57897a124cb131c78114e59e Gerrit-Change-Number: 15982 Gerrit-PatchSet: 10 Gerrit-Owner: Andreas Sandberg Gerrit-Reviewer: Andreas Sandberg Gerrit-Reviewer: Ciro

[gem5-dev] Change in gem5/gem5[master]: python: Fix issue when Self proxy resolves to a another proxy

2019-02-25 Thread Andreas Sandberg (Gerrit)
evaluation context to the unresolved Parent.any proxy without first unproxying it. It seems like this bug depends on the graph traversal order and I have so far only seen it when compiling gem5 with Python 3. Change-Id: Iea12cc138765e70bfd6bb776b1efa012364db066 Signed-off-by: Andreas Sandberg

[gem5-dev] Change in gem5/gem5[master]: python: Fix params/proxy import loop

2019-02-25 Thread Andreas Sandberg (Gerrit)
Andreas Sandberg has submitted this change and it was merged. ( https://gem5-review.googlesource.com/c/public/gem5/+/15993 ) Change subject: python: Fix params/proxy import loop .. python: Fix params/proxy import loop

[gem5-dev] Change in gem5/gem5[master]: scons: Add support for specifying Python version

2019-02-23 Thread Andreas Sandberg (Gerrit)
Andreas Sandberg has submitted this change and it was merged. ( https://gem5-review.googlesource.com/c/public/gem5/+/16003 ) Change subject: scons: Add support for specifying Python version .. scons: Add support

[gem5-dev] Change in gem5/gem5[master]: python: Enforce absolute imports for Python 3 compatibility

2019-02-23 Thread Andreas Sandberg (Gerrit)
Andreas Sandberg has submitted this change and it was merged. ( https://gem5-review.googlesource.com/c/public/gem5/+/15983 ) Change subject: python: Enforce absolute imports for Python 3 compatibility .. python: Enforce

[gem5-dev] Change in gem5/gem5[master]: scons: Marshal Python sources using the same Python as gem5

2019-02-22 Thread Andreas Sandberg (Gerrit)
helper that links with the same library as gem5 to generate byte code that is guaranteed to work in gem5's Python interpreter. Change-Id: I665b0f2078726d4c055d74a3e668a580fc613b59 Signed-off-by: Andreas Sandberg --- M src/SConscript A src/python/marshal.cc 2 files changed, 87 insertions(+), 10

[gem5-dev] Change in gem5/gem5[master]: python: Add fallbacks for packages that have been renamed

2019-02-22 Thread Andreas Sandberg (Gerrit)
Andreas Sandberg has submitted this change and it was merged. ( https://gem5-review.googlesource.com/c/public/gem5/+/15994 ) Change subject: python: Add fallbacks for packages that have been renamed .. python: Add fallbacks

[gem5-dev] Change in gem5/gem5[master]: python: Fix param -> int conversion issues

2019-02-22 Thread Andreas Sandberg (Gerrit)
Andreas Sandberg has submitted this change and it was merged. ( https://gem5-review.googlesource.com/c/public/gem5/+/16000 ) Change subject: python: Fix param -> int conversion issues .. python: Fix param -> int conv

[gem5-dev] Change in gem5/gem5[master]: python: Add missing operators to NumericParamValue

2019-02-22 Thread Andreas Sandberg (Gerrit)
Andreas Sandberg has submitted this change and it was merged. ( https://gem5-review.googlesource.com/c/public/gem5/+/16001 ) Change subject: python: Add missing operators to NumericParamValue .. python: Add missing operators

[gem5-dev] Change in gem5/gem5[master]: python: Make iterator handling Python 3 compatible

2019-02-22 Thread Andreas Sandberg (Gerrit)
Andreas Sandberg has submitted this change and it was merged. ( https://gem5-review.googlesource.com/c/public/gem5/+/15992 ) Change subject: python: Make iterator handling Python 3 compatible .. python: Make iterator handling

[gem5-dev] Change in gem5/gem5[master]: python: Add missing operators to NumericParamValue

2019-02-22 Thread Andreas Sandberg (Gerrit)
: I2bd86662aee9891bbd89aed7ebe20b827b5528bd Signed-off-by: Andreas Sandberg --- M src/python/m5/params.py 1 file changed, 54 insertions(+), 4 deletions(-) -- To view, visit https://gem5-review.googlesource.com/c/public/gem5/+/16001 To unsubscribe, or for help writing mail filters, visit https://gem5

[gem5-dev] Change in gem5/gem5[master]: python: Fix param -> int conversion issues

2019-02-22 Thread Andreas Sandberg (Gerrit)
Change-Id: I2de6c9906d3bb7616f12ada6728b9e4b1928511c Signed-off-by: Andreas Sandberg --- M src/cpu/BaseCPU.py M src/python/m5/params.py 2 files changed, 4 insertions(+), 1 deletion(-) -- To view, visit https://gem5-review.googlesource.com/c/public/gem5/+/16000 To unsubscribe, or for help writin

[gem5-dev] Change in gem5/gem5[master]: python: Add missing operators to NumericParamValue

2019-02-22 Thread Andreas Sandberg (Gerrit)
: I2bd86662aee9891bbd89aed7ebe20b827b5528bd Signed-off-by: Andreas Sandberg --- M src/python/m5/params.py 1 file changed, 49 insertions(+), 5 deletions(-) -- To view, visit https://gem5-review.googlesource.com/c/public/gem5/+/16001 To unsubscribe, or for help writing mail filters, visit https://gem5

[gem5-dev] Change in gem5/gem5[master]: scons: Add support for specifying Python version

2019-02-22 Thread Andreas Sandberg (Gerrit)
location. Change-Id: I1f4c00d66f85a9c99f50fe4d746b69dd82b60b4b Signed-off-by: Andreas Sandberg --- M SConstruct 1 file changed, 23 insertions(+), 7 deletions(-) -- To view, visit https://gem5-review.googlesource.com/c/public/gem5/+/16003 To unsubscribe, or for help writing mail filters, visit

[gem5-dev] Change in gem5/gem5[master]: scons: Marshal Python sources using the same Python as gem5

2019-02-22 Thread Andreas Sandberg (Gerrit)
helper that links with the same library as gem5 to generate byte code that is guaranteed to work in gem5's Python interpreter. Change-Id: I665b0f2078726d4c055d74a3e668a580fc613b59 Signed-off-by: Andreas Sandberg --- M SConstruct M src/SConscript A src/python/marshal.cc 3 files changed, 85 insertions

[gem5-dev] Change in gem5/gem5[master]: scons: Marshal Python sources using the same Python as gem5

2019-02-21 Thread Andreas Sandberg (Gerrit)
helper that links with the same library as gem5 to generate byte code that is guaranteed to work in gem5's Python interpreter. Change-Id: I665b0f2078726d4c055d74a3e668a580fc613b59 Signed-off-by: Andreas Sandberg --- M SConstruct M src/SConscript A src/python/marshal.cc 3 files changed, 82 insertions

[gem5-dev] Change in gem5/gem5[master]: scons: Add support for specifying Python version

2019-02-21 Thread Andreas Sandberg (Gerrit)
location. Change-Id: I1f4c00d66f85a9c99f50fe4d746b69dd82b60b4b Signed-off-by: Andreas Sandberg --- M SConstruct 1 file changed, 23 insertions(+), 7 deletions(-) -- To view, visit https://gem5-review.googlesource.com/c/public/gem5/+/16003 To unsubscribe, or for help writing mail filters, visit

Re: [gem5-dev] pybind11 _m5 submodules vs. m5 submodules

2019-02-21 Thread Andreas Sandberg
python interfaces but are still not part of the primary code base. Anyway, I think I know how to make what I was initially after work without having to do anything overly weird and without any additional machinery. Thanks! Gabe On Wed, Feb 20, 2019 at 8:38 AM Andreas Sandberg mailto:andreas.sandb

[gem5-dev] Change in gem5/gem5[master]: python: Fix Param initialization issue in Python 3

2019-02-20 Thread Andreas Sandberg (Gerrit)
Andreas Sandberg has submitted this change and it was merged. ( https://gem5-review.googlesource.com/c/public/gem5/+/15990 ) Change subject: python: Fix Param initialization issue in Python 3 .. python: Fix Param

Re: [gem5-dev] pybind11 _m5 submodules vs. m5 submodules

2019-02-20 Thread Andreas Sandberg
Hi Gabe, I think this might make sense. As you have probably seen already, the main intention of the _m5 namespace is to hide the potentially clunky C++-like interfaces from the normal m5 namespace. A common design pattern for native Python packages used to be to have a native namespace that

[gem5-dev] Change in gem5/gem5[master]: scons: Marshal Python sources using the same Python as gem5

2019-02-13 Thread Andreas Sandberg (Gerrit)
helper that links with the same library as gem5 to generate byte code that is guaranteed to work in gem5's Python interpreter. Change-Id: I665b0f2078726d4c055d74a3e668a580fc613b59 Signed-off-by: Andreas Sandberg --- M SConstruct A site_scons/site_tools/SConscript A site_scons/site_tools/marshall.cc M

[gem5-dev] Change in gem5/gem5[master]: scons: Add support for specifying Python version

2019-02-13 Thread Andreas Sandberg (Gerrit)
location. Change-Id: I1f4c00d66f85a9c99f50fe4d746b69dd82b60b4b Signed-off-by: Andreas Sandberg --- M SConstruct 1 file changed, 24 insertions(+), 7 deletions(-) -- To view, visit https://gem5-review.googlesource.com/c/public/gem5/+/16003 To unsubscribe, or for help writing mail filters, visit

[gem5-dev] Change in gem5/gem5[master]: scons: Marshal Python sources using the same Python as gem5

2019-02-13 Thread Andreas Sandberg (Gerrit)
Andreas Sandberg has uploaded this change for review. ( https://gem5-review.googlesource.com/c/public/gem5/+/16422 Change subject: scons: Marshal Python sources using the same Python as gem5 .. scons: Marshal Python sources

[gem5-dev] Change in gem5/gem5[master]: python: Add __bool__ helpers in addition to __nonzero__

2019-02-13 Thread Andreas Sandberg (Gerrit)
.. python: Add __bool__ helpers in addition to __nonzero__ Python 3 uses __bool__ instead of __nonzero__ when performing a Boolean comparison. Change-Id: I85185bbe136ecae67346fa23569e24edd7329222 Signed-off-by: Andreas Sandberg --- M

[gem5-dev] Change in gem5/gem5[master]: python: Remove uses of tuple unpacking in function params

2019-02-13 Thread Andreas Sandberg (Gerrit)
Andreas Sandberg has submitted this change and it was merged. ( https://gem5-review.googlesource.com/c/public/gem5/+/15991 ) Change subject: python: Remove uses of tuple unpacking in function params .. python: Remove uses

[gem5-dev] Change in gem5/gem5[master]: python: Replace deprecated repr syntax

2019-02-13 Thread Andreas Sandberg (Gerrit)
Andreas Sandberg has submitted this change and it was merged. ( https://gem5-review.googlesource.com/c/public/gem5/+/15989 ) Change subject: python: Replace deprecated repr syntax .. python: Replace deprecated repr syntax

[gem5-dev] Change in gem5/gem5[master]: python: Switch from using compare to key in list sort

2019-02-13 Thread Andreas Sandberg (Gerrit)
Andreas Sandberg has submitted this change and it was merged. ( https://gem5-review.googlesource.com/c/public/gem5/+/15995 ) Change subject: python: Switch from using compare to key in list sort .. python: Switch from using

[gem5-dev] Change in gem5/gem5[master]: python: Replace deprecated repr syntax

2019-02-12 Thread Andreas Sandberg (Gerrit)
.. python: Replace deprecated repr syntax Change-Id: I5f9538cf2ca5ee17c51e7c5388d3aef363fcfa54 Signed-off-by: Andreas Sandberg --- M src/python/m5/util/grammar.py M src/python/m5/util/multidict.py M src/python/m5/util/sorteddict.py 3

[gem5-dev] Change in gem5/gem5[master]: python: Replace dict.has_key with 'key in dict'

2019-02-12 Thread Andreas Sandberg (Gerrit)
Andreas Sandberg has submitted this change and it was merged. ( https://gem5-review.googlesource.com/c/public/gem5/+/15987 ) Change subject: python: Replace dict.has_key with 'key in dict' .. python: Replace dict.has_key

[gem5-dev] Change in gem5/gem5[master]: python: Add missing defines import

2019-02-12 Thread Andreas Sandberg (Gerrit)
Andreas Sandberg has submitted this change and it was merged. ( https://gem5-review.googlesource.com/c/public/gem5/+/16402 ) Change subject: python: Add missing defines import .. python: Add missing defines import

[gem5-dev] Change in gem5/gem5[master]: python: Replace dict.has_key with 'key in dict'

2019-02-12 Thread Andreas Sandberg (Gerrit)
' .. python: Replace dict.has_key with 'key in dict' Python 3 has removed dict.has_key in favour of 'key in dict'. Change-Id: I9852a5f57d672bea815308eb647a0ce45624fad5 Signed-off-by: Andreas Sandberg --- M src/SConscript M src/arch

[gem5-dev] Change in gem5/gem5[master]: python: Add missing defines import

2019-02-12 Thread Andreas Sandberg (Gerrit)
Andreas Sandberg has uploaded this change for review. ( https://gem5-review.googlesource.com/c/public/gem5/+/16402 Change subject: python: Add missing defines import .. python: Add missing defines import The _check_tracing

[gem5-dev] Change in gem5/gem5[master]: python: Replace DictMixin with Mapping / MutableMapping

2019-02-12 Thread Andreas Sandberg (Gerrit)
Andreas Sandberg has submitted this change and it was merged. ( https://gem5-review.googlesource.com/c/public/gem5/+/15984 ) Change subject: python: Replace DictMixin with Mapping / MutableMapping .. python: Replace DictMixin

[gem5-dev] Change in gem5/gem5[master]: python: Replace orderdict with collections.OrderedDict

2019-02-12 Thread Andreas Sandberg (Gerrit)
Andreas Sandberg has submitted this change and it was merged. ( https://gem5-review.googlesource.com/c/public/gem5/+/16362 ) Change subject: python: Replace orderdict with collections.OrderedDict .. python: Replace orderdict

[gem5-dev] Change in gem5/gem5[master]: python: Update use of exec to work with Python 3

2019-02-12 Thread Andreas Sandberg (Gerrit)
Andreas Sandberg has submitted this change and it was merged. ( https://gem5-review.googlesource.com/c/public/gem5/+/15986 ) Change subject: python: Update use of exec to work with Python 3 .. python: Update use of exec

[gem5-dev] Change in gem5/gem5[master]: python: Switch to using open instead of file

2019-02-12 Thread Andreas Sandberg (Gerrit)
Andreas Sandberg has submitted this change and it was merged. ( https://gem5-review.googlesource.com/c/public/gem5/+/15985 ) Change subject: python: Switch to using open instead of file .. python: Switch to using open instead

[gem5-dev] Change in gem5/gem5[master]: tests: Rewrite Makefiles for pthreads test

2019-02-12 Thread Andreas Sandberg (Gerrit)
Andreas Sandberg has submitted this change and it was merged. ( https://gem5-review.googlesource.com/c/public/gem5/+/16022 ) Change subject: tests: Rewrite Makefiles for pthreads test .. tests: Rewrite Makefiles for pthreads

[gem5-dev] Change in gem5/gem5[master]: python: Switch to using open instead of file

2019-02-12 Thread Andreas Sandberg (Gerrit)
.. python: Switch to using open instead of file Python 3 doesn't support the file(name, mode) syntax which has been deprecated in favour of open. Change-Id: I35ef8690d97a5243860a64ff985fd22fa86253f1 Signed-off-by: Andreas Sandberg --- M src/python/importer.py M src/python/m5

[gem5-dev] Change in gem5/gem5[master]: python: Enforce absolute imports for Python 3 compatibility

2019-02-12 Thread Andreas Sandberg (Gerrit)
.. python: Enforce absolute imports for Python 3 compatibility Change-Id: Ia88d7fd472f7aed9b97df81468211384981bf6c6 Signed-off-by: Andreas Sandberg --- M src/python/importer.py M src/python/m5/SimObject.py M src/python/m5/__init__.py M src

[gem5-dev] Change in gem5/gem5[master]: python: Replace DictMixin with Mapping / MutableMapping

2019-02-12 Thread Andreas Sandberg (Gerrit)
-by: Andreas Sandberg --- M src/python/m5/debug.py 1 file changed, 10 insertions(+), 14 deletions(-) -- To view, visit https://gem5-review.googlesource.com/c/public/gem5/+/15984 To unsubscribe, or for help writing mail filters, visit https://gem5-review.googlesource.com/settings Gerrit-Project

[gem5-dev] Change in gem5/gem5[master]: python: Don't assume SimObjects live in the global namespace

2019-02-12 Thread Andreas Sandberg (Gerrit)
Andreas Sandberg has submitted this change and it was merged. ( https://gem5-review.googlesource.com/c/public/gem5/+/15981 ) Change subject: python: Don't assume SimObjects live in the global namespace .. python: Don't assume

[gem5-dev] Change in gem5/gem5[master]: arch-mips: Remove unused Python file

2019-02-12 Thread Andreas Sandberg (Gerrit)
Andreas Sandberg has submitted this change and it was merged. ( https://gem5-review.googlesource.com/c/public/gem5/+/16302 ) Change subject: arch-mips: Remove unused Python file .. arch-mips: Remove unused Python file Change

[gem5-dev] Change in gem5/gem5[master]: python: Make exception handling Python 3 safe

2019-02-12 Thread Andreas Sandberg (Gerrit)
Andreas Sandberg has submitted this change and it was merged. ( https://gem5-review.googlesource.com/c/public/gem5/+/15980 ) Change subject: python: Make exception handling Python 3 safe .. python: Make exception handling

[gem5-dev] Change in gem5/gem5[master]: python: Fix native module initialisation on Python 3

2019-02-12 Thread Andreas Sandberg (Gerrit)
Andreas Sandberg has submitted this change and it was merged. ( https://gem5-review.googlesource.com/c/public/gem5/+/15979 ) Change subject: python: Fix native module initialisation on Python 3 .. python: Fix native module

[gem5-dev] Change in gem5/gem5[master]: python: Switch to using open instead of file

2019-02-11 Thread Andreas Sandberg (Gerrit)
Andreas Sandberg has uploaded a new patch set (#3). ( https://gem5-review.googlesource.com/c/public/gem5/+/15985 ) Change subject: python: Switch to using open instead of file .. python: Switch to using open instead of file

[gem5-dev] Change in gem5/gem5[master]: arch-mips: Remove unused Python file

2019-02-11 Thread Andreas Sandberg (Gerrit)
Andreas Sandberg has uploaded this change for review. ( https://gem5-review.googlesource.com/c/public/gem5/+/16302 Change subject: arch-mips: Remove unused Python file .. arch-mips: Remove unused Python file Change-Id

Re: [gem5-dev] Including test workloads

2019-02-07 Thread Andreas Sandberg
On 07/02/2019 15:28, Jason Lowe-Power wrote: > Hi all, > > Based off of the conversation on [1] I think we should have a broader > discussion of how to include test code. > > We have a number of different options with tradeoffs. I'd like to get this > right the first time and not have to go back

[gem5-dev] Change in gem5/gem5[master]: tests: Add a helper to run external scripts

2019-01-31 Thread Andreas Sandberg (Gerrit)
Andreas Sandberg has submitted this change and it was merged. ( https://gem5-review.googlesource.com/c/public/gem5/+/15976 ) Change subject: tests: Add a helper to run external scripts .. tests: Add a helper to run external

[gem5-dev] Change in gem5/gem5[master]: python: Remove getCode() type workaround

2019-01-31 Thread Andreas Sandberg (Gerrit)
Andreas Sandberg has submitted this change and it was merged. ( https://gem5-review.googlesource.com/c/public/gem5/+/15978 ) Change subject: python: Remove getCode() type workaround .. python: Remove getCode() type workaround

[gem5-dev] Change in gem5/gem5[master]: sim: Prepare C++ side for Python 3

2019-01-31 Thread Andreas Sandberg (Gerrit)
Andreas Sandberg has submitted this change and it was merged. ( https://gem5-review.googlesource.com/c/public/gem5/+/15977 ) Change subject: sim: Prepare C++ side for Python 3 .. sim: Prepare C++ side for Python 3 Python 3

[gem5-dev] Change in gem5/gem5[master]: tests: Don't override tick rate in Ruby tests

2019-01-31 Thread Andreas Sandberg (Gerrit)
Andreas Sandberg has submitted this change and it was merged. ( https://gem5-review.googlesource.com/c/public/gem5/+/15975 ) Change subject: tests: Don't override tick rate in Ruby tests .. tests: Don't override tick rate

[gem5-dev] Change in gem5/gem5[master]: tests: Rewrite Makefiles for pthreads test

2019-01-29 Thread Andreas Sandberg (Gerrit)
Andreas Sandberg has uploaded this change for review. ( https://gem5-review.googlesource.com/c/public/gem5/+/16022 Change subject: tests: Rewrite Makefiles for pthreads test .. tests: Rewrite Makefiles for pthreads test

[gem5-dev] Experimental Python 3 support

2019-01-28 Thread Andreas Sandberg
Hi Everyone, I managed to find some time to do some gem5 hacking recently and decided it would be interesting to see what it would take to get gem5 to work with Python 3. It turns out it doesn't take that much work to get most things to work. I got to a point where thins seem to work, at least

[gem5-dev] Change in gem5/gem5[master]: RFC: python: Make metaclass declarations Python 3 safe

2019-01-28 Thread Andreas Sandberg (Gerrit)
Andreas Sandberg has uploaded a new patch set (#2). ( https://gem5-review.googlesource.com/c/public/gem5/+/15982 ) Change subject: RFC: python: Make metaclass declarations Python 3 safe .. RFC: python: Make metaclass

[gem5-dev] Change in gem5/gem5[master]: tests: Add a helper to run external scripts

2019-01-28 Thread Andreas Sandberg (Gerrit)
Andreas Sandberg has uploaded a new patch set (#2). ( https://gem5-review.googlesource.com/c/public/gem5/+/15976 ) Change subject: tests: Add a helper to run external scripts .. tests: Add a helper to run external scripts

[gem5-dev] Change in gem5/gem5[master]: python: Add Python 3 workarounds for long

2019-01-28 Thread Andreas Sandberg (Gerrit)
Andreas Sandberg has uploaded a new patch set (#2). ( https://gem5-review.googlesource.com/c/public/gem5/+/15988 ) Change subject: python: Add Python 3 workarounds for long .. python: Add Python 3 workarounds for long Python

[gem5-dev] Change in gem5/gem5[master]: WIP: configs: Make example configs to Python 3 compliant

2019-01-28 Thread Andreas Sandberg (Gerrit)
Andreas Sandberg has uploaded this change for review. ( https://gem5-review.googlesource.com/c/public/gem5/+/16002 Change subject: WIP: configs: Make example configs to Python 3 compliant .. WIP: configs: Make example

[gem5-dev] Change in gem5/gem5[master]: RFC: python: Fix unproxying issues

2019-01-28 Thread Andreas Sandberg (Gerrit)
Andreas Sandberg has uploaded this change for review. ( https://gem5-review.googlesource.com/c/public/gem5/+/16004 Change subject: RFC: python: Fix unproxying issues .. RFC: python: Fix unproxying issues There are cases

[gem5-dev] Change in gem5/gem5[master]: python: Enforce absolute imports for Python 3 compatibility

2019-01-28 Thread Andreas Sandberg (Gerrit)
Andreas Sandberg has uploaded a new patch set (#2). ( https://gem5-review.googlesource.com/c/public/gem5/+/15983 ) Change subject: python: Enforce absolute imports for Python 3 compatibility .. python: Enforce absolute

[gem5-dev] Change in gem5/gem5[master]: RFC: scons: Add hackish support for Python 3.5

2019-01-28 Thread Andreas Sandberg (Gerrit)
Andreas Sandberg has uploaded this change for review. ( https://gem5-review.googlesource.com/c/public/gem5/+/16003 Change subject: RFC: scons: Add hackish support for Python 3.5 .. RFC: scons: Add hackish support for Python

[gem5-dev] Change in gem5/gem5[master]: python: Add missing operators to NumericParamValue

2019-01-28 Thread Andreas Sandberg (Gerrit)
Andreas Sandberg has uploaded this change for review. ( https://gem5-review.googlesource.com/c/public/gem5/+/16001 Change subject: python: Add missing operators to NumericParamValue .. python: Add missing operators

[gem5-dev] Change in gem5/gem5[master]: tests: Update test scripts to work with Python 3

2019-01-28 Thread Andreas Sandberg (Gerrit)
Andreas Sandberg has uploaded this change for review. ( https://gem5-review.googlesource.com/c/public/gem5/+/15999 Change subject: tests: Update test scripts to work with Python 3 .. tests: Update test scripts to work

[gem5-dev] Change in gem5/gem5[master]: python: Fix param -> int conversion issues

2019-01-28 Thread Andreas Sandberg (Gerrit)
Andreas Sandberg has uploaded this change for review. ( https://gem5-review.googlesource.com/c/public/gem5/+/16000 Change subject: python: Fix param -> int conversion issues .. python: Fix param -> int conversion

[gem5-dev] Change in gem5/gem5[master]: python: Use __name__ instead of func_name for Py3 compat

2019-01-28 Thread Andreas Sandberg (Gerrit)
Andreas Sandberg has uploaded this change for review. ( https://gem5-review.googlesource.com/c/public/gem5/+/15997 Change subject: python: Use __name__ instead of func_name for Py3 compat .. python: Use __name__ instead

[gem5-dev] Change in gem5/gem5[master]: python: Switch from using compare to key in list sort

2019-01-28 Thread Andreas Sandberg (Gerrit)
Andreas Sandberg has uploaded this change for review. ( https://gem5-review.googlesource.com/c/public/gem5/+/15995 Change subject: python: Switch from using compare to key in list sort .. python: Switch from using compare

[gem5-dev] Change in gem5/gem5[master]: python: Fix params/proxy import loop

2019-01-28 Thread Andreas Sandberg (Gerrit)
Andreas Sandberg has uploaded this change for review. ( https://gem5-review.googlesource.com/c/public/gem5/+/15993 Change subject: python: Fix params/proxy import loop .. python: Fix params/proxy import loop

[gem5-dev] Change in gem5/gem5[master]: python: Add __bool__ helpers in addition to __nonzero__

2019-01-28 Thread Andreas Sandberg (Gerrit)
Andreas Sandberg has uploaded this change for review. ( https://gem5-review.googlesource.com/c/public/gem5/+/15996 Change subject: python: Add __bool__ helpers in addition to __nonzero__ .. python: Add __bool__ helpers

[gem5-dev] Change in gem5/gem5[master]: python: Remove uses of tuple unpacking in function params

2019-01-28 Thread Andreas Sandberg (Gerrit)
Andreas Sandberg has uploaded this change for review. ( https://gem5-review.googlesource.com/c/public/gem5/+/15991 Change subject: python: Remove uses of tuple unpacking in function params .. python: Remove uses of tuple

[gem5-dev] Change in gem5/gem5[master]: python: Update use of exec to work with Python 3

2019-01-28 Thread Andreas Sandberg (Gerrit)
Andreas Sandberg has uploaded this change for review. ( https://gem5-review.googlesource.com/c/public/gem5/+/15986 Change subject: python: Update use of exec to work with Python 3 .. python: Update use of exec to work

[gem5-dev] Change in gem5/gem5[master]: python: Stop using basestring to test for strings

2019-01-28 Thread Andreas Sandberg (Gerrit)
Andreas Sandberg has uploaded this change for review. ( https://gem5-review.googlesource.com/c/public/gem5/+/15998 Change subject: python: Stop using basestring to test for strings .. python: Stop using basestring to test

[gem5-dev] Change in gem5/gem5[master]: python: Don't assume SimObjects live in the global namespace

2019-01-28 Thread Andreas Sandberg (Gerrit)
Andreas Sandberg has uploaded this change for review. ( https://gem5-review.googlesource.com/c/public/gem5/+/15981 Change subject: python: Don't assume SimObjects live in the global namespace .. python: Don't assume

[gem5-dev] Change in gem5/gem5[master]: python: Make iterator handling Python 3 compatible

2019-01-28 Thread Andreas Sandberg (Gerrit)
Andreas Sandberg has uploaded this change for review. ( https://gem5-review.googlesource.com/c/public/gem5/+/15992 Change subject: python: Make iterator handling Python 3 compatible .. python: Make iterator handling Python 3

[gem5-dev] Change in gem5/gem5[master]: python: Fix Param initialization issue in Python 3

2019-01-28 Thread Andreas Sandberg (Gerrit)
Andreas Sandberg has uploaded this change for review. ( https://gem5-review.googlesource.com/c/public/gem5/+/15990 Change subject: python: Fix Param initialization issue in Python 3 .. python: Fix Param initialization issue

[gem5-dev] Change in gem5/gem5[master]: python: Add fallbacks for packages that have been renamed

2019-01-28 Thread Andreas Sandberg (Gerrit)
Andreas Sandberg has uploaded this change for review. ( https://gem5-review.googlesource.com/c/public/gem5/+/15994 Change subject: python: Add fallbacks for packages that have been renamed .. python: Add fallbacks

[gem5-dev] Change in gem5/gem5[master]: python: Remove getCode() type workaround

2019-01-28 Thread Andreas Sandberg (Gerrit)
Andreas Sandberg has uploaded this change for review. ( https://gem5-review.googlesource.com/c/public/gem5/+/15978 Change subject: python: Remove getCode() type workaround .. python: Remove getCode() type workaround Python

[gem5-dev] Change in gem5/gem5[master]: tests: Don't override tick rate in Ruby tests

2019-01-28 Thread Andreas Sandberg (Gerrit)
Andreas Sandberg has uploaded this change for review. ( https://gem5-review.googlesource.com/c/public/gem5/+/15975 Change subject: tests: Don't override tick rate in Ruby tests .. tests: Don't override tick rate in Ruby

[gem5-dev] Change in gem5/gem5[master]: RFC: python: Make metaclass declarations Python 3 safe

2019-01-28 Thread Andreas Sandberg (Gerrit)
Andreas Sandberg has uploaded this change for review. ( https://gem5-review.googlesource.com/c/public/gem5/+/15982 Change subject: RFC: python: Make metaclass declarations Python 3 safe .. RFC: python: Make metaclass

[gem5-dev] Change in gem5/gem5[master]: python: Replace deprecated repr syntax

2019-01-28 Thread Andreas Sandberg (Gerrit)
Andreas Sandberg has uploaded this change for review. ( https://gem5-review.googlesource.com/c/public/gem5/+/15989 Change subject: python: Replace deprecated repr syntax .. python: Replace deprecated repr syntax Change-Id

[gem5-dev] Change in gem5/gem5[master]: python: Replace DictMixin with Mapping / MutableMapping

2019-01-28 Thread Andreas Sandberg (Gerrit)
Andreas Sandberg has uploaded this change for review. ( https://gem5-review.googlesource.com/c/public/gem5/+/15984 Change subject: python: Replace DictMixin with Mapping / MutableMapping .. python: Replace DictMixin

[gem5-dev] Change in gem5/gem5[master]: python: Switch to using open instead of file

2019-01-28 Thread Andreas Sandberg (Gerrit)
Andreas Sandberg has uploaded this change for review. ( https://gem5-review.googlesource.com/c/public/gem5/+/15985 Change subject: python: Switch to using open instead of file .. python: Switch to using open instead of file

[gem5-dev] Change in gem5/gem5[master]: tests: Add a helper to run external scripts

2019-01-28 Thread Andreas Sandberg (Gerrit)
Andreas Sandberg has uploaded this change for review. ( https://gem5-review.googlesource.com/c/public/gem5/+/15976 Change subject: tests: Add a helper to run external scripts .. tests: Add a helper to run external scripts

[gem5-dev] Change in gem5/gem5[master]: python: Replace dict.has_key with 'key in dict'

2019-01-28 Thread Andreas Sandberg (Gerrit)
Andreas Sandberg has uploaded this change for review. ( https://gem5-review.googlesource.com/c/public/gem5/+/15987 Change subject: python: Replace dict.has_key with 'key in dict' .. python: Replace dict.has_key with 'key

[gem5-dev] Change in gem5/gem5[master]: python: Add Python 3 workarounds for long

2019-01-28 Thread Andreas Sandberg (Gerrit)
Andreas Sandberg has uploaded this change for review. ( https://gem5-review.googlesource.com/c/public/gem5/+/15988 Change subject: python: Add Python 3 workarounds for long .. python: Add Python 3 workarounds for long

[gem5-dev] Change in gem5/gem5[master]: python: Enforce absolute imports for Python 3 compatibility

2019-01-28 Thread Andreas Sandberg (Gerrit)
Andreas Sandberg has uploaded this change for review. ( https://gem5-review.googlesource.com/c/public/gem5/+/15983 Change subject: python: Enforce absolute imports for Python 3 compatibility .. python: Enforce absolute

[gem5-dev] Change in gem5/gem5[master]: python: Make exception handling Python 3 safe

2019-01-28 Thread Andreas Sandberg (Gerrit)
Andreas Sandberg has uploaded this change for review. ( https://gem5-review.googlesource.com/c/public/gem5/+/15980 Change subject: python: Make exception handling Python 3 safe .. python: Make exception handling Python 3

[gem5-dev] Change in gem5/gem5[master]: sim: Prepare C++ side for Python 3

2019-01-28 Thread Andreas Sandberg (Gerrit)
Andreas Sandberg has uploaded this change for review. ( https://gem5-review.googlesource.com/c/public/gem5/+/15977 Change subject: sim: Prepare C++ side for Python 3 .. sim: Prepare C++ side for Python 3 Python 3 uses wide

[gem5-dev] Change in gem5/gem5[master]: python: Fix native module initialisation on Python 3

2019-01-28 Thread Andreas Sandberg (Gerrit)
Andreas Sandberg has uploaded this change for review. ( https://gem5-review.googlesource.com/c/public/gem5/+/15979 Change subject: python: Fix native module initialisation on Python 3 .. python: Fix native module

Re: [gem5-dev] Thoughts On Project Using C++14 (two years late)

2019-01-15 Thread Andreas Sandberg
Hi all, In practice, C++14 support should mean g++ version 5 or above or clang 3.4 or above. Clang supports all C++17 features from version 5, but most features should be supported from version 3.9 (a large subset is supported in 3.8). GCC version 7 and above seems to support most of C++17.

[gem5-dev] Change in gem5/gem5[master]: sim-se, arch-arm: Add support for getdents64

2019-01-10 Thread Andreas Sandberg (Gerrit)
Andreas Sandberg has submitted this change and it was merged. ( https://gem5-review.googlesource.com/c/public/gem5/+/15438 ) Change subject: sim-se, arch-arm: Add support for getdents64 .. sim-se, arch-arm: Add support

[gem5-dev] Change in gem5/gem5[master]: sim-se: Refactor clone to avoid most ifdefs

2019-01-10 Thread Andreas Sandberg (Gerrit)
Andreas Sandberg has submitted this change and it was merged. ( https://gem5-review.googlesource.com/c/public/gem5/+/15435 ) Change subject: sim-se: Refactor clone to avoid most ifdefs .. sim-se: Refactor clone to avoid most

[gem5-dev] Change in gem5/gem5[master]: arch-arm, sim-se: Fix incorrect SP handling in clone

2019-01-10 Thread Andreas Sandberg (Gerrit)
Andreas Sandberg has submitted this change and it was merged. ( https://gem5-review.googlesource.com/c/public/gem5/+/15436 ) Change subject: arch-arm, sim-se: Fix incorrect SP handling in clone .. arch-arm, sim-se: Fix

[gem5-dev] Change in gem5/gem5[master]: arch-arm, sim-se: Add support for TLS in clone

2019-01-10 Thread Andreas Sandberg (Gerrit)
Andreas Sandberg has submitted this change and it was merged. ( https://gem5-review.googlesource.com/c/public/gem5/+/15437 ) Change subject: arch-arm, sim-se: Add support for TLS in clone .. arch-arm, sim-se: Add support

[gem5-dev] Change in gem5/gem5[master]: sim-se: Correctly calculate next PC in clone

2019-01-10 Thread Andreas Sandberg (Gerrit)
Andreas Sandberg has submitted this change and it was merged. ( https://gem5-review.googlesource.com/c/public/gem5/+/15417 ) Change subject: sim-se: Correctly calculate next PC in clone .. sim-se: Correctly calculate next PC

[gem5-dev] Change in gem5/gem5[master]: sim-se: Use CONFIG_CLONE_BACKWARDS for Arm

2019-01-10 Thread Andreas Sandberg (Gerrit)
Andreas Sandberg has submitted this change and it was merged. ( https://gem5-review.googlesource.com/c/public/gem5/+/15416 ) Change subject: sim-se: Use CONFIG_CLONE_BACKWARDS for Arm .. sim-se: Use CONFIG_CLONE_BACKWARDS

[gem5-dev] Change in gem5/gem5[master]: arch-arm, sim-se: Wire up syscalls needed for pthreads

2019-01-10 Thread Andreas Sandberg (Gerrit)
Andreas Sandberg has submitted this change and it was merged. ( https://gem5-review.googlesource.com/c/public/gem5/+/15415 ) Change subject: arch-arm, sim-se: Wire up syscalls needed for pthreads .. arch-arm, sim-se: Wire up

[gem5-dev] Change in gem5/gem5[master]: sim-se, arch-arm: Add support for getdents64

2019-01-09 Thread Andreas Sandberg (Gerrit)
Andreas Sandberg has uploaded a new patch set (#2). ( https://gem5-review.googlesource.com/c/public/gem5/+/15438 ) Change subject: sim-se, arch-arm: Add support for getdents64 .. sim-se, arch-arm: Add support for getdents64

[gem5-dev] Change in gem5/gem5[master]: arch-arm, sim-se: Add support for TLS in clone

2019-01-09 Thread Andreas Sandberg (Gerrit)
Andreas Sandberg has uploaded this change for review. ( https://gem5-review.googlesource.com/c/public/gem5/+/15437 Change subject: arch-arm, sim-se: Add support for TLS in clone .. arch-arm, sim-se: Add support for TLS

[gem5-dev] Change in gem5/gem5[master]: sim-se: Refactor clone to avoid most ifdefs

2019-01-09 Thread Andreas Sandberg (Gerrit)
Andreas Sandberg has uploaded this change for review. ( https://gem5-review.googlesource.com/c/public/gem5/+/15435 Change subject: sim-se: Refactor clone to avoid most ifdefs .. sim-se: Refactor clone to avoid most ifdefs

[gem5-dev] Change in gem5/gem5[master]: arch-arm, sim-se: Fix incorrect SP handling in clone

2019-01-09 Thread Andreas Sandberg (Gerrit)
Andreas Sandberg has uploaded this change for review. ( https://gem5-review.googlesource.com/c/public/gem5/+/15436 Change subject: arch-arm, sim-se: Fix incorrect SP handling in clone .. arch-arm, sim-se: Fix incorrect SP

<    1   2   3   4   5   6   7   8   9   10   >