Mercurial > hg > CbC > CbC_gcc
comparison gcc/wide-int-bitmask.h @ 145:1830386684a0
gcc-9.2.0
author | anatofuz |
---|---|
date | Thu, 13 Feb 2020 11:34:05 +0900 |
parents | 84e7813d76e9 |
children |
comparison
equal
deleted
inserted
replaced
131:84e7813d76e9 | 145:1830386684a0 |
---|---|
1 /* Operation with 128 bit bitmask. | 1 /* Operation with 128 bit bitmask. |
2 Copyright (C) 2013-2018 Free Software Foundation, Inc. | 2 Copyright (C) 2013-2020 Free Software Foundation, Inc. |
3 | 3 |
4 This file is part of GCC. | 4 This file is part of GCC. |
5 | 5 |
6 GCC is free software; you can redistribute it and/or modify it under | 6 GCC is free software; you can redistribute it and/or modify it under |
7 the terms of the GNU General Public License as published by the Free | 7 the terms of the GNU General Public License as published by the Free |
18 <http://www.gnu.org/licenses/>. */ | 18 <http://www.gnu.org/licenses/>. */ |
19 | 19 |
20 #ifndef GCC_WIDE_INT_BITMASK_H | 20 #ifndef GCC_WIDE_INT_BITMASK_H |
21 #define GCC_WIDE_INT_BITMASK_H | 21 #define GCC_WIDE_INT_BITMASK_H |
22 | 22 |
23 struct wide_int_bitmask | 23 class wide_int_bitmask |
24 { | 24 { |
25 public: | |
25 inline wide_int_bitmask (); | 26 inline wide_int_bitmask (); |
26 inline wide_int_bitmask (uint64_t l); | 27 inline wide_int_bitmask (uint64_t l); |
27 inline wide_int_bitmask (uint64_t l, uint64_t h); | 28 inline wide_int_bitmask (uint64_t l, uint64_t h); |
28 inline wide_int_bitmask &operator &= (wide_int_bitmask); | 29 inline wide_int_bitmask &operator &= (wide_int_bitmask); |
29 inline wide_int_bitmask &operator |= (wide_int_bitmask); | 30 inline wide_int_bitmask &operator |= (wide_int_bitmask); |