[ACTIVITY] Weekly report for week 50

2018-12-17 Thread Thomas Preudhomme
=== Work done during the last week ===

* LLVM-432 (Support arithmetic on FileCheck regex variable): in progress
  + finished cleaning up code
  + rebase on top of trunk
  + fix all issues discovered with check-all
  + add detection of conflict between numeric variable and pattern variable
  + add memory management (yay for shared_ptr)
* GNU-593 (Tied softfloat mul and div): upstream review
  + search for a non-elf arm target
 -> none seems supported
* Fix issues with -mslow-flash-data: committed
  + finish testing patch for big endian and respond to upstream comments
* GNU-598 (Do not select hardfloat when targeting Thumb-1 with mfpu
set): upstream review
  + write and test patch, submit upstream
* GNU-597 (pr77904.c test failure): upstream review
  + Investigate whether code added for PR77904 should be kept
  + test and submit patch for external review


=== Plan for week 51 ===

* DSGHACK-25 (Support arithmetic on FileCheck regex variable):
  + extend testcase coverage (add tests for latest syntax change and
add more negative testing)
  + clean up the code written last week
  + improve documentation
* Tied softfloat mul and div:
  + get it committed
* GNU-598 (Do not select hardfloat when targeting Thumb-1 with mfpu set):
  + get it committed
* GNU-597 (pr77904.c test failure):
  + get it committed
* Try to reproduce perf issue mentioned in week #30's weekly report on
latest perf
___
linaro-toolchain mailing list
linaro-toolchain@lists.linaro.org
https://lists.linaro.org/mailman/listinfo/linaro-toolchain


[ACTIVITY] Weekly report for week 49

2018-12-11 Thread Thomas Preudhomme
=== Work done during last week ===

* DSGHACK-25 (Support arithmetic on FileCheck regex variable):
  + simplifies how numeric expression are matched and checked, easier
to explain too
  + start code cleanup and increasing testing, ETA: end of next week
* Line management.


=== Plan for week 50 ===

* DSGHACK-25 (Support arithmetic on FileCheck regex variable):
  + extend testcase coverage (add tests for latest syntax change and
add more negative testing)
  + finish cleaning up the code
  + improve documentation
* Try to reproduce perf issue mentioned in week #30's weekly report on
latest perf
* Line management
___
linaro-toolchain mailing list
linaro-toolchain@lists.linaro.org
https://lists.linaro.org/mailman/listinfo/linaro-toolchain


[ACTIVITY] Weekly report for weeks 47 & 48

2018-11-30 Thread Thomas Preudhomme
=== Work done during the past 2 weeks ===

* GNU-296 (Fix stack protector on ARM): committed!
* LLVM-432 (Support arithmetic on FileCheck regex variable):
  + finished reworking parsing code to be separate from evaluation and support
more complex expression
  + fix compile errors and bugs found when running tests added to check feature
* Write patch to diagnose error when compiling Armv8-M Baseline CMSE
code with -mfpu
  -> as unintended consequence, needs rewrite
* Wrote and committed patch to improve comments for some data structure in ld
* Misc:
  + various meeting about my departure from Arm & Linaro


=== Plan for week 49 ===

LLVM-432 (Support arithmetic on FileCheck regex variable):
  + extend testcase coverage (add tests for latest syntax change and
add more negative testing)
  + clean up the code
  + improve documentation
* Try to reproduce perf issue mentioned in week #30's weekly report on
latest perf
* Line management:
  + continue progress on rotations
___
linaro-toolchain mailing list
linaro-toolchain@lists.linaro.org
https://lists.linaro.org/mailman/listinfo/linaro-toolchain


[ACTIVITY] Weekly report for weeks 45 & 46

2018-11-16 Thread Thomas Preudhomme
=== Work done during the past 2 weeks ===

* Resurrect code size optimization for fmul/dmul from Tony Wang: bootstraping
  + rework slightly to better deal with switch of section and deal with
several possible section layout
  + start anew with a new approach based on symbol visibility
-> works without -gc-sections and does not rely on section layout
* Fix -mslow-flash-data: ready to upstream on Monday
  + some more cleanup and code improvement
* LLVM-432 (Support arithmetic on FileCheck regex variable):
  + started reworking parsing code to be separate from evaluation and support
more complex expression
* Infrastructure code review


=== Plan for week 47 ===

* LLVM-432 (Support arithmetic on FileCheck regex variable):
  + extend testcase coverage (add tests for latest syntax change and
add more negative testing)
  + finish cleaning up the code
* Try to reproduce perf issue mentioned in week #30's weekly report on
latest perf
* Line management.
___
linaro-toolchain mailing list
linaro-toolchain@lists.linaro.org
https://lists.linaro.org/mailman/listinfo/linaro-toolchain


[ACTIVITY] Weekly report for week 44

2018-11-06 Thread Thomas Preudhomme
=== Work done during the past week ===

* Resurrect code size optimization for fmul/dmul from Tony Wang:
  + clean up new testsuite directive andd testcases
* Fix -mslow-flash-data:
  + resurrect / rebase Arm internal patch to fix -mslow-flash-data
once and for all
  + many fixes to make it pass all testsuite with -mslow-flash-data without ICE
* Line management.


=== Plan for week 45 ===

* LLVM-432 (Support arithmetic on FileCheck regex variable):
  + extend testcase coverage (add tests for latest syntax change and
add more negative testing)
  + finish cleaning up the code
* Try to reproduce perf issue mentioned in week #30's weekly report on
latest perf
___
linaro-toolchain mailing list
linaro-toolchain@lists.linaro.org
https://lists.linaro.org/mailman/listinfo/linaro-toolchain


[ACTIVITY] Weekly report for week 43

2018-10-29 Thread Thomas Preudhomme
=== Work done during this past week ===

* GNU-296 / GCC PR85434 / CVE-2018-12886: upstream review
  + avoid useless cmp after eors
  + fix another missing earlyclobber
  + full Thumb-1, Thumb-2 and Arm bootstrap with testing with and
without -fPIC, with and without -fstack-protector-all
* Continue patch to further update cpus and architectures in bfd:
external review
  + also teach GAS about Armv5TEJ and newer wrt. bfd architectures tags
  + fix ld action in run_dump_test
  + add testing for all this and submit for external review
* Resurrect code size optimization for fmul/dmul from Tony Wang:
  + rebase on trunk
* Line management

=== Plan for week 43 ===

* LLVM-432 (Support arithmetic on FileCheck regex variable):
  + extend testcase coverage (add tests for latest syntax change and
add more negative testing)
  + finish cleaning up the code
* Try to reproduce perf issue mentioned in week #30's weekly report on
latest perf
* Line management
___
linaro-toolchain mailing list
linaro-toolchain@lists.linaro.org
https://lists.linaro.org/mailman/listinfo/linaro-toolchain


[ACTIVITY] Weekly report for week 42

2018-10-19 Thread Thomas Preudhomme
=== Work done during this past week ===

* GNU-296 / GCC PR85434 / CVE-2018-12886:
  + few more issues fixed and associated testing
  + now also running Thumb-1 bootstrap and testing
* Prepare patch to further update cpus and architectures in bfd
* Line management


=== Plan for week 43 ===

* GNU-296 / GCC PR85434 / CVE-2018-12886:
  + finish testing, and submit new stack protector patch for upstream review
* LLVM-432 (Support arithmetic on FileCheck regex variable):
  + extend testcase coverage (add tests for latest syntax change and
add more negative testing)
  + finish cleaning up the code
* Try to reproduce perf issue mentioned in week #30's weekly report on
latest perf
* Line management
___
linaro-toolchain mailing list
linaro-toolchain@lists.linaro.org
https://lists.linaro.org/mailman/listinfo/linaro-toolchain


[ACTIVITY] Weekly report for week 41

2018-10-12 Thread Thomas Preudhomme
=== Work done during this past week ===

* TCWG-1428 (Support arithmetic on FileCheck regex variable):
  + continued cleaning up code and painfully rebased it on recent trunk
* GNU-296 / GCC PR85434 / CVE-2018-12886:
  + fixed changes to routines for PIC access to use specified register
  + fixed 2 more issues in stack protector new instruction patterns
  + testing for arm and thumb2, now starting over due to one of the above issues
* GNU-580 / PR86968: in progress
  + investigate, try 2 approaches, need to start looking into 3rd approach
* Line management.


=== Plan for week 42 ===

* GNU-296 / GCC PR85434 / CVE-2018-12886:
  + finish testing, and submit new stack protector patch for upstream review
* TCWG-1428 (Support arithmetic on FileCheck regex variable):
  + extend testcase coverage (add tests for latest syntax change and
add more negative testing)
  + finish cleaning up the code
* GNU-580 / PR86968: in progress
  + attempt 3rd approach
* Try to reproduce perf issue mentioned in week #30's weekly report on
latest perf
* Line management:
  + continue progress on rotations
  + start preparing first AFDS
___
linaro-toolchain mailing list
linaro-toolchain@lists.linaro.org
https://lists.linaro.org/mailman/listinfo/linaro-toolchain


[ACTIVITY] Weekly report for week 40

2018-10-05 Thread Thomas Preudhomme
=== Work done during this past week ===

* One day annual leave
* TCWG-1428 (Support arithmetic on FileCheck regex variable):
  + started cleaning up code and continued adding support for last syntax tweaks
* TCWG-1379 / GCC PR85434 / CVE-2018-12886: rework needed
  + After more testing committed fix for register allocator and
reverted following regression
  + fall back to workaround as register allocator lack information to
decide whether it's safe to not reload an address
  + start testing workaround more extensively
* TCWG-1470 / PR87374: upstream review
  + add missing documentation, improve related code slightly, submit
for external review again
 Misc:
  + bits of line management
  + Doughnut session on OSS strategy
  + discussion around JIRA use in TCWG


=== Plan for week 41 ===

* TCWG-1379 / GCC PR85434 / CVE-2018-12886:
  + finish testing, and submit new stack protector patch for upstream review
* TCWG-1428 (Support arithmetic on FileCheck regex variable):
  + finish change to support last syntax changes
  + extend testcase coverage (add tests for latest syntax change and
add more negative testing)
  + start cleaning up the code
* Try to reproduce perf issue mentioned in week #30's weekly report on
latest perf
* Line management
___
linaro-toolchain mailing list
linaro-toolchain@lists.linaro.org
https://lists.linaro.org/mailman/listinfo/linaro-toolchain


[ACTIVITY] Weekly report for week 37 to 39

2018-09-28 Thread Thomas Preudhomme
=== Work done during these past 3 weeks ===

* DSGHACK-25 (Support arithmetic on FileCheck regex variable):
  + all my tests pass, started to implement further minor changes to the syntax
* PR87374: external review
  + investigate bug, write patch, test it and send for external review
* GCC PR85434 / CVE-2018-12886: rework needed
  + Approved upstream but found when doing last minute testing after rebase
  + Testing on a wide number of targets a patch to register allocator
to properly ignore some operand when told to
* Linaro Connect Vancouver 2018
  + prepare talk, attend event and write up reports
* Regression testing of LLVM release:
  + extend script to do a LLVM release to be able to build from an
arbitrary branch
  + make weekly regression build from trunk
  + fix here-doc in regression job to test release when scripts it use change
 Misc:
  + bits of line management
  + catching up on emails


=== Plan for week 40 ===

* GCC PR85434 / CVE-2018-12886:
  + finish testing, and get both register allocator fix and stack
protector fix committed
* PR87374: external review
  + add documentation and send back for external review
* DSGHACK-25 (Support arithmetic on FileCheck regex variable):
  + finish change to suport last syntax changes
  + extend testcase coverage (add tests for latest syntax change and
add more negative testing)
  + start cleaning up the code
* Try to reproduce perf issue mentioned in week #30's weekly report on
latest perf
* Line management
___
linaro-toolchain mailing list
linaro-toolchain@lists.linaro.org
https://lists.linaro.org/mailman/listinfo/linaro-toolchain


[ACTIVITY] Weekly report for week 36

2018-09-05 Thread Thomas Preudhomme
=== Work done during this 3-day week ===

* TCWG-1428 (Support arithmetic on FileCheck regex variable):
  + continue to rework patch, feature complete and most testcase pass
  + sent another external email to hammer a few details
* Arm new starter welcome and related faff
* GNU Tools Cauldron + travel from Thursday to Sunday


=== Plan for week 37 ===

* TCWG-1428 (Support arithmetic on FileCheck regex variable):
  + fix last bugs, start testing and cleanup
* Try to reproduce perf issue mentioned in week #30's weekly report on
latest perf
___
linaro-toolchain mailing list
linaro-toolchain@lists.linaro.org
https://lists.linaro.org/mailman/listinfo/linaro-toolchain


[ACTIVITY] Weekly report for week 35

2018-08-31 Thread Thomas Preudhomme
=== Work done during this week ===

* TCWG-1379 / GCC PR85434 / CVE-2018-12886: rework needed
  + finished testing and submitted for external review
* TCWG-1428 (Support arithmetic on FileCheck regex variable): address comments
  + continue to rework patch
* Regression testing of LLVM release process:
  + Add support to build from a branch (incl. trunk)
  + Make weekly regression testing from trunk
  + start enabling regression testing of Linaro LLVM release process
when scripts it use change
* Prepare for becoming a line manager next week


=== Plan for week 36 ===

* Welcome new starter
* Finish enabling regression testing of Linaro LLVM release process
when scripts it use change
* DSGHACK-25 (Support arithmetic on FileCheck regex variable): address comments
  + continue to rework patch
* Try to reproduce perf issue mentioned in week #30s weekly report on
latest perf
___
linaro-toolchain mailing list
linaro-toolchain@lists.linaro.org
https://lists.linaro.org/mailman/listinfo/linaro-toolchain


[ACTIVITY] Weekly report for week 34

2018-08-22 Thread Thomas Preudhomme
Note: annual leave tomorrow and Friday, as per my calendar

=== Work done during 3-day week ===

* TCWG-1379 / GCC PR85434 / CVE-2018-12886: rework needed
  + fix 2 more issues with retesting each time
* More knowledge transfer within Arm (writing a script to automate manual
task in GNU Arm Embedded Toolchain release to allow others to do it)
* TCWG-1428 / DSGHACK-25 (Support arithmetic on FileCheck regex variable):
address comments
  + continue to rework patch
* Enable weekly regression testing of LLVM release process jenkins job
* 2 days off annual leave



=== Plan for week 35 ===


* Enable regression testing of Linaro LLVM release process when scripts it
use change
* TCWG-1428 / DSGHACK-25 (Support arithmetic on FileCheck regex variable):
address comments
  + continue to rework patch
* TCWG-1379 / GCC PR85434 / CVE-2018-12886: rework needed
  + submit for external review
* Try to reproduce perf issue mentioned in week #30s weekly report on
latest perf
___
linaro-toolchain mailing list
linaro-toolchain@lists.linaro.org
https://lists.linaro.org/mailman/listinfo/linaro-toolchain


[ACTIVITY] Weekly report for week 33

2018-08-18 Thread Thomas Preudhomme
Note: I'll be on holidays Thursday and Friday next week.

=== Work done during 3-day week ===

* TCWG-1379 / GCC PR85434 / CVE-2018-12886: rework needed
  + heavy testing
* TCWG-1337 / LLVM PR34170: get backport to LLVM 7 branch
* create design review for -mfpu=auto option in GAS
  -> https://confluence.arm.com/display/CTP/Auto+FPU+for+GNU+as
* Knowledge transfer within Arm
* Misc:
  + GCC Linaro sync
* 2 days off taking care of my feverish child


=== Plan for week 34 ===

* Enable regression testing of Linaro release process
* TCWG-1428 (Support arithmetic on FileCheck regex variable): address
comments
  + continue to rework patch
* TCWG-1379 / GCC PR85434 / CVE-2018-12886: rework needed
  + investigate aarch64 glibc regression
* Try to reproduce perf issue mentioned in week #30s weekly report on
latest perf
___
linaro-toolchain mailing list
linaro-toolchain@lists.linaro.org
https://lists.linaro.org/mailman/listinfo/linaro-toolchain


[ACTIVITY] Weekly report for week 32

2018-08-10 Thread Thomas Preudhomme
=== Work done during this week ===

* TCWG-1379 / GCC PR85434 / CVE-2018-12886: rework needed
  + fix issues seen on x86_64 and start a bigger round of testing
* TCWG-1337 / LLVM PR34170: last patch committed to trunk
  + address review comments and commit it once approved, then request
backport to LLVM 7 branch
* Submit and commit patch to clarify what tm.texi needs copying when
tm.texi.in is updated in source tree
* Misc:
  + Linaro syncs
  + 2 days and a half of Linaro JIRA gardening


=== Plan for week 33 ===

* Enable regression testing of Linaro release process
* DSGHACK-25 (Support arithmetic on FileCheck regex variable): address comments
  + continue to rework patch
* GCC PR85434 / CVE-2018-12886: rework needed
  + confirm all regressions are fixed
  + finish testing and submit for review
* Try to reproduce perf issue mentioned in week #30s weekly report on
latest perf
___
linaro-toolchain mailing list
linaro-toolchain@lists.linaro.org
https://lists.linaro.org/mailman/listinfo/linaro-toolchain


[ACTIVITY] Weekly report for week 31

2018-08-07 Thread Thomas Preudhomme
=== Work done during this week ===

* TCWG-1379 / GCC PR85434 / CVE-2018-12886: rework needed
+  commit and revert due to regression on x86 and in glibc for aarch64
   -> seems there is at least 2 issues, *sigh*
* TCWG-1337 / LLVM PR34170:
  + track down and fix issue that patch 2/3 uncovered, then reapply 2/3
  + investigate regression from patch 1/3, fixed by patch 3/3
fortunately and believe this is the right fix
* Continue work on TCWG-1428 (Support arithmetic on FileCheck regex variable):
  + start rework patch to follow new syntax and accept numeric
expressions with several variables
* Linaro PR3943:
  + investigate issue, propose several workarounds to customer and
raise need for GCC release with combined multilib
* Misc:
  + Linaro syncs
  + bits of Linaro JIRA gardening
  + new ask question button and typo fix on developer.arm.com's GNU RM page
  + prepare Linaro Connect



=== Plan for week 32 ===

* Summarize state of GNU EPIC in JIRA
* Enable regression testing of Linaro release process
* DSGHACK-25 (Support arithmetic on FileCheck regex variable): address comments
  + continue to rework patch
* GCC PR85434 / CVE-2018-12886: rework needed
  + investigate regressions
* Try to reproduce perf issue mentioned in last weekly report on latest perf
___
linaro-toolchain mailing list
linaro-toolchain@lists.linaro.org
https://lists.linaro.org/mailman/listinfo/linaro-toolchain


[ACTIVITY] Weekly report for week 30

2018-07-30 Thread Thomas Preudhomme
=== Work done during this 4day week ===

* Continued looking into MCF branch prediction overload due to too
many consecutive branches:
  + managed to get reproducible results
-> was missing --buildid-dir option when invoking perf
-> above flag seems ignored if a binary with same path exists
where the initial binary was built
  + rerun again sampling only one event to confirm I get # of samples
* sampling freq = run time
  -> conclusion: LLVM as good as GCC for SPEC2006 MCF, profile
different because LLVM inlines one of the hot functions
* GCC PR85434 / CVE-2018-12886: upstream review
+  finish testing and submit for external review
* LLVM PR34170:
  + address comments and commit once approved
 -> most build bot failed to run the test the commit added, got
reverted before I could
  + investigate test failure -> does not fail when LLVM compiled with
GCC or in Debug mode
* Continue work on DSGHACK-25 (Support arithmetic on FileCheck regex variable):
  + hammer out syntax based on upstream feedback about what would be
desirable as FileCheck expressions
* Misc:
  + Linaro LLVM buildbot babysitting
  + upstream code review
* One day off on Friday



=== Plan for week 31 ===

* TCWG-1428 (Support arithmetic on FileCheck regex variable): address comments
  + rework patch once syntax is agreed
* Track down what causes testcase added for patch 2/3 for LLVM PR34170
* Try to reproduce perf issue mentioned above on latest perf
___
linaro-toolchain mailing list
linaro-toolchain@lists.linaro.org
https://lists.linaro.org/mailman/listinfo/linaro-toolchain


[ACTIVITY] Weekly report for week 29

2018-07-22 Thread Thomas Preudhomme
=== Work done during this 4.5day week ===

* TCWG-1062 (MCF branch prediction overload due to too many
consecutive branches):
  + rework reproduction steps around an existing script that does all
the steps of downloading and installing the benchmark and run it under
perf
  + gather what was observed that triggered the ticket I'm working on
 -> narrowed down to 2/3 functions to be on the lookout
  + benchmark GCC and LLVM and compare the profile for these functions
-> bingo, I can see a branch issue
  + try to get assembly files to add nop and test performance again
 -> code in assembly file is different from output of perf report,
need to rerun benchmark again to make sure I didn't fail there (sigh)
* TCWG-1379 / GCC PR85434 / CVE-2018-12886: upstream review
  + reply to upstream review comments
  + start to test tightening predicate for new instruction pattern
-> weird build error when trying to bootstrap unrelated to my
changes (missing header issues in stage 1 libgcc build)
* TCWG-1337 / LLVM PR34170:
  + respond to upstream review comments
* Continue work on TCWG-1428 (Support arithmetic on FileCheck regex variable):
  + hammer out syntax based on upstream feedback about what would be
desirable as FileCheck expressions
* Misc:
  + Linaro LLVM buildbot babysitting
  + Arm internal presentation
* Half a day off on Friday



=== Plan for week 30 ===

* TCWG-1428 (Support arithmetic on FileCheck regex variable): address comments
  + rework patch once syntax is agreed
* TCWG-1062 (MCF branch prediction overload due to too many
consecutive branches):
  + find out why assembly file from -save-temps is different from perf
report output
  + check performance when adding padding
  + start to investigate a solution
___
linaro-toolchain mailing list
linaro-toolchain@lists.linaro.org
https://lists.linaro.org/mailman/listinfo/linaro-toolchain


[ACTIVITY] Weekly report for week 28

2018-07-13 Thread Thomas Preudhomme
=== Work done during this week ===

* Continue work on TCWG-1428 (Support arithmetic on FileCheck regex
variable): external review
  + finish adding comments
  + add documentation and testcase
  + respond to feedback and send email to llvm-dev to discuss best
syntax for new feature
* Started looking into TCWG-1062 (MCF branch prediction overload due
to too many consecutive branches):
  + figure out what machines to run spec on, where to find spec and
how to use Linaro scripts to install/configure and run it (thanks to
Christophe Lyon)
  + try to build a native clang toolchain but throw it away since
clang does not link (perhaps due to lack of memory (4G machine))
  + learn how to build a cross LLVM toolchain (thanks to Peter Smith)
  + figure out how to get the right privilege to run perf (thanks to
Christophe Lyon)
* Misc:
  + LLVM buildbot babysitting with Peter Smith
  + attend presentation about Windows on Arm
  + start a full reorganization of my workflow
  + finish handover of my Arm tickets

=== Plan for week 28 ===

* DSGHACK-25 (Support arithmetic on FileCheck regex variable): address comments
  + rework patch once syntax is agreed
* Continue looking into MCF branch prediction overload due to too many
consecutive branches:
  + reproduce/confirm issue
  + start to investigate a solution
___
linaro-toolchain mailing list
linaro-toolchain@lists.linaro.org
https://lists.linaro.org/mailman/listinfo/linaro-toolchain


[ACTIVITY] Weekly report for week 27

2018-07-06 Thread Thomas Preudhomme
=== Work done during this week ===

* PR85434 / CVE-2018-12886 / TCWG-1379 (stack-protector failure on GCC
ARM): external review
  + finish testing and patch clean up (comments + changelog) and
submit for external review
* Continue work on TCWG-1428 (Support arithmetic on FileCheck regex variable):
  + finish implementation, fix compile issues and debug errors found
on simple testcase
  + run regression testsuite and fix another issue
  + start cleaning up patch
* Misc improvement to jenkins infrastructure
* Misc:
  + gave presentation on stack protector bug
  
https://docs.google.com/presentation/d/1ksqK-eTYjYhFXlTyVaPA2VIvCTsxwO5Xw-GzX-U-cws/edit?usp=sharing
  + Future of microprocessors presentation by Sophie Wilson


=== Plan for week 28 ===

* TCWG-1428 (Support arithmetic on FileCheck regex variable): submit
for external review
  + finish adding comments
  + add documentation and testcase
* Start looking into MCF branch prediction overload due to too many
consecutive branches
___
linaro-toolchain mailing list
linaro-toolchain@lists.linaro.org
https://lists.linaro.org/mailman/listinfo/linaro-toolchain


[ACTIVITY] Weekly report for week 26

2018-06-29 Thread Thomas Preudhomme
=== Work done during this 2.5day week ===

* 2.5 day off to take care of my sick son
* stack-protector failure on GCC ARM: more testing needed
  + submitted CVE ID request -> will be known as CVE-2018-12886 once published
  + start testing
* Continue work on DSGHACK-25 (Support arithmetic on FileCheck regex variable)
* Misc improvement to Linaro TCWG infrastructure


=== Plan for week 27 ===

* finish testing of stack protector bug fix and submit patch for review
* DSGHACK-25 (Support arithmetic on FileCheck regex variable): finish patch
___
linaro-toolchain mailing list
linaro-toolchain@lists.linaro.org
https://lists.linaro.org/mailman/listinfo/linaro-toolchain


[ACTIVITY] Weekly report for week 25

2018-06-22 Thread Thomas Preudhomme
=== Work done during this week ===

* stack-protector failure on GCC ARM: more testing needed
  + rework to introduce new standard pattern including guard's address
computation and make pattern opaque until after register allocation
  + fill in form for new CVE ID and ask feedback on CVE description
* Resume work on extending FileCheck to allow variable with arithmetic
expression
  + created TCWG-1428 to track this work
* Tried to fix LD_LIBRARY_PATH issue with depot build of GNU Arm
Embedded Toolchain
  -> need to talk to someone who know better depot module recipes
* Misc:
  + Arm meetings
  + Linaro syncs
  + 1.5 day spent on IT issue (personal investigation to help IT,
blocked on broken system after some IT attempts to solve it)
-> issue finally fully resolved


=== Plan for Linaro week 26 ===

* Do extended testing of stack protector bug fix
* TCWG-1428 (Support arithmetic on FileCheck regex variable): finish patch
___
linaro-toolchain mailing list
linaro-toolchain@lists.linaro.org
https://lists.linaro.org/mailman/listinfo/linaro-toolchain


[ACTIVITY] Weekly report for week 17

2018-04-27 Thread Thomas Preudhomme
=== Work done during this GCC week ===

* stack-protector failure on GCC ARM: need feedback from community
  + prevent CSE of stack protector's guard first by adding some extra
UNSPEC then instead by making all memory accesses involved volatile
  + write 2 monstro regex (251 & 377 characters respectively) to catch the
bug on ARM, Thumb-2 and Thumb-1
  + testing and will submit for review later today once I have all test
results
  + discuss raising a CVE
* Misc:
  + Arm meetings
  + Meeting with ST to discuss how to implement something akin to multilib
+ spec files for LLVM
  + Linary syncs
  + review of "Implement getConstraintRegister for ARM and AArch64" patch
by Mikhail Maltsev


=== Plan for weeks up to 25 ===

* Paternity leave
* Get stack-protector failure fix committed
* DSGHACK-25 (Support arithmetic on FileCheck regex variable): finish patch
* Start looking into LLVM SPEC optimizations Linaro tickets
___
linaro-toolchain mailing list
linaro-toolchain@lists.linaro.org
https://lists.linaro.org/mailman/listinfo/linaro-toolchain


[ACTIVITY] Weekly report for week 16

2018-04-20 Thread Thomas Preudhomme
=== Work done during this GCC week ===

* TCWG-1379 (stack-protector failure on GCC ARM): need feedback from
community
  + reproduce on trunk and find out why it happens on ARM and not AArch64
or x86
  + find potential issue for all targets as well, though less likely
  + find discrepencies between code and documentation and wondered if code
is not overly zealous in some case
* 2 days doing Arm handover & meetings


=== Plan for next week (week 12) ===

* Progress on stack-protector failure
* Support arithmetic on FileCheck regex variable: finish patch
___
linaro-toolchain mailing list
linaro-toolchain@lists.linaro.org
https://lists.linaro.org/mailman/listinfo/linaro-toolchain


[ACTIVITY] Weekly report for week 15

2018-04-16 Thread Thomas Preudhomme
Note1: working for Linaro every other week


=== Issues ===

* IT issues made me loose 1 day of work


=== Work done during this LLVM+GCC week ===

* LLVM PR34170 (crashes with inline asm with double output operand in GPR):
internal review
  + improved patch to also support case with several output operands
 -> had to choose to relax test a bit to not put expectation on
register allocator
* Support arithmetic on FileCheck regex variables: in progress
  + an attempt to be able to express that 2 registers are related by some
arithmetic expression (eg. vmov dY, rX, rX+1), seems doable

Upstream work on Arm GCC side:

cmse_nonsecure_caller return wrong answer: backported to GCC 7
* __builtin_arm_set_fpscr crashes with literal values input: committed to
trunk, backport oked
  + do more testing and prepare backport to GCC 6 & 7
* PR85344 (GCC fails constraint check on valid code): in progress
  + 2 prototype patches done but inconclusive result
  + pondering what should be the expect behaviour
  + investigating the extent of the problem -> both immediate and register
constraints can be surprising


=== Plan for next week (week 12) ===

* Investigate stack-protector failure with Linaro GCC 7 toolchains
* DSGHACK-25 (Support arithmetic on FileCheck regex variable): finish patch


=== Planned leave ===

* 28th April -> 29th May  Sabbatical (Trip to France, then China, then
France again)
___
linaro-toolchain mailing list
linaro-toolchain@lists.linaro.org
https://lists.linaro.org/mailman/listinfo/linaro-toolchain


[ACTIVITY] Weekly report for week 14

2018-04-06 Thread Thomas Preudhomme
Note1: working for Linaro every other week
Note2: had some important work to do on GCC this week so I'll do some LLVM
work next week as well to catch up


=== Work done during this LLVM+GCC week ===

* LLVM PR34170 (crashes with inline asm with double output operand in GPR):
upstream review
  + finish patch and submit for upstream review

=== Plan for next week (week 12) ===

* (maybe) follow-up patch for PR34170 to also support case with several
output operands
* investigate failure to build clang in shared lib mode with gcc
___
linaro-toolchain mailing list
linaro-toolchain@lists.linaro.org
https://lists.linaro.org/mailman/listinfo/linaro-toolchain


[ACTIVITY] Weekly report for week 10

2018-03-13 Thread Thomas Preudhomme
Note: working for Linaro every other week


=== Work done during this LLVM week ===

* finish slides for bswap/store merging passes presentation in hacker room
at Connect HK2018
* Continue working on fix for PR34170 / TCWG1137 (cannot select truncate in
ARMv7 backend):
  -> better understanding of generation of ISD node for inline asm, finally
seeing a way forward

=== Plan for next Linaro week (week 12) ===

* Linaro connect

If time permits:
* finish fix for PR34170 / TCWG1137 (cannot select truncate in ARMv7
backend)
* investigate failure to build clang in shared lib mode with gcc
___
linaro-toolchain mailing list
linaro-toolchain@lists.linaro.org
https://lists.linaro.org/mailman/listinfo/linaro-toolchain


[ACTIVITY] Weekly report for week 8

2018-02-23 Thread Thomas Preudhomme
Note: working for Linaro every other week

* start looking at fix for PR34170 / TCWG1137 (cannot select truncate in
ARMv7 backend):
  + inline asm with >=64bit floating-point output is not handled
  + wrote a tentative patch which crashes later in the code, need to
investigate
* Start slides for technical talk in TCWG room @ Linaro connect:
  + bswap done, started to refamiliarize myself with store merging pass and
its latest improvement
* Merge the two patches for TCWG-1308 (missing pseudo expansion + crash in
instruction selection of vector load/store with register writeback)

=== Plan for next Linaro week (week 10) ===

* finish fix for PR34170 / TCWG1137 (cannot select truncate in ARMv7
backend)
* finish slides for bswap/store merging passes presentation in hacker room
at Connect HK2018
___
linaro-toolchain mailing list
linaro-toolchain@lists.linaro.org
https://lists.linaro.org/mailman/listinfo/linaro-toolchain


[ACTIVITY] Weekly report for week 4

2018-01-26 Thread Thomas Preudhomme
Note: working for Linaro every other week

== Progress ==

* PR35157 / TCWG-1308 (crash in ARM backend for VST1d64TPseudoWB_fixed
instruction):
  + after 2 attempts got now a clean patch with no testsuite regression
  + need to add testcase and it will be good to go upstream
* Track down why xdg-open launches libreoffice for .dot files and opened
Launchpad LP#1744953.
* Misc meetings

== Plan ==

* submit fix for PR35157 (crash in ARM backend for VST1d64TPseudoWB_fixed
instruction)
* fix for PR34170 / TCWG1137 (cannot select truncate in ARMv7 backend)
* start preparing slide for bswap/store merging passes presentation in
hacker room at Connect HK2018
___
linaro-toolchain mailing list
linaro-toolchain@lists.linaro.org
https://lists.linaro.org/mailman/listinfo/linaro-toolchain


Re: arm-eabi-g++: -isystem option handle header as c linkage

2018-01-26 Thread Thomas Preudhomme
Hi Martin,

In short yes, it is special behavior but I'm not sure that it is intended.
Each target can opt in to *not* have -isystem implicitly wrap headers in
extern C construct. Arm target does not do anything special and thus
inherit that default behavior of implicit extern C, except when targeting
uclinux systems. It seems from [1] that it is this way for legacy reason.

[1] https://gcc.gnu.org/ml/gcc-patches/2012-06/msg01151.html

Best regards,

Thomas

On 24 January 2018 at 17:02, Kaul, Martin  wrote:

> Hi,
>
> given the following code:
>
> -- isystem_test.cpp -
> #include < isystem_test.h>
>
> bool dummy_function( void )
> {
> return false;
> }
> -
>
> -- isystem_test.h --
> template 
> class allocator
> {
> };
> -
>
> and g++ version: arm-eabi-g++.exe (Linaro GCC 7.2-2017.11)
>
> 1. compiling with "arm-eabi-g++ -I . -g -c isystem_test.cpp"
> --> OK
>
> 2. compiling with " arm-eabi-g++ -isystem . -g -c isystem_test.cpp "
> --> output error:
> In file included from isystem_test.cpp:3:0:
> ./isystem_test.h:3:1: error: template with C linkage
>  template 
>  ^~~~
>
> It seams that the option -isystem changes the include of isystems_test.h
> into a C include, i.e. the header content seems to be handled as C-Code
>
> Same error behavior with arm-eabi Linaro GCC 6.4-2017.11,  Linaro GCC
> 6.3-2017.05
>
> -
> Testing the same with the mingw msys g++ compiler outputs no error:
> g++.exe (Rev2, Built by MSYS2 project) 7.2.0
> Copyright (C) 2017 Free Software Foundation, Inc.
> This is free software; see the source for copying conditions.  There is NO
> warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
> ---
> Also no errors for:
> arm-linux-gnueabihf-g++.exe (Linaro GCC 6.3-2017.05)
> ---
>
> Is there a special behavior for arm-eabi g++ compiler?
>
> Best regards
>   Martin Kaul
>
> ___
> linaro-toolchain mailing list
> linaro-toolchain@lists.linaro.org
> https://lists.linaro.org/mailman/listinfo/linaro-toolchain
>
___
linaro-toolchain mailing list
linaro-toolchain@lists.linaro.org
https://lists.linaro.org/mailman/listinfo/linaro-toolchain


[ACTIVITY] Weekly report for week 1 & 2

2018-01-15 Thread Thomas Preudhomme
Hi everyone,

Note 1: Working on Linaro 50% time.
Note 2: had afternoons off for the first 2 weeks of January

== Progress ==

* Week 1 (2/1 -> 5/1) working for Arm
* Fix poor screen resolution issue
* Onboarding process:
  + read all docs, setup accounts (gmail, octopus, ...)
* PR35157 / TCWG-1308 (Crash in ARM backend for VST1d64TPseudoWB_fixed
instruction):
  + reproduce in llc under gdb, start investigating

== Plan ==

* PR35157 / TCWG-1308 (Crash in ARM backend for VST1d64TPseudoWB_fixed
instruction)
___
linaro-toolchain mailing list
linaro-toolchain@lists.linaro.org
https://lists.linaro.org/mailman/listinfo/linaro-toolchain