remote bitbang performance loss

2021-05-03 Thread Tim Newsome
Change https://sourceforge.net/p/openocd/code/ci/7dd323b26d93e49e409e02053e30f53ac8138cd5/ cut remote bitbang performance (when talking to the spike RISC-V simulator) approximately in half. This change "removes the file write stream, replaces it with socket write calls." Previously performance was

Re: [PATCH]: ba59797 [RFC] coding-style: additional style for C code

2021-05-03 Thread Antonio Borneo
On Mon, May 3, 2021, 19:45 James Murray wrote: > On Mon, 2021-05-03 at 13:07 +, openocd-devel- > requ...@lists.sourceforge.net wrote: > > commit ba597976279422fdab7928f763d7c78027340075 > > Author: Antonio Borneo > > Date: Sun May 2 23:03:33 2021 +0200 > > > > Prefer 'unsigned int' to

Re: [PATCH]: ba59797 [RFC] coding-style: additional style for C code

2021-05-03 Thread Richard Braun
On Mon, May 03, 2021 at 06:45:04PM +0100, James Murray wrote: > > Prefer 'unsigned int' to 'int'. > > Maybe this has been covered before, but is there a good rationale for > this? > > I have often found that I make more mistakes when using unsigned types > for general variables. In my own wor

Re: [PATCH]: ba59797 [RFC] coding-style: additional style for C code

2021-05-03 Thread James Murray
On Mon, 2021-05-03 at 13:07 +, openocd-devel- requ...@lists.sourceforge.net wrote: > commit ba597976279422fdab7928f763d7c78027340075 > Author: Antonio Borneo > Date:   Sun May 2 23:03:33 2021 +0200 > > Prefer 'unsigned int' to 'int'. > Maybe this has been covered before, but is ther