search for: bitcount

Displaying 20 results from an estimated 76 matches for "bitcount".

Did you mean: hitcount
2013 Jan 17
3
[LLVMdev] local test-suite failures on linux
...inux (Ubuntu 12.04) using LNT (lnt runtest nt ...): (all are execution failures) MultiSource/Applications/Burg MultiSource/Applications/ClamAV MultiSource/Applications/lemon MultiSource/Applications/obsequi MultiSource/Benchmarks/MiBench/automotive-bitcount MultiSource/Benchmarks/MiBench/telecomm-FFT MultiSource/Benchmarks/Olden/voronoi MultiSource/Benchmarks/Ptrdist/anagram SingleSource/Benchmarks/BenchmarkGame Everything is built off trunk. Has anyone else seen these failures and found a fix? Pe...
2013 Feb 19
4
[LLVMdev] ARM LNT test-suite Buildbot
...n.execution_time (2 of 1104) FAIL: MultiSource/Applications/lemon/lemon.execution_time (3 of 1104) FAIL: MultiSource/Applications/sqlite3/sqlite3.execution_time (4 of 1104) FAIL: MultiSource/Benchmarks/McCat/12-IOtest/iotest.execution_time (5 of 1104) FAIL: MultiSource/Benchmarks/MiBench/automotive-bitcount/automotive-bitcount.execution_time (6 of 1104) FAIL: MultiSource/Benchmarks/MiBench/telecomm-FFT/telecomm-fft.execution_time (7 of 1104) FAIL: MultiSource/Benchmarks/Ptrdist/anagram/anagram.execution_time (8 of 1104) FAIL: MultiSource/Benchmarks/TSVC/Reductions-flt/Reductions-flt.execution_time (9...
2013 Jan 20
2
[LLVMdev] local test-suite failures on linux
...g errors: --- Tested: 986 tests -- FAIL: MultiSource/Applications/Burg/burg.execution_time (494 of 986) FAIL: MultiSource/Applications/ClamAV/clamscan.execution_time (495 of 986) FAIL: MultiSource/Applications/lemon/lemon.execution_time (496 of 986) FAIL: MultiSource/Benchmarks/MiBench/automotive-bitcount/automotive-bitcount.exec ution_time (497 of 986) FAIL: MultiSource/Benchmarks/MiBench/telecomm-FFT/telecomm-fft.execution_time (498 of 986) FAIL: MultiSource/Benchmarks/Olden/voronoi/voronoi.execution_time (499 of 986) FAIL: MultiSource/Benchmarks/Ptrdist/anagram/anagram.execution_time (500 of 986...
2013 Feb 19
0
[LLVMdev] ARM LNT test-suite Buildbot
...y, and some of the results will be applicable in the 32-bit world too. > MultiSource/Benchmarks/McCat/12-IOtest/iotest.execution_time This is because of disagreement between ABIs over whether "char" is signed. ARM says no, x86 says yes. > MultiSource/Benchmarks/MiBench/automotive-bitcount/automotive-bitcount.execution_time This is also failing on x86, I think (http://lab.llvm.org:8011/builders/clang-x86_64-debian-fnt/builds/14868/steps/make.test-suite/logs/fail.LLC) > MultiSource/Benchmarks/MiBench/telecomm-FFT/telecomm-fft.execution_time > MultiSource/Benchmarks/Ptrdist/ana...
2013 Jan 20
0
[LLVMdev] local test-suite failures on linux
...he test-suite on linux (Ubuntu >12.04) using LNT (lnt runtest nt ...): > >(all are execution failures) >MultiSource/Applications/Burg >MultiSource/Applications/ClamAV >MultiSource/Applications/lemon >MultiSource/Applications/obsequi >MultiSource/Benchmarks/MiBench/automotive-bitcount >MultiSource/Benchmarks/MiBench/telecomm-FFT >MultiSource/Benchmarks/Olden/voronoi >MultiSource/Benchmarks/Ptrdist/anagram >SingleSource/Benchmarks/BenchmarkGame > >Everything is built off trunk. > >Has anyone else seen these failures and found a fix? Perhaps I'm missing...
2015 Mar 24
2
[virtio-dev] Re: [PATCH v3] Add virtio-input driver.
Hi, > > input layer checks it and ignores events not supported (according to the > > support bitmaps). > > Right but support bitmaps come from host too, no? Yes, but the driver will not set invalid bits (bitcount argument for the virtinput_cfg_bits() function is the number of valid bits of the specific bitmap). cheers, Gerd
2015 Mar 24
2
[virtio-dev] Re: [PATCH v3] Add virtio-input driver.
Hi, > > input layer checks it and ignores events not supported (according to the > > support bitmaps). > > Right but support bitmaps come from host too, no? Yes, but the driver will not set invalid bits (bitcount argument for the virtinput_cfg_bits() function is the number of valid bits of the specific bitmap). cheers, Gerd
2013 Jan 22
0
[LLVMdev] local test-suite failures on linux
...86 tests -- > FAIL: MultiSource/Applications/Burg/burg.execution_time (494 of 986) > FAIL: MultiSource/Applications/ClamAV/clamscan.execution_time (495 of 986) > FAIL: MultiSource/Applications/lemon/lemon.execution_time (496 of 986) > FAIL: > MultiSource/Benchmarks/MiBench/automotive-bitcount/automotive-bitcount.exec > ution_time (497 of 986) > FAIL: > MultiSource/Benchmarks/MiBench/telecomm-FFT/telecomm-fft.execution_time > (498 of 986) > FAIL: MultiSource/Benchmarks/Olden/voronoi/voronoi.execution_time (499 of > 986) > FAIL: MultiSource/Benchmarks/Ptrdist/anagram/...
2015 Mar 19
0
[PATCH 1/1] Add virtio-input driver.
...virtio_cread(vi->vdev, struct virtio_input_config, size, &size); > > + return size; > > +} > > + > > +static void virtinput_cfg_bits(struct virtio_input *vi, int select, int subsel, > > + unsigned long *bits, unsigned int bitcount) > > +{ > > + unsigned int bit; > > + size_t bytes; > > + u8 cfg = 0; > > + > > + bytes = virtinput_cfg_select(vi, select, subsel); > > + if (!bytes) > > + return; > > + if (bitcount > bytes*8...
2015 Mar 19
0
[PATCH 1/1] Add virtio-input driver.
...virtio_cread(vi->vdev, struct virtio_input_config, size, &size); > > + return size; > > +} > > + > > +static void virtinput_cfg_bits(struct virtio_input *vi, int select, int subsel, > > + unsigned long *bits, unsigned int bitcount) > > +{ > > + unsigned int bit; > > + size_t bytes; > > + u8 cfg = 0; > > + > > + bytes = virtinput_cfg_select(vi, select, subsel); > > + if (!bytes) > > + return; > > + if (bitcount > bytes*8...
2015 Mar 24
2
[virtio-dev] Re: [PATCH v3] Add virtio-input driver.
...sn't the end of the world. Also that are _very_ low rate events, and in case that really actually happens you likely have bigger problems anyway ;) > > +static void virtinput_cfg_bits(struct virtio_input *vi, int select, int subsel, > > + unsigned long *bits, unsigned int bitcount) > > +{ > > + unsigned int bit; > > + size_t bytes; > > + u8 *virtio_bits; > > + > > + bytes = virtinput_cfg_select(vi, select, subsel); > > + if (!bytes) > > + return; > > How about limiting bytes to sizeof struct virtio_input_config->u?...
2015 Mar 24
2
[virtio-dev] Re: [PATCH v3] Add virtio-input driver.
...sn't the end of the world. Also that are _very_ low rate events, and in case that really actually happens you likely have bigger problems anyway ;) > > +static void virtinput_cfg_bits(struct virtio_input *vi, int select, int subsel, > > + unsigned long *bits, unsigned int bitcount) > > +{ > > + unsigned int bit; > > + size_t bytes; > > + u8 *virtio_bits; > > + > > + bytes = virtinput_cfg_select(vi, select, subsel); > > + if (!bytes) > > + return; > > How about limiting bytes to sizeof struct virtio_input_config->u?...
2015 Mar 19
5
[PATCH 0/1] Add virtio-input driver.
Hi, This patch adds a virtio driver for input devices. Specification: https://www.kraxel.org/cgit/virtio-spec/log/?h=virtio-input https://www.kraxel.org/virtio/virtio-v1.0-csprd03-virtio-input.html#x1-2640007 Qemu patches; https://lists.gnu.org/archive/html/qemu-devel/2015-03/threads.html#03973 Gerd Hoffmann (1): Add virtio-input driver. drivers/virtio/Kconfig | 10 ++
2015 Mar 19
5
[PATCH 0/1] Add virtio-input driver.
Hi, This patch adds a virtio driver for input devices. Specification: https://www.kraxel.org/cgit/virtio-spec/log/?h=virtio-input https://www.kraxel.org/virtio/virtio-v1.0-csprd03-virtio-input.html#x1-2640007 Qemu patches; https://lists.gnu.org/archive/html/qemu-devel/2015-03/threads.html#03973 Gerd Hoffmann (1): Add virtio-input driver. drivers/virtio/Kconfig | 10 ++
2015 Mar 24
2
[PATCH v3] Add virtio-input driver.
...bsel, &subsel); > > + virtio_cread(vi->vdev, struct virtio_input_config, size, &size); > > + return size; > > +} > > + > > +static void virtinput_cfg_bits(struct virtio_input *vi, int select, int subsel, > > + unsigned long *bits, unsigned int bitcount) > > +{ > > + unsigned int bit; > > + size_t bytes; > > + u8 *virtio_bits; > > + > > + bytes = virtinput_cfg_select(vi, select, subsel); > > + if (!bytes) > > + return; > > How about limiting bytes to sizeof struct virtio_input_config->u? &...
2015 Mar 24
2
[PATCH v3] Add virtio-input driver.
...bsel, &subsel); > > + virtio_cread(vi->vdev, struct virtio_input_config, size, &size); > > + return size; > > +} > > + > > +static void virtinput_cfg_bits(struct virtio_input *vi, int select, int subsel, > > + unsigned long *bits, unsigned int bitcount) > > +{ > > + unsigned int bit; > > + size_t bytes; > > + u8 *virtio_bits; > > + > > + bytes = virtinput_cfg_select(vi, select, subsel); > > + if (!bytes) > > + return; > > How about limiting bytes to sizeof struct virtio_input_config->u? &...
2015 Mar 24
6
[PATCH v3] Add virtio-input driver.
...+ virtio_cwrite(vi->vdev, struct virtio_input_config, subsel, &subsel); + virtio_cread(vi->vdev, struct virtio_input_config, size, &size); + return size; +} + +static void virtinput_cfg_bits(struct virtio_input *vi, int select, int subsel, + unsigned long *bits, unsigned int bitcount) +{ + unsigned int bit; + size_t bytes; + u8 *virtio_bits; + + bytes = virtinput_cfg_select(vi, select, subsel); + if (!bytes) + return; + if (bitcount > bytes*8) + bitcount = bytes*8; + + /* + * Bitmap in virtio config space is a simple stream of bytes, + * with the first byte carrying bits...
2015 Mar 24
6
[PATCH v3] Add virtio-input driver.
...+ virtio_cwrite(vi->vdev, struct virtio_input_config, subsel, &subsel); + virtio_cread(vi->vdev, struct virtio_input_config, size, &size); + return size; +} + +static void virtinput_cfg_bits(struct virtio_input *vi, int select, int subsel, + unsigned long *bits, unsigned int bitcount) +{ + unsigned int bit; + size_t bytes; + u8 *virtio_bits; + + bytes = virtinput_cfg_select(vi, select, subsel); + if (!bytes) + return; + if (bitcount > bytes*8) + bitcount = bytes*8; + + /* + * Bitmap in virtio config space is a simple stream of bytes, + * with the first byte carrying bits...
2015 Mar 19
5
[PATCH 1/1] Add virtio-input driver.
...el, &subsel); > + virtio_cread(vi->vdev, struct virtio_input_config, size, &size); > + return size; > +} > + > +static void virtinput_cfg_bits(struct virtio_input *vi, int select, int subsel, > + unsigned long *bits, unsigned int bitcount) > +{ > + unsigned int bit; > + size_t bytes; > + u8 cfg = 0; > + > + bytes = virtinput_cfg_select(vi, select, subsel); > + if (!bytes) > + return; > + if (bitcount > bytes*8) > + bitcount = bytes*8; &g...
2015 Mar 19
5
[PATCH 1/1] Add virtio-input driver.
...el, &subsel); > + virtio_cread(vi->vdev, struct virtio_input_config, size, &size); > + return size; > +} > + > +static void virtinput_cfg_bits(struct virtio_input *vi, int select, int subsel, > + unsigned long *bits, unsigned int bitcount) > +{ > + unsigned int bit; > + size_t bytes; > + u8 cfg = 0; > + > + bytes = virtinput_cfg_select(vi, select, subsel); > + if (!bytes) > + return; > + if (bitcount > bytes*8) > + bitcount = bytes*8; &g...